DL_MG
Functions/Subroutines
dl_mg_second_order_solvers Module Reference

Functions/Subroutines

subroutine, public dlmg_2nd_order_solver (eq_type, alpha, rho, pot, use_pot_in, remove_source_zero_mode, res, der_pot, ierror)
 main driver for the second order solver, parameters are documented in the wrappers: dl_mg::dl_mg_solver_poisson(), dl_mg::dl_mg_solver_pbe() More...
 

Function/Subroutine Documentation

◆ dlmg_2nd_order_solver()

subroutine, public dl_mg_second_order_solvers::dlmg_2nd_order_solver ( 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)  pot,
logical, intent(in), optional  use_pot_in,
integer, intent(in), optional  remove_source_zero_mode,
real(wp), dimension(isx:, isy:, isz:), intent(out), optional  res,
real(wp), dimension(isx:, isy:, isz:), intent(in), optional  der_pot,
integer, intent(out), optional  ierror 
)

main driver for the second order solver, parameters are documented in the wrappers: dl_mg::dl_mg_solver_poisson(), dl_mg::dl_mg_solver_pbe()

Parameters
[in]der_potvalue of potential at with the derivative of Boltzmann term is computed
[in]use_pot_inif absent or false the inital solution is set 0 inside domain
Todo:
Needs more thinking when different errors occurs on different threads