ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
#include <ERF_FillPatcher.H>
Public Member Functions | |
ERFFillPatcher (amrex::BoxArray const &fba, amrex::DistributionMapping const &fdm, amrex::Geometry const &fgeom, amrex::BoxArray const &cba, amrex::DistributionMapping const &cdm, amrex::Geometry const &cgeom, int nghost, int nghost_set, int ncomp, amrex::InterpBase *interp) | |
void | Define (amrex::BoxArray const &fba, amrex::DistributionMapping const &fdm, amrex::Geometry const &fgeom, amrex::BoxArray const &cba, amrex::DistributionMapping const &cdm, amrex::Geometry const &cgeom, int nghost, int nghost_set, int ncomp, amrex::InterpBase *interp) |
void | BuildMask (amrex::BoxArray const &fba, int nghost, int nghost_set) |
void | RegisterCoarseData (amrex::Vector< amrex::MultiFab const * > const &crse_data, amrex::Vector< amrex::Real > const &crse_time) |
void | InterpFace (amrex::MultiFab &fine, amrex::MultiFab const &crse, int mask_val) |
void | InterpCell (amrex::MultiFab &fine, amrex::MultiFab const &crse, amrex::Vector< amrex::BCRec > const &bcr, int mask_val) |
int | GetSetMaskVal () |
int | GetRelaxMaskVal () |
amrex::iMultiFab * | GetMask () |
template<typename BC > | |
void | FillSet (amrex::MultiFab &mf, amrex::Real time, BC &cbc, amrex::Vector< amrex::BCRec > const &bcs) |
template<typename BC > | |
void | FillRelax (amrex::MultiFab &mf, amrex::Real time, BC &cbc, amrex::Vector< amrex::BCRec > const &bcs) |
template<typename BC > | |
void | Fill (amrex::MultiFab &mf, amrex::Real time, BC &cbc, amrex::Vector< amrex::BCRec > const &bcs, int mask_val) |
Private Attributes | |
amrex::BoxArray | m_fba |
amrex::BoxArray | m_cba |
amrex::DistributionMapping | m_fdm |
amrex::DistributionMapping | m_cdm |
amrex::Geometry | m_fgeom |
amrex::Geometry | m_cgeom |
int | m_nghost |
int | m_nghost_subset |
int | m_ncomp |
amrex::InterpBase * | m_interp |
amrex::IntVect | m_ratio |
std::unique_ptr< amrex::MultiFab > | m_cf_crse_data_old |
std::unique_ptr< amrex::MultiFab > | m_cf_crse_data_new |
std::unique_ptr< amrex::iMultiFab > | m_cf_mask |
amrex::Vector< amrex::Real > | m_crse_times |
amrex::Real | m_dt_crse |
int | m_set_mask {2} |
int | m_relax_mask {1} |
ERFFillPatcher::ERFFillPatcher | ( | amrex::BoxArray const & | fba, |
amrex::DistributionMapping const & | fdm, | ||
amrex::Geometry const & | fgeom, | ||
amrex::BoxArray const & | cba, | ||
amrex::DistributionMapping const & | cdm, | ||
amrex::Geometry const & | cgeom, | ||
int | nghost, | ||
int | nghost_set, | ||
int | ncomp, | ||
amrex::InterpBase * | interp | ||
) |
void ERFFillPatcher::BuildMask | ( | amrex::BoxArray const & | fba, |
int | nghost, | ||
int | nghost_set | ||
) |
Referenced by Define().
void ERFFillPatcher::Define | ( | amrex::BoxArray const & | fba, |
amrex::DistributionMapping const & | fdm, | ||
amrex::Geometry const & | fgeom, | ||
amrex::BoxArray const & | cba, | ||
amrex::DistributionMapping const & | cdm, | ||
amrex::Geometry const & | cgeom, | ||
int | nghost, | ||
int | nghost_set, | ||
int | ncomp, | ||
amrex::InterpBase * | interp | ||
) |
Referenced by ERFFillPatcher().
void ERFFillPatcher::Fill | ( | amrex::MultiFab & | mf, |
amrex::Real | time, | ||
BC & | cbc, | ||
amrex::Vector< amrex::BCRec > const & | bcs, | ||
int | mask_val | ||
) |
Referenced by FillRelax(), and FillSet().
void ERFFillPatcher::FillRelax | ( | amrex::MultiFab & | mf, |
amrex::Real | time, | ||
BC & | cbc, | ||
amrex::Vector< amrex::BCRec > const & | bcs | ||
) |
Referenced by fine_compute_interior_ghost_rhs().
void ERFFillPatcher::FillSet | ( | amrex::MultiFab & | mf, |
amrex::Real | time, | ||
BC & | cbc, | ||
amrex::Vector< amrex::BCRec > const & | bcs | ||
) |
|
inline |
|
inline |
|
inline |
void ERFFillPatcher::InterpCell | ( | amrex::MultiFab & | fine, |
amrex::MultiFab const & | crse, | ||
amrex::Vector< amrex::BCRec > const & | bcr, | ||
int | mask_val | ||
) |
void ERFFillPatcher::InterpFace | ( | amrex::MultiFab & | fine, |
amrex::MultiFab const & | crse, | ||
int | mask_val | ||
) |
Referenced by Fill().
void ERFFillPatcher::RegisterCoarseData | ( | amrex::Vector< amrex::MultiFab const * > const & | crse_data, |
amrex::Vector< amrex::Real > const & | crse_time | ||
) |
|
private |
Referenced by Define().
|
private |
Referenced by Define().
|
private |
Referenced by Define(), Fill(), and RegisterCoarseData().
|
private |
Referenced by Define(), Fill(), and RegisterCoarseData().
|
private |
Referenced by BuildMask(), Define(), GetMask(), InterpCell(), and InterpFace().
|
private |
Referenced by Define(), InterpCell(), InterpFace(), and RegisterCoarseData().
|
private |
Referenced by ERFFillPatcher(), Fill(), and RegisterCoarseData().
|
private |
Referenced by Fill(), and RegisterCoarseData().
|
private |
Referenced by Define().
|
private |
Referenced by Define().
|
private |
Referenced by Define(), and InterpCell().
|
private |
Referenced by Define(), and InterpCell().
|
private |
Referenced by Define(), Fill(), InterpCell(), and RegisterCoarseData().
|
private |
Referenced by Define().
|
private |
Referenced by Define().
|
private |
Referenced by Define(), InterpCell(), and InterpFace().
|
private |
Referenced by Define(), FillRelax(), and GetRelaxMaskVal().
|
private |
Referenced by Define(), FillSet(), and GetSetMaskVal().