|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
#include "ERF.H"#include "ERF_Utils.H"#include "ERF_SolverUtils.H"#include <AMReX_MLMG.H>#include <AMReX_MLPoisson.H>
Functions | |
| void | solve_with_mlmg (int lev, Vector< MultiFab > &rhs, Vector< MultiFab > &phi, Vector< Array< MultiFab, AMREX_SPACEDIM >> &fluxes, const Geometry &geom, const Vector< IntVect > &ref_ratio, Array< std::string, 2 *AMREX_SPACEDIM > domain_bc_type, int mg_verbose, Real reltol, Real abstol) |
| void solve_with_mlmg | ( | int | lev, |
| Vector< MultiFab > & | rhs, | ||
| Vector< MultiFab > & | phi, | ||
| Vector< Array< MultiFab, AMREX_SPACEDIM >> & | fluxes, | ||
| const Geometry & | geom, | ||
| const Vector< IntVect > & | ref_ratio, | ||
| Array< std::string, 2 *AMREX_SPACEDIM > | domain_bc_type, | ||
| int | mg_verbose, | ||
| Real | reltol, | ||
| Real | abstol | ||
| ) |
Solve the Poisson equation using MLMG Note that the level may or may not be level 0.
Important: we solve on the whole level even if there are disjoint regions
