Class MGRadBndry

class MGRadBndry : public NGBndry

Public Functions

MGRadBndry(const amrex::BoxArray &_grids, const amrex::DistributionMapping &_dmap, const int _ngroups, const amrex::Geometry &_geom)
Parameters:
  • _grids

  • _dmap

  • _ngroups

  • _geom

void setBndryConds(const amrex::BCRec &phys_bc, const amrex::Geometry &geom, amrex::IntVect &ratio) override
Parameters:
  • phys_bc

  • geom

  • ratio

virtual void setBndryFluxConds(const amrex::BCRec &bc, const BC_Mode phys_bc_mode = Inhomogeneous_BC) override
Parameters:
  • bc

  • phys_bc_mode

inline virtual int mixedBndry(const amrex::Orientation &_face) const override
Parameters:

_face

void setHomogValues(const amrex::BCRec &bc, amrex::IntVect &ratio)
Parameters:
  • bc

  • ratio

Public Static Functions

static inline void setTime(amrex::Real Time)
Parameters:

Time

static inline void setCorrection()

Warning

hidden state change, use carefully!

static inline void unsetCorrection()

Protected Static Functions

static void init(const int _ngroups)
Parameters:

_ngroups

Protected Static Attributes

static int ngroups
static int first

only set up bcval once

static amrex::Vector<int> bcflag

0 = use constant bcval; 1 = use function

static amrex::Vector<amrex::Vector<amrex::Real>> bcval
static amrex::Real time

time value passed to bc function

static int correction

ignore bcval when this is set