|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|

Functions | |
| void | solve_with_mlmg (int lev, Vector< amrex::MultiFab > &rhs, Vector< MultiFab > &p, Vector< amrex::Array< MultiFab, AMREX_SPACEDIM >> &fluxes, const Geometry &geom, const amrex::Vector< amrex::IntVect > &ref_ratio, Array< std::string, 2 *AMREX_SPACEDIM > l_domain_bc_type, int mg_verbose, Real reltol, Real abstol) |
| template<typename T > | |
| void | solve_with_EB_mlmg (int lev, Vector< amrex::MultiFab > &rhs, Vector< MultiFab > &p, Vector< amrex::Array< MultiFab, AMREX_SPACEDIM >> &fluxes, EBFArrayBoxFactory const &ebfact, T const &ebfact_u, T const &ebfact_v, T const &ebfact_w, const Geometry &geom, const amrex::Vector< amrex::IntVect > &ref_ratio, Array< std::string, 2 *AMREX_SPACEDIM > l_domain_bc_type, int mg_verbose, Real reltol, Real abstol) |
| void solve_with_EB_mlmg | ( | int | lev, |
| Vector< amrex::MultiFab > & | rhs, | ||
| Vector< MultiFab > & | p, | ||
| Vector< amrex::Array< MultiFab, AMREX_SPACEDIM >> & | fluxes, | ||
| EBFArrayBoxFactory const & | ebfact, | ||
| T const & | ebfact_u, | ||
| T const & | ebfact_v, | ||
| T const & | ebfact_w, | ||
| const Geometry & | geom, | ||
| const amrex::Vector< amrex::IntVect > & | ref_ratio, | ||
| Array< std::string, 2 *AMREX_SPACEDIM > | l_domain_bc_type, | ||
| int | mg_verbose, | ||
| Real | reltol, | ||
| Real | abstol | ||
| ) |
Solve the Poisson equation with embedded boundary using the MLMG solver.
| T | EB data type. |
| lev | Level index. | |
| [in] | rhs | Right hand side of the Poisson equation. |
| [out] | p | Solution field. |
| [out] | fluxes | Gradient fluxes. |
| ebfact | EB factory. | |
| ebfact_u | EB data for x-faces. | |
| ebfact_v | EB data for y-faces. | |
| ebfact_w | EB data for z-faces. | |
| geom | Geometry used for inverse cell spacing. | |
| ref_ratio | Refinement ratios. | |
| l_domain_bc_type | Domain boundary condition names. | |
| mg_verbose | Verbosity level for the solver. | |
| reltol | Relative tolerance. | |
| abstol | Absolute tolerance. |
Referenced by ERF::project_momenta().

| void solve_with_mlmg | ( | int | lev, |
| Vector< amrex::MultiFab > & | rhs, | ||
| Vector< MultiFab > & | p, | ||
| Vector< amrex::Array< MultiFab, AMREX_SPACEDIM >> & | fluxes, | ||
| const Geometry & | geom, | ||
| const amrex::Vector< amrex::IntVect > & | ref_ratio, | ||
| Array< std::string, 2 *AMREX_SPACEDIM > | l_domain_bc_type, | ||
| int | mg_verbose, | ||
| Real | reltol, | ||
| Real | abstol | ||
| ) |
Solve the Poisson equation using the MLMG solver.
| lev | Level index. | |
| [in] | rhs | Right hand side of the Poisson equation. |
| [out] | p | Solution field. |
| [out] | fluxes | Gradient fluxes. |
| geom | Geometry used for inverse cell spacing. | |
| ref_ratio | Refinement ratios. | |
| l_domain_bc_type | Domain boundary condition names. | |
| mg_verbose | Verbosity level for the solver. | |
| reltol | Relative tolerance. | |
| abstol | Absolute tolerance. |
Referenced by ERF::project_momenta().
