File RadBndry.H

class RadBndry : public NGBndry
#include <RadBndry.H>

Public Functions

RadBndry(const amrex::BoxArray &_grids, const amrex::DistributionMapping &_dmap, const amrex::Geometry &_geom)
Parameters:
  • _grids

  • _dmap

  • _geom

RadBndry(const amrex::BoxArray &_grids, const amrex::DistributionMapping &_dmap, const amrex::Geometry &_geom, amrex::Real bv)
Parameters:
  • _grids

  • _dmap

  • _geom

  • bv

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()
static void init(amrex::Real bv)
Parameters:

bv

Protected Static Attributes

static int first

only set up bcval once

static amrex::Vector<int> bcflag

0 = use constant bcval; 1 = use function

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

constant bcval across each face

static amrex::Real time

time value passed to bc function

static int correction

ignore bcval when this is set

class RadBndryBld : public NGBndryBld
#include <RadBndry.H>

Public Functions

inline virtual NGBndry *operator()(const amrex::BoxArray &_grids, const amrex::DistributionMapping &_dmap, int, const amrex::Geometry &_geom) const override
Parameters:
  • _grids

  • _dmap

  • _ncomp

  • _geom