|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
Declares embedded-boundary conservative redistribution helpers. More...
#include <AMReX.H>#include <AMReX_MultiFab.H>#include <AMReX_Geometry.H>#include <AMReX_BCRec.H>#include <AMReX_MFIter.H>#include <ERF_EB.H>

Go to the source code of this file.
Functions | |
| template<typename EBFactType > | |
| void | redistribute_term (int ncomp, const amrex::Geometry &geom, amrex::MultiFab &result, amrex::MultiFab &result_tmp, amrex::MultiFab const &state, EBFactType const &ebfact, amrex::BCRec const *bc, double dt, int const igrid=-1) |
| Apply EB state redistribution to a temporary tendency field. More... | |
Declares embedded-boundary conservative redistribution helpers.
| void redistribute_term | ( | int | ncomp, |
| const amrex::Geometry & | geom, | ||
| amrex::MultiFab & | result, | ||
| amrex::MultiFab & | result_tmp, | ||
| amrex::MultiFab const & | state, | ||
| EBFactType const & | ebfact, | ||
| amrex::BCRec const * | bc, | ||
| double | dt, | ||
| int const | igrid = -1 |
||
| ) |
Apply EB state redistribution to a temporary tendency field.
| EBFactType | EB factory interface type, either AMReX native or ERF auxiliary. |
| ncomp | Number of components to redistribute. |
| geom | Geometry associated with the result field. |
| result | Output redistributed field. |
| result_tmp | Input temporary field before redistribution. |
| state | State field used by redistribution slopes. |
| ebfact | EB factory supplying flags and geometric moments. |
| bc | Boundary conditions for the state components. |
| dt | Time-step size used by the redistribution operator. |
| igrid | Optional ERF integer-variable index for staggered grids; -1 means cell-centered. |