DL_MG
Functions/Subroutines
dl_mg_newton_method Module Reference

Functions/Subroutines

subroutine newton_solver (mg, eq_type, alpha, rho, pot, ierr)
 

Function/Subroutine Documentation

◆ newton_solver()

subroutine dl_mg_newton_method::newton_solver ( type(mg_t), dimension(:), intent(inout), target  mg,
integer, intent(in)  eq_type,
real(wp), intent(in)  alpha,
real(wp), dimension(isx:, isy:, isz:), intent(in)  rho,
real(wp), dimension(isx:, isy:, isz:), intent(inout), target  pot,
integer, intent(out)  ierr 
)

switch for verbose reporting from Newton iterations

Todo:
what should happen here if converged has the value DL_MG_ERR_RES_RATIO? exit or keep going