Chombo + EB  3.2
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
EBPatchGodunov Class Referenceabstract

#include <EBPatchGodunov.H>

Inheritance diagram for EBPatchGodunov:
Inheritance graph
[legend]

Classes

struct  access_t
 
struct  pointerOffset_t
 
struct  slop_logic_t
 
struct  updateStencil_t
 

Public Member Functions

 EBPatchGodunov ()
 
void incrementWithSource (EBCellFAB &a_primState, const EBCellFAB &a_source, const Real &a_scale, const Box &a_box)
 non-virtual stuff More...
 
virtual void extrapToCoveredFaces (BaseIVFAB< Real > &a_extendedPrim, const EBCellFAB &a_primMinu, const EBCellFAB &a_primPlus, const EBCellFAB &a_primState, const Vector< VolIndex > &a_coveredFaces, const int &a_faceDir, const Side::LoHiSide &a_sd, const Box &a_box)
 
virtual void pointExtrapToCovered2D (Vector< Real > &a_extrapVal, const EBCellFAB &a_primMinu, const EBCellFAB &a_primPlus, const EBCellFAB &a_primState, const int &a_faceDir, const VolIndex &a_vof, const RealVect &a_normal, const Side::LoHiSide &a_sd, const int &a_numPrim)
 
virtual void pointExtrapToCovered3D (Vector< Real > &a_extrapVal, const EBCellFAB &a_primMinu, const EBCellFAB &a_primPlus, const EBCellFAB &a_primState, const int &a_faceDir, const VolIndex &a_vof, const RealVect &a_normal, const Side::LoHiSide &a_sd, const int &a_numPrim)
 
void computeCoveredFaces (Vector< VolIndex > &a_coveredFace, IntVectSet &a_coveredIVS, IntVectSet &a_irregIVS, const int &a_idir, const Side::LoHiSide &a_sd, const Box &a_region)
 
const EBPhysIBCgetEBPhysIBC () const
 
Real pointLimiter (const Real &a_deltaW1, const Real &a_deltaW2)
 
void setEBPhysIBC (const EBPhysIBCFactory &a_bc)
 
void setSlopeParameters (bool a_fourthOrderSlopes, bool a_flattening, bool a_useLimiting)
 Set parameters for slope computations. More...
 
void applyLimiter (EBCellFAB &a_slopePrim, const EBCellFAB &a_slopePrimLeft, const EBCellFAB &a_slopePrimRigh, const int &a_dir, const Box &a_box)
 
virtual void doSecondOrderSlopes (EBCellFAB &a_delta2W, EBCellFAB &a_deltaWL, EBCellFAB &a_deltaWR, EBCellFAB &a_deltaWC, const EBCellFAB &a_primState, const int &a_dir, const Box &a_box, bool a_doAggregated=false)
 
virtual void aggIrregSecondOrderSlopes (EBCellFAB &a_delta2W, EBCellFAB &a_deltaWL, EBCellFAB &a_deltaWR, EBCellFAB &a_deltaWC, const EBCellFAB &a_primState, const int &a_dir, const Box &a_box)
 
virtual void irregSecondOrderSlopes (EBCellFAB &a_delta2W, EBCellFAB &a_deltaWL, EBCellFAB &a_deltaWR, EBCellFAB &a_deltaWC, const EBCellFAB &a_primState, const int &a_dir, const Box &a_box)
 
void doFourthOrderSlopes (EBCellFAB &a_delta4W, EBCellFAB &a_deltaWC, const EBCellFAB &a_delta2W, const EBCellFAB &a_deltaWL, const EBCellFAB &a_deltaWR, const EBCellFAB &a_primState, const int &a_dir, const Box &a_box)
 
void pointGetSlopes (Real &a_dql, Real &a_dqr, Real &a_dqc, bool &a_hasFacesLeft, bool &a_hasFacesRigh, const VolIndex &a_vof, const EBCellFAB &a_primState, const int &a_dir, const int &a_ivar, const bool &a_verbose)
 
virtual void coveredExtrapSlopes (Real &a_dqc, const VolIndex &a_vof, const EBCellFAB &a_primState, const int &a_dir, const int &a_ivar)
 
void computeFluxes (EBFluxFAB &a_flux, BaseIVFAB< Real > a_coveredFluxLo[SpaceDim], BaseIVFAB< Real > a_coveredFluxHi[SpaceDim], Vector< VolIndex > a_coveredFaceLo[SpaceDim], Vector< VolIndex > a_coveredFaceHi[SpaceDim], EBCellFAB &a_primState, EBCellFAB a_slopesPrim[SpaceDim], EBCellFAB a_slopesSeco[SpaceDim], const EBCellFAB &a_flattening, const EBCellFAB &a_consState, const EBCellFAB &a_source, const Box &a_box, const DataIndex &a_dit, bool a_verbose)
 
virtual void extrapolatePrim2D (EBCellFAB a_primMinu[SpaceDim], EBCellFAB a_primPlus[SpaceDim], EBCellFAB &a_primState, EBCellFAB a_slopesPrim[SpaceDim], EBCellFAB a_slopesSeco[SpaceDim], const EBCellFAB &a_flattening, const EBCellFAB &a_consState, const EBCellFAB &a_source, const Box &a_box, const DataIndex &a_dit, bool a_verbose)
 
void extrapolatePrim3D (EBCellFAB a_primMinu[SpaceDim], EBCellFAB a_primPlus[SpaceDim], EBCellFAB &a_primState, EBCellFAB a_slopesPrim[SpaceDim], EBCellFAB a_slopesSeco[SpaceDim], const EBCellFAB &a_flattening, const EBCellFAB &a_consState, const EBCellFAB &a_source, const Box &a_box, const DataIndex &a_dit, bool a_verbose)
 
virtual void regularUpdate (EBCellFAB &a_consState, EBFluxFAB &a_flux, BaseIVFAB< Real > &a_ebIrregFlux, BaseIVFAB< Real > &a_nonConservativeDivergence, const EBCellFAB &a_flattening, const EBCellFAB &a_source, const Box &a_box, const IntVectSet &a_ivs, const DataIndex &a_dit, bool a_verbose)
 
virtual void regularDivergences (EBCellFAB &a_nonconsdiv, EBCellFAB &a_consState, EBFluxFAB &a_flux, BaseIVFAB< Real > &a_ebIrregFlux, BaseIVFAB< Real > &a_nonConservativeDivergence, const EBCellFAB &a_flattening, const EBCellFAB &a_source, const Box &a_box, const IntVectSet &a_ivs, const DataIndex &a_dit, bool a_verbose)
 
virtual void hybridDivergence (EBCellFAB &a_hybridDiv, EBCellFAB &a_consState, BaseIVFAB< Real > &a_massDiff, const BaseIFFAB< Real > a_centroidFlux[SpaceDim], const BaseIVFAB< Real > &a_ebIrregFlux, const BaseIVFAB< Real > &a_nonConservativeDivergence, const Box &a_box, const IntVectSet &a_ivs)
 
virtual void irregularUpdate (EBCellFAB &a_consState, Real &a_maxWaveSpeed, BaseIVFAB< Real > &a_massDiff, const BaseIFFAB< Real > a_centroidFlux[SpaceDim], const BaseIVFAB< Real > &a_ebIrregFlux, const BaseIVFAB< Real > &a_nonConservativeDivergence, const Box &a_box, const IntVectSet &a_ivs)
 
virtual void doNormalDerivativeExtr2D (EBCellFAB a_primMinu[SpaceDim], EBCellFAB a_primPlus[SpaceDim], EBFaceFAB a_fluxOne[SpaceDim], BaseIVFAB< Real > a_coveredFluxNormMinu[SpaceDim], BaseIVFAB< Real > a_coveredFluxNormPlus[SpaceDim], Vector< VolIndex > a_coveredFaceNormMinu[SpaceDim], Vector< VolIndex > a_coveredFaceNormPlus[SpaceDim], EBCellFAB a_slopesPrim[SpaceDim], EBCellFAB a_slopesSeco[SpaceDim], const EBCellFAB &a_flattening, const EBCellFAB &a_primState, const EBCellFAB &a_source, const DataIndex &a_dit, const Box &a_box)
 
void doNormalDerivativeExtr3D (EBCellFAB a_primMinu[SpaceDim], EBCellFAB a_primPlus[SpaceDim], EBFaceFAB a_fluxOne[SpaceDim], BaseIVFAB< Real > a_coveredFluxNormMinu[SpaceDim], BaseIVFAB< Real > a_coveredFluxNormPlus[SpaceDim], Vector< VolIndex > a_coveredFaceNormMinu[SpaceDim], Vector< VolIndex > a_coveredFaceNormPlus[SpaceDim], EBCellFAB a_slopesPrim[SpaceDim], EBCellFAB a_slopesSeco[SpaceDim], const EBCellFAB &a_flattening, const EBCellFAB &a_primState, const EBCellFAB &a_source, const DataIndex &a_dit, const Box &a_box)
 
virtual void finalExtrap2D (EBCellFAB a_primMinu[SpaceDim], EBCellFAB a_primPlus[SpaceDim], const BaseIVFAB< Real > a_coveredFluxNormMinu[SpaceDim], const BaseIVFAB< Real > a_coveredFluxNormPlus[SpaceDim], const Vector< VolIndex > a_coveredFaceNormMinu[SpaceDim], const Vector< VolIndex > a_coveredFaceNormPlus[SpaceDim], const EBFaceFAB a_fluxOne[SpaceDim], const EBCellFAB &a_primState, const EBCellFAB a_slopesPrim[SpaceDim], const EBCellFAB a_slopesSeco[SpaceDim], const Box &a_box)
 
void finalExtrap3D (EBCellFAB a_primMinu[SpaceDim], EBCellFAB a_primPlus[SpaceDim], const BaseIVFAB< Real > a_coveredFlux3DMinu[SpaceDim][SpaceDim], const BaseIVFAB< Real > a_coveredFlux3DPlus[SpaceDim][SpaceDim], const EBFaceFAB a_fluxTwoVec[SpaceDim][SpaceDim], const EBCellFAB &a_primState, const EBCellFAB a_slopesPrim[SpaceDim], const EBCellFAB a_slopesSeco[SpaceDim], const Box &a_box)
 
void do111coupling (EBFaceFAB a_fluxTwoVec[SpaceDim][SpaceDim], BaseIVFAB< Real > a_coveredFlux3DMinu[SpaceDim][SpaceDim], BaseIVFAB< Real > a_coveredFlux3DPlus[SpaceDim][SpaceDim], const EBCellFAB a_primMinu[SpaceDim], const EBCellFAB a_primPlus[SpaceDim], const BaseIVFAB< Real > a_coveredFluxNormMinu[SpaceDim], const BaseIVFAB< Real > a_coveredFluxNormPlus[SpaceDim], const Vector< VolIndex > a_coveredFaceNormMinu[SpaceDim], const Vector< VolIndex > a_coveredFaceNormPlus[SpaceDim], const EBFaceFAB a_fluxOne[SpaceDim], const EBCellFAB &a_primState, const EBCellFAB a_slopesPrim[SpaceDim], const EBCellFAB a_slopesSeco[SpaceDim], const DataIndex &a_dit, const Box &a_box)
 
virtual void interpolateFluxToCentroids (BaseIFFAB< Real > a_centroidFlux[SpaceDim], const BaseIFFAB< Real > *const a_fluxInterpolant[SpaceDim], const IntVectSet &a_irregIVS)
 
virtual void finalUpdate (EBCellFAB &a_consState, BaseIVFAB< Real > &a_massDiff, const BaseIVFAB< Real > &a_nonConsDivF, const BaseIVFAB< Real > &a_conservDivF, const IntVectSet &a_ivs)
 
virtual void getFaceDivergence (EBFluxFAB &a_openDivU, const EBCellFAB &a_primState, const EBCellFAB a_slopePrim[SpaceDim], const Box &a_box, const IntVectSet &a_ivsIrreg)
 
void artificialViscosity (bool a_useArtificialVisc)
 
void applyArtificialViscosity (EBFluxFAB &a_openFlux, BaseIVFAB< Real > a_coveredFluxMinu[SpaceDim], BaseIVFAB< Real > a_coveredFluxPlus[SpaceDim], const Vector< VolIndex > a_coveredFaceMinu[SpaceDim], const Vector< VolIndex > a_coveredFacePlus[SpaceDim], const EBCellFAB &a_consState, const EBFluxFAB &a_divVel, const Box &a_box, const IntVectSet &a_ivsIrreg)
 
Real bilinearFunc (const Real a_WVal[2][2], const Real &a_xd1, const Real &a_xd2)
 
Real maxFunction (const Real a_WVal[2][2], const Real &a_xd1, const Real &a_xd2)
 
void define (const ProblemDomain &a_domain, const RealVect &a_dx, bool a_useAgg=false)
 
void define (const ProblemDomain &a_domain, const Real &a_dx)
 deprecated interface More...
 
virtual void setTimeAndDt (const Real &a_time, const Real &a_dt)
 
virtual void setValidBox (const Box &a_validBox, const EBISBox &a_ebisBox, const IntVectSet &a_coarseFineIVS, const Real &a_time, const Real &a_dt)
 
void computeFlattening (EBCellFAB &a_flattening, const EBCellFAB &a_primState, const Box &a_box)
 
virtual void slope (EBCellFAB &a_slopePrim, EBCellFAB &a_slopeNLim, const EBCellFAB &a_primState, const EBCellFAB &a_flattening, const int &a_dir, const Box &a_box, bool a_doAggregated=false)
 
virtual void nonconservativeDivergence (EBCellFAB &a_divF, const EBFluxFAB &a_flux, const BaseIVFAB< Real > a_coveredFluxMinu[SpaceDim], const BaseIVFAB< Real > a_coveredFluxPlus[SpaceDim], const Vector< VolIndex > a_coveredFaceMinu[SpaceDim], const Vector< VolIndex > a_coveredFacePlus[SpaceDim], const Box &a_box)
 needs to be virtual because of RZ More...
 
virtual void updatePrim (EBCellFAB &a_primMinu, EBCellFAB &a_primPlus, const EBFaceFAB &a_flux, const BaseIVFAB< Real > &a_coveredFluxMinu, const BaseIVFAB< Real > &a_coveredFluxPlus, const Vector< VolIndex > &a_coveredFaceMinu, const Vector< VolIndex > &a_coveredFacePlus, const int &a_dir, const Box &a_box, const Real &a_scale)
 virtual in case you want to do something faster than go through constoprim More...
 
virtual void updateCons (EBCellFAB &a_consState, const EBFaceFAB &a_flux, const BaseIVFAB< Real > &a_coveredFluxMinu, const BaseIVFAB< Real > &a_coveredFluxPlus, const Vector< VolIndex > &a_coveredFaceMinu, const Vector< VolIndex > &a_coveredFacePlus, const int &a_dir, const Box &a_box, const Real &a_scale)
 virtual because RZ changes this function More...
 
virtual Interval velocityInterval () const =0
 
virtual void consUndividedDivergence (BaseIVFAB< Real > &a_divF, const BaseIFFAB< Real > a_centroidFlux[SpaceDim], const BaseIVFAB< Real > &a_ebIrregFlux, const IntVectSet &a_ivs)
 needs to be virtual because of RZ More...
 
virtual void computeEBIrregFlux (BaseIVFAB< Real > &a_ebIrregFlux, const EBCellFAB &a_primState, const EBCellFAB a_slopePrim[SpaceDim], const IntVectSet &a_irregIVS, const EBCellFAB &a_source)=0
 
virtual int pressureIndex () const =0
 
virtual int bulkModulusIndex () const =0
 
virtual ~EBPatchGodunov ()
 
virtual void setCoveredConsVals (EBCellFAB &a_consState)=0
 
virtual Real getMaxWaveSpeed (const EBCellFAB &a_consState, const Box &a_box)=0
 
virtual void floorConserved (EBCellFAB &a_consState, const Box &a_box)=0
 
virtual void floorPrimitives (EBCellFAB &a_primState, const Box &a_box)=0
 
virtual void floorConserved (BaseIVFAB< Real > &a_consState, const IntVectSet &a_ivs)=0
 
virtual void floorPrimitives (BaseIVFAB< Real > &a_primState, const IntVectSet &a_ivs)=0
 
virtual void getCoveredValuesPrim (Vector< Real > &a_covValues)=0
 
virtual void getCoveredValuesCons (Vector< Real > &a_covValues)=0
 
virtual int densityIndex () const =0
 
virtual int numPrimitives () const =0
 
virtual int numFluxes () const =0
 
virtual int numSlopes () const =0
 
virtual int numConserved () const =0
 
virtual Vector< string > stateNames ()=0
 
virtual Vector< string > primNames ()=0
 
virtual void normalPred (EBCellFAB &a_primLo, EBCellFAB &a_primHi, const EBCellFAB &a_primState, const EBCellFAB &a_slopePrim, const Real &a_scale, const int &a_dir, const Box &a_box)=0
 
virtual void riemann (EBFaceFAB &a_flux, const EBCellFAB &a_primLeft, const EBCellFAB &a_primRight, const int &a_dir, const Box &a_box)=0
 
virtual void riemann (BaseIVFAB< Real > &a_coveredFlux, const BaseIVFAB< Real > &a_extendedState, const EBCellFAB &a_primState, const Vector< VolIndex > &a_region, const int &a_dir, const Side::LoHiSide &a_sd, const Box &a_box)=0
 
virtual void setSource (EBCellFAB &a_source, const EBCellFAB &a_consState, const Box &a_box)
 rz func. More...
 
virtual void assembleFluxReg (EBFaceFAB &a_fluxRegFlux, const EBFaceFAB &a_godunovFlux, const int &a_idir, const Box &a_cellBox)
 rz func. More...
 
virtual void assembleFluxIrr (BaseIFFAB< Real > &a_fluxRegFlux, const BaseIFFAB< Real > &a_godunovFlux, const int &a_idir, const Box &a_cellBox, const IntVectSet &a_set)
 rz func. More...
 
virtual void consToPrim (EBCellFAB &a_primState, const EBCellFAB &a_conState, const Box &a_box, int a_logflag, bool a_verbose=false)=0
 
virtual void expressions (HDF5HeaderData &a_holder)
 
virtual void consToPrim (BaseIVFAB< Real > &a_primState, const BaseIVFAB< Real > &a_conState, const IntVectSet &a_ivs)=0
 
virtual void primToCons (EBCellFAB &a_primState, const EBCellFAB &a_conState, const Box &a_box)=0
 
virtual void primToCons (BaseIVFAB< Real > &a_primState, const BaseIVFAB< Real > &a_conState, const IntVectSet &a_ivs)=0
 
virtual bool usesFlattening () const =0
 
virtual bool usesArtificialViscosity () const =0
 
virtual bool usesFourthOrderSlopes () const =0
 
virtual Real artificialViscosityCoefficient () const =0
 
virtual bool isDefined () const
 
EBCellFABgetPrimState ()
 
BaseIVFAB< Real > * getCoveredFluxPlus ()
 
BaseIVFAB< Real > * getCoveredFluxMinu ()
 
Vector< VolIndex > * getCoveredFaceMinu ()
 
Vector< VolIndex > * getCoveredFacePlus ()
 
void fillUpdateStencil (EBPatchGodunov::updateStencil_t &a_sten, const VolIndex &a_vof)
 
void cacheEBCF (Vector< Vector< Real > > &a_cache, const EBCellFAB &a_input)
 
void uncacheEBCF (EBCellFAB &a_output, const Vector< Vector< Real > > &a_cache)
 
void getArgBox (Box a_argBox[SpaceDim])
 
void getEntireBox (Box a_entireBox[SpaceDim])
 

Static Public Member Functions

static void setVerbose (bool a_verbose)
 
static void setCurLevel (int a_curLevel)
 
static void setCurComp (int a_curComp)
 
static void setDoingVel (int a_yesorno)
 
static void setDoingAdvVel (int a_yesorno)
 
static int getDoingAdvVel ()
 
static int getDoingVel ()
 
static int getCurLevel ()
 
static int getCurComp ()
 
static bool getVerbose ()
 
static Real getMaxWaveSpeed ()
 
static void setMaxWaveSpeed (Real a_maxWaveSpeedIV)
 
static IntVect getMaxWaveSpeedIV ()
 
static void setMaxWaveSpeedIV (const IntVect &a_maxWaveSpeedIV)
 
static void useConservativeSource (bool a_conservativeSource)
 

Static Public Attributes

static IntVect s_debugIV
 
static int s_whichLev
 

Protected Member Functions

void setSlopeStuff ()
 

Protected Attributes

Box m_modBoxOpen [SpaceDim]
 
ProblemDomain m_domain
 
RealVect m_dx
 
Real m_dxScale
 
bool m_useAgg
 
BaseIFFAB< FaceStencilm_interpStencils [SpaceDim]
 
Box m_validBox
 
EBISBox m_ebisBox
 
Real m_time
 
Real m_dt
 
bool m_isDefined
 
bool m_isBCSet
 
bool m_isBoxSet
 
bool m_isSlopeSet
 
bool m_isArtViscSet
 
bool m_useFourthOrderSlopes
 
bool m_useFlattening
 
bool m_useLimiting
 
bool m_useArtificialVisc
 
Vector< VolIndexm_irregVoFs
 
Vector< updateStencil_tm_updateStencil
 
EBPhysIBCm_bc
 
Box m_validBoxG4
 
IntVectSet m_coveredSetsPlusG4 [SpaceDim]
 
IntVectSet m_coveredSetsMinuG4 [SpaceDim]
 
Vector< VolIndexm_coveredFacePlusG4 [SpaceDim]
 
Vector< VolIndexm_coveredFaceMinuG4 [SpaceDim]
 
BaseIVFAB< Realm_extendStatePlusG4 [SpaceDim]
 
BaseIVFAB< Realm_extendStateMinuG4 [SpaceDim]
 
BaseIVFAB< Realm_coveredFluxPlusG4 [SpaceDim]
 
BaseIVFAB< Realm_coveredFluxMinuG4 [SpaceDim]
 
BaseIVFAB< Realm_extendStatePlus3D [SpaceDim][SpaceDim]
 
BaseIVFAB< Realm_extendStateMinu3D [SpaceDim][SpaceDim]
 
BaseIVFAB< Realm_coveredFluxPlus3D [SpaceDim][SpaceDim]
 
BaseIVFAB< Realm_coveredFluxMinu3D [SpaceDim][SpaceDim]
 
EBCellFAB m_primPlus [SpaceDim]
 
EBCellFAB m_primMinu [SpaceDim]
 
EBCellFAB m_primState
 
EBCellFAB m_primMinuTemp
 
EBCellFAB m_primPlusTemp
 
EBFluxFAB m_primGdnv
 
EBFaceFAB m_fluxOne [SpaceDim]
 
EBFaceFAB m_fluxTwo [SpaceDim][SpaceDim]
 
BaseIVFAB< Realm_coveredFluxNormMinu [SpaceDim]
 
BaseIVFAB< Realm_coveredFluxNormPlus [SpaceDim]
 
BaseIVFAB< Realm_extendStateNormMinu [SpaceDim]
 
BaseIVFAB< Realm_extendStateNormPlus [SpaceDim]
 
RefCountedPtr< AggStencil< EBCellFAB, EBCellFAB > > m_slopStenLo [SpaceDim]
 
RefCountedPtr< AggStencil< EBCellFAB, EBCellFAB > > m_slopStenHi [SpaceDim]
 
Box m_entireBox [SpaceDim]
 
Vector< slop_logic_tm_slopVec [SpaceDim]
 

Static Protected Attributes

static bool s_conservativeSource
 
static int s_curLevel
 
static int s_curComp
 
static int s_doingVel
 
static int s_doingAdvVel
 
static bool s_verbose
 
static Real s_maxWaveSpeed
 
static IntVect s_maxWaveSpeedIV
 

Constructor & Destructor Documentation

◆ EBPatchGodunov()

EBPatchGodunov::EBPatchGodunov ( )

◆ ~EBPatchGodunov()

virtual EBPatchGodunov::~EBPatchGodunov ( )
virtual

Referenced by setTimeAndDt().

Member Function Documentation

◆ incrementWithSource()

void EBPatchGodunov::incrementWithSource ( EBCellFAB a_primState,
const EBCellFAB a_source,
const Real a_scale,
const Box a_box 
)

non-virtual stuff

◆ extrapToCoveredFaces()

virtual void EBPatchGodunov::extrapToCoveredFaces ( BaseIVFAB< Real > &  a_extendedPrim,
const EBCellFAB a_primMinu,
const EBCellFAB a_primPlus,
const EBCellFAB a_primState,
const Vector< VolIndex > &  a_coveredFaces,
const int &  a_faceDir,
const Side::LoHiSide a_sd,
const Box a_box 
)
virtual

◆ pointExtrapToCovered2D()

virtual void EBPatchGodunov::pointExtrapToCovered2D ( Vector< Real > &  a_extrapVal,
const EBCellFAB a_primMinu,
const EBCellFAB a_primPlus,
const EBCellFAB a_primState,
const int &  a_faceDir,
const VolIndex a_vof,
const RealVect a_normal,
const Side::LoHiSide a_sd,
const int &  a_numPrim 
)
virtual

◆ pointExtrapToCovered3D()

virtual void EBPatchGodunov::pointExtrapToCovered3D ( Vector< Real > &  a_extrapVal,
const EBCellFAB a_primMinu,
const EBCellFAB a_primPlus,
const EBCellFAB a_primState,
const int &  a_faceDir,
const VolIndex a_vof,
const RealVect a_normal,
const Side::LoHiSide a_sd,
const int &  a_numPrim 
)
virtual

◆ computeCoveredFaces()

void EBPatchGodunov::computeCoveredFaces ( Vector< VolIndex > &  a_coveredFace,
IntVectSet a_coveredIVS,
IntVectSet a_irregIVS,
const int &  a_idir,
const Side::LoHiSide a_sd,
const Box a_region 
)

◆ getEBPhysIBC()

const EBPhysIBC* EBPatchGodunov::getEBPhysIBC ( ) const

◆ pointLimiter()

Real EBPatchGodunov::pointLimiter ( const Real a_deltaW1,
const Real a_deltaW2 
)

◆ setEBPhysIBC()

void EBPatchGodunov::setEBPhysIBC ( const EBPhysIBCFactory a_bc)

◆ setSlopeParameters()

void EBPatchGodunov::setSlopeParameters ( bool  a_fourthOrderSlopes,
bool  a_flattening,
bool  a_useLimiting 
)

Set parameters for slope computations.

◆ applyLimiter()

void EBPatchGodunov::applyLimiter ( EBCellFAB a_slopePrim,
const EBCellFAB a_slopePrimLeft,
const EBCellFAB a_slopePrimRigh,
const int &  a_dir,
const Box a_box 
)

Given left and right one-sided undivided differences /a_dql,a_dqr/, apply van Leer limiter $vL$ defined in section to a_dq. Called by the default implementation of PatchPolytropic::slope.

◆ doSecondOrderSlopes()

virtual void EBPatchGodunov::doSecondOrderSlopes ( EBCellFAB a_delta2W,
EBCellFAB a_deltaWL,
EBCellFAB a_deltaWR,
EBCellFAB a_deltaWC,
const EBCellFAB a_primState,
const int &  a_dir,
const Box a_box,
bool  a_doAggregated = false 
)
virtual

◆ aggIrregSecondOrderSlopes()

virtual void EBPatchGodunov::aggIrregSecondOrderSlopes ( EBCellFAB a_delta2W,
EBCellFAB a_deltaWL,
EBCellFAB a_deltaWR,
EBCellFAB a_deltaWC,
const EBCellFAB a_primState,
const int &  a_dir,
const Box a_box 
)
virtual

◆ irregSecondOrderSlopes()

virtual void EBPatchGodunov::irregSecondOrderSlopes ( EBCellFAB a_delta2W,
EBCellFAB a_deltaWL,
EBCellFAB a_deltaWR,
EBCellFAB a_deltaWC,
const EBCellFAB a_primState,
const int &  a_dir,
const Box a_box 
)
virtual

◆ doFourthOrderSlopes()

void EBPatchGodunov::doFourthOrderSlopes ( EBCellFAB a_delta4W,
EBCellFAB a_deltaWC,
const EBCellFAB a_delta2W,
const EBCellFAB a_deltaWL,
const EBCellFAB a_deltaWR,
const EBCellFAB a_primState,
const int &  a_dir,
const Box a_box 
)

◆ pointGetSlopes()

void EBPatchGodunov::pointGetSlopes ( Real a_dql,
Real a_dqr,
Real a_dqc,
bool &  a_hasFacesLeft,
bool &  a_hasFacesRigh,
const VolIndex a_vof,
const EBCellFAB a_primState,
const int &  a_dir,
const int &  a_ivar,
const bool &  a_verbose 
)

◆ coveredExtrapSlopes()

virtual void EBPatchGodunov::coveredExtrapSlopes ( Real a_dqc,
const VolIndex a_vof,
const EBCellFAB a_primState,
const int &  a_dir,
const int &  a_ivar 
)
virtual

◆ computeFluxes()

void EBPatchGodunov::computeFluxes ( EBFluxFAB a_flux,
BaseIVFAB< Real a_coveredFluxLo[SpaceDim],
BaseIVFAB< Real a_coveredFluxHi[SpaceDim],
Vector< VolIndex a_coveredFaceLo[SpaceDim],
Vector< VolIndex a_coveredFaceHi[SpaceDim],
EBCellFAB a_primState,
EBCellFAB  a_slopesPrim[SpaceDim],
EBCellFAB  a_slopesSeco[SpaceDim],
const EBCellFAB a_flattening,
const EBCellFAB a_consState,
const EBCellFAB a_source,
const Box a_box,
const DataIndex a_dit,
bool  a_verbose 
)

◆ extrapolatePrim2D()

virtual void EBPatchGodunov::extrapolatePrim2D ( EBCellFAB  a_primMinu[SpaceDim],
EBCellFAB  a_primPlus[SpaceDim],
EBCellFAB a_primState,
EBCellFAB  a_slopesPrim[SpaceDim],
EBCellFAB  a_slopesSeco[SpaceDim],
const EBCellFAB a_flattening,
const EBCellFAB a_consState,
const EBCellFAB a_source,
const Box a_box,
const DataIndex a_dit,
bool  a_verbose 
)
virtual

◆ extrapolatePrim3D()

void EBPatchGodunov::extrapolatePrim3D ( EBCellFAB  a_primMinu[SpaceDim],
EBCellFAB  a_primPlus[SpaceDim],
EBCellFAB a_primState,
EBCellFAB  a_slopesPrim[SpaceDim],
EBCellFAB  a_slopesSeco[SpaceDim],
const EBCellFAB a_flattening,
const EBCellFAB a_consState,
const EBCellFAB a_source,
const Box a_box,
const DataIndex a_dit,
bool  a_verbose 
)

◆ regularUpdate()

virtual void EBPatchGodunov::regularUpdate ( EBCellFAB a_consState,
EBFluxFAB a_flux,
BaseIVFAB< Real > &  a_ebIrregFlux,
BaseIVFAB< Real > &  a_nonConservativeDivergence,
const EBCellFAB a_flattening,
const EBCellFAB a_source,
const Box a_box,
const IntVectSet a_ivs,
const DataIndex a_dit,
bool  a_verbose 
)
virtual

Update the state using flux difference that ignores EB. Store fluxes used in this update. Store non-conservative divergence. Flux coming out of htis this should exist at cell face centers.

◆ regularDivergences()

virtual void EBPatchGodunov::regularDivergences ( EBCellFAB a_nonconsdiv,
EBCellFAB a_consState,
EBFluxFAB a_flux,
BaseIVFAB< Real > &  a_ebIrregFlux,
BaseIVFAB< Real > &  a_nonConservativeDivergence,
const EBCellFAB a_flattening,
const EBCellFAB a_source,
const Box a_box,
const IntVectSet a_ivs,
const DataIndex a_dit,
bool  a_verbose 
)
virtual

◆ hybridDivergence()

virtual void EBPatchGodunov::hybridDivergence ( EBCellFAB a_hybridDiv,
EBCellFAB a_consState,
BaseIVFAB< Real > &  a_massDiff,
const BaseIFFAB< Real a_centroidFlux[SpaceDim],
const BaseIVFAB< Real > &  a_ebIrregFlux,
const BaseIVFAB< Real > &  a_nonConservativeDivergence,
const Box a_box,
const IntVectSet a_ivs 
)
virtual

◆ irregularUpdate()

virtual void EBPatchGodunov::irregularUpdate ( EBCellFAB a_consState,
Real a_maxWaveSpeed,
BaseIVFAB< Real > &  a_massDiff,
const BaseIFFAB< Real a_centroidFlux[SpaceDim],
const BaseIVFAB< Real > &  a_ebIrregFlux,
const BaseIVFAB< Real > &  a_nonConservativeDivergence,
const Box a_box,
const IntVectSet a_ivs 
)
virtual

Update the state at irregular VoFs and compute mass difference and the maximum wave speed over the entire box. Flux going into this should exist at VoF centroids.

◆ doNormalDerivativeExtr2D()

virtual void EBPatchGodunov::doNormalDerivativeExtr2D ( EBCellFAB  a_primMinu[SpaceDim],
EBCellFAB  a_primPlus[SpaceDim],
EBFaceFAB  a_fluxOne[SpaceDim],
BaseIVFAB< Real a_coveredFluxNormMinu[SpaceDim],
BaseIVFAB< Real a_coveredFluxNormPlus[SpaceDim],
Vector< VolIndex a_coveredFaceNormMinu[SpaceDim],
Vector< VolIndex a_coveredFaceNormPlus[SpaceDim],
EBCellFAB  a_slopesPrim[SpaceDim],
EBCellFAB  a_slopesSeco[SpaceDim],
const EBCellFAB a_flattening,
const EBCellFAB a_primState,
const EBCellFAB a_source,
const DataIndex a_dit,
const Box a_box 
)
virtual

◆ doNormalDerivativeExtr3D()

void EBPatchGodunov::doNormalDerivativeExtr3D ( EBCellFAB  a_primMinu[SpaceDim],
EBCellFAB  a_primPlus[SpaceDim],
EBFaceFAB  a_fluxOne[SpaceDim],
BaseIVFAB< Real a_coveredFluxNormMinu[SpaceDim],
BaseIVFAB< Real a_coveredFluxNormPlus[SpaceDim],
Vector< VolIndex a_coveredFaceNormMinu[SpaceDim],
Vector< VolIndex a_coveredFaceNormPlus[SpaceDim],
EBCellFAB  a_slopesPrim[SpaceDim],
EBCellFAB  a_slopesSeco[SpaceDim],
const EBCellFAB a_flattening,
const EBCellFAB a_primState,
const EBCellFAB a_source,
const DataIndex a_dit,
const Box a_box 
)

◆ finalExtrap2D()

virtual void EBPatchGodunov::finalExtrap2D ( EBCellFAB  a_primMinu[SpaceDim],
EBCellFAB  a_primPlus[SpaceDim],
const BaseIVFAB< Real a_coveredFluxNormMinu[SpaceDim],
const BaseIVFAB< Real a_coveredFluxNormPlus[SpaceDim],
const Vector< VolIndex a_coveredFaceNormMinu[SpaceDim],
const Vector< VolIndex a_coveredFaceNormPlus[SpaceDim],
const EBFaceFAB  a_fluxOne[SpaceDim],
const EBCellFAB a_primState,
const EBCellFAB  a_slopesPrim[SpaceDim],
const EBCellFAB  a_slopesSeco[SpaceDim],
const Box a_box 
)
virtual

◆ finalExtrap3D()

void EBPatchGodunov::finalExtrap3D ( EBCellFAB  a_primMinu[SpaceDim],
EBCellFAB  a_primPlus[SpaceDim],
const BaseIVFAB< Real a_coveredFlux3DMinu[SpaceDim][SpaceDim],
const BaseIVFAB< Real a_coveredFlux3DPlus[SpaceDim][SpaceDim],
const EBFaceFAB  a_fluxTwoVec[SpaceDim][SpaceDim],
const EBCellFAB a_primState,
const EBCellFAB  a_slopesPrim[SpaceDim],
const EBCellFAB  a_slopesSeco[SpaceDim],
const Box a_box 
)

◆ do111coupling()

void EBPatchGodunov::do111coupling ( EBFaceFAB  a_fluxTwoVec[SpaceDim][SpaceDim],
BaseIVFAB< Real a_coveredFlux3DMinu[SpaceDim][SpaceDim],
BaseIVFAB< Real a_coveredFlux3DPlus[SpaceDim][SpaceDim],
const EBCellFAB  a_primMinu[SpaceDim],
const EBCellFAB  a_primPlus[SpaceDim],
const BaseIVFAB< Real a_coveredFluxNormMinu[SpaceDim],
const BaseIVFAB< Real a_coveredFluxNormPlus[SpaceDim],
const Vector< VolIndex a_coveredFaceNormMinu[SpaceDim],
const Vector< VolIndex a_coveredFaceNormPlus[SpaceDim],
const EBFaceFAB  a_fluxOne[SpaceDim],
const EBCellFAB a_primState,
const EBCellFAB  a_slopesPrim[SpaceDim],
const EBCellFAB  a_slopesSeco[SpaceDim],
const DataIndex a_dit,
const Box a_box 
)

◆ interpolateFluxToCentroids()

virtual void EBPatchGodunov::interpolateFluxToCentroids ( BaseIFFAB< Real a_centroidFlux[SpaceDim],
const BaseIFFAB< Real > *const  a_fluxInterpolant[SpaceDim],
const IntVectSet a_irregIVS 
)
virtual

◆ finalUpdate()

virtual void EBPatchGodunov::finalUpdate ( EBCellFAB a_consState,
BaseIVFAB< Real > &  a_massDiff,
const BaseIVFAB< Real > &  a_nonConsDivF,
const BaseIVFAB< Real > &  a_conservDivF,
const IntVectSet a_ivs 
)
virtual

◆ getFaceDivergence()

virtual void EBPatchGodunov::getFaceDivergence ( EBFluxFAB a_openDivU,
const EBCellFAB a_primState,
const EBCellFAB  a_slopePrim[SpaceDim],
const Box a_box,
const IntVectSet a_ivsIrreg 
)
virtual

◆ artificialViscosity()

void EBPatchGodunov::artificialViscosity ( bool  a_useArtificialVisc)

◆ applyArtificialViscosity()

void EBPatchGodunov::applyArtificialViscosity ( EBFluxFAB a_openFlux,
BaseIVFAB< Real a_coveredFluxMinu[SpaceDim],
BaseIVFAB< Real a_coveredFluxPlus[SpaceDim],
const Vector< VolIndex a_coveredFaceMinu[SpaceDim],
const Vector< VolIndex a_coveredFacePlus[SpaceDim],
const EBCellFAB a_consState,
const EBFluxFAB a_divVel,
const Box a_box,
const IntVectSet a_ivsIrreg 
)

◆ bilinearFunc()

Real EBPatchGodunov::bilinearFunc ( const Real  a_WVal[2][2],
const Real a_xd1,
const Real a_xd2 
)

◆ maxFunction()

Real EBPatchGodunov::maxFunction ( const Real  a_WVal[2][2],
const Real a_xd1,
const Real a_xd2 
)

◆ define() [1/2]

void EBPatchGodunov::define ( const ProblemDomain a_domain,
const RealVect a_dx,
bool  a_useAgg = false 
)

Referenced by define().

◆ define() [2/2]

void EBPatchGodunov::define ( const ProblemDomain a_domain,
const Real a_dx 
)
inline

deprecated interface

References define(), m_useAgg, and RealVect::Unit.

◆ setTimeAndDt()

virtual void EBPatchGodunov::setTimeAndDt ( const Real a_time,
const Real a_dt 
)
inlinevirtual

◆ setValidBox()

virtual void EBPatchGodunov::setValidBox ( const Box a_validBox,
const EBISBox a_ebisBox,
const IntVectSet a_coarseFineIVS,
const Real a_time,
const Real a_dt 
)
virtual

needs coarse-fine IVS to know where to drop order for interpolation virtual in case you need to add anything to definition

Reimplemented in EBPatchAdvect.

Referenced by setTimeAndDt().

◆ computeFlattening()

void EBPatchGodunov::computeFlattening ( EBCellFAB a_flattening,
const EBCellFAB a_primState,
const Box a_box 
)

Referenced by setTimeAndDt().

◆ slope()

virtual void EBPatchGodunov::slope ( EBCellFAB a_slopePrim,
EBCellFAB a_slopeNLim,
const EBCellFAB a_primState,
const EBCellFAB a_flattening,
const int &  a_dir,
const Box a_box,
bool  a_doAggregated = false 
)
virtual

Compute the limited slope /a_dq/ of the primitive variables /a_q/ for the components in the interval /a_interval/, Calls user-supplied EBPatchGodunov::applyLimiter.

Reimplemented in EBPatchAdvect.

Referenced by setTimeAndDt().

◆ nonconservativeDivergence()

virtual void EBPatchGodunov::nonconservativeDivergence ( EBCellFAB a_divF,
const EBFluxFAB a_flux,
const BaseIVFAB< Real a_coveredFluxMinu[SpaceDim],
const BaseIVFAB< Real a_coveredFluxPlus[SpaceDim],
const Vector< VolIndex a_coveredFaceMinu[SpaceDim],
const Vector< VolIndex a_coveredFacePlus[SpaceDim],
const Box a_box 
)
virtual

needs to be virtual because of RZ

Referenced by setTimeAndDt().

◆ updatePrim()

virtual void EBPatchGodunov::updatePrim ( EBCellFAB a_primMinu,
EBCellFAB a_primPlus,
const EBFaceFAB a_flux,
const BaseIVFAB< Real > &  a_coveredFluxMinu,
const BaseIVFAB< Real > &  a_coveredFluxPlus,
const Vector< VolIndex > &  a_coveredFaceMinu,
const Vector< VolIndex > &  a_coveredFacePlus,
const int &  a_dir,
const Box a_box,
const Real a_scale 
)
virtual

virtual in case you want to do something faster than go through constoprim

Reimplemented in EBPatchAdvect.

Referenced by setTimeAndDt().

◆ updateCons()

virtual void EBPatchGodunov::updateCons ( EBCellFAB a_consState,
const EBFaceFAB a_flux,
const BaseIVFAB< Real > &  a_coveredFluxMinu,
const BaseIVFAB< Real > &  a_coveredFluxPlus,
const Vector< VolIndex > &  a_coveredFaceMinu,
const Vector< VolIndex > &  a_coveredFacePlus,
const int &  a_dir,
const Box a_box,
const Real a_scale 
)
virtual

virtual because RZ changes this function

Referenced by setTimeAndDt().

◆ velocityInterval()

virtual Interval EBPatchGodunov::velocityInterval ( ) const
pure virtual

Returns the interval of component indices in the primitive variable EBCellFAB for the velocities. Only used for artificial visc and flattening

Implemented in EBPatchAdvect.

Referenced by setTimeAndDt().

◆ consUndividedDivergence()

virtual void EBPatchGodunov::consUndividedDivergence ( BaseIVFAB< Real > &  a_divF,
const BaseIFFAB< Real a_centroidFlux[SpaceDim],
const BaseIVFAB< Real > &  a_ebIrregFlux,
const IntVectSet a_ivs 
)
virtual

needs to be virtual because of RZ

Referenced by setTimeAndDt().

◆ computeEBIrregFlux()

virtual void EBPatchGodunov::computeEBIrregFlux ( BaseIVFAB< Real > &  a_ebIrregFlux,
const EBCellFAB a_primState,
const EBCellFAB  a_slopePrim[SpaceDim],
const IntVectSet a_irregIVS,
const EBCellFAB a_source 
)
pure virtual

Implemented in EBPatchAdvect.

Referenced by setTimeAndDt().

◆ pressureIndex()

virtual int EBPatchGodunov::pressureIndex ( ) const
pure virtual

Returns the component index for the pressure. Called only if flattening is used.

Implemented in EBPatchAdvect.

Referenced by setTimeAndDt().

◆ bulkModulusIndex()

virtual int EBPatchGodunov::bulkModulusIndex ( ) const
pure virtual

Returns the component index for the bulk modulus, used as a normalization to measure shock strength in flattening. Called only if flattening is used.

Implemented in EBPatchAdvect.

Referenced by setTimeAndDt().

◆ setCoveredConsVals()

virtual void EBPatchGodunov::setCoveredConsVals ( EBCellFAB a_consState)
pure virtual

Implemented in EBPatchAdvect.

Referenced by setTimeAndDt().

◆ getMaxWaveSpeed() [1/2]

virtual Real EBPatchGodunov::getMaxWaveSpeed ( const EBCellFAB a_consState,
const Box a_box 
)
pure virtual

Implemented in EBPatchAdvect.

◆ floorConserved() [1/2]

virtual void EBPatchGodunov::floorConserved ( EBCellFAB a_consState,
const Box a_box 
)
pure virtual

Implemented in EBPatchAdvect.

Referenced by setTimeAndDt().

◆ floorPrimitives() [1/2]

virtual void EBPatchGodunov::floorPrimitives ( EBCellFAB a_primState,
const Box a_box 
)
pure virtual

Implemented in EBPatchAdvect.

Referenced by setTimeAndDt().

◆ floorConserved() [2/2]

virtual void EBPatchGodunov::floorConserved ( BaseIVFAB< Real > &  a_consState,
const IntVectSet a_ivs 
)
pure virtual

Implemented in EBPatchAdvect.

◆ floorPrimitives() [2/2]

virtual void EBPatchGodunov::floorPrimitives ( BaseIVFAB< Real > &  a_primState,
const IntVectSet a_ivs 
)
pure virtual

Implemented in EBPatchAdvect.

◆ getCoveredValuesPrim()

virtual void EBPatchGodunov::getCoveredValuesPrim ( Vector< Real > &  a_covValues)
pure virtual

Implemented in EBPatchAdvect.

Referenced by setTimeAndDt().

◆ getCoveredValuesCons()

virtual void EBPatchGodunov::getCoveredValuesCons ( Vector< Real > &  a_covValues)
pure virtual

Implemented in EBPatchAdvect.

Referenced by setTimeAndDt().

◆ densityIndex()

virtual int EBPatchGodunov::densityIndex ( ) const
pure virtual

Implemented in EBPatchAdvect.

Referenced by setTimeAndDt().

◆ numPrimitives()

virtual int EBPatchGodunov::numPrimitives ( ) const
pure virtual

Return number of components for primitive variables.

Implemented in EBPatchAdvect.

Referenced by setTimeAndDt().

◆ numFluxes()

virtual int EBPatchGodunov::numFluxes ( ) const
pure virtual

Returns number of components for flux variables.

Implemented in EBPatchAdvect.

Referenced by setTimeAndDt().

◆ numSlopes()

virtual int EBPatchGodunov::numSlopes ( ) const
pure virtual

Returns number of components for flux variables.

Implemented in EBPatchAdvect.

Referenced by setTimeAndDt().

◆ numConserved()

virtual int EBPatchGodunov::numConserved ( ) const
pure virtual

Returns number of components for conserved variables.

Implemented in EBPatchAdvect.

Referenced by setTimeAndDt().

◆ stateNames()

virtual Vector<string> EBPatchGodunov::stateNames ( )
pure virtual

Return the names of the variables. A default implementation is provided that puts in generic names.

Implemented in EBPatchAdvect.

Referenced by setTimeAndDt().

◆ primNames()

virtual Vector<string> EBPatchGodunov::primNames ( )
pure virtual

Return the names of the variables. A default implementation is provided that puts in generic names.

Implemented in EBPatchAdvect.

Referenced by setTimeAndDt().

◆ normalPred()

virtual void EBPatchGodunov::normalPred ( EBCellFAB a_primLo,
EBCellFAB a_primHi,
const EBCellFAB a_primState,
const EBCellFAB a_slopePrim,
const Real a_scale,
const int &  a_dir,
const Box a_box 
)
pure virtual

Implemented in EBPatchAdvect.

Referenced by setTimeAndDt().

◆ riemann() [1/2]

virtual void EBPatchGodunov::riemann ( EBFaceFAB a_flux,
const EBCellFAB a_primLeft,
const EBCellFAB a_primRight,
const int &  a_dir,
const Box a_box 
)
pure virtual

Given input left and right states, compute a suitably-upwinded flux (e.g. by solving a Riemann problem), as in

Implemented in EBPatchAdvect.

Referenced by setTimeAndDt().

◆ riemann() [2/2]

virtual void EBPatchGodunov::riemann ( BaseIVFAB< Real > &  a_coveredFlux,
const BaseIVFAB< Real > &  a_extendedState,
const EBCellFAB a_primState,
const Vector< VolIndex > &  a_region,
const int &  a_dir,
const Side::LoHiSide a_sd,
const Box a_box 
)
pure virtual

Given input left and right states, compute a suitably-upwinded flux (e.g. by solving a Riemann problem).

Implemented in EBPatchAdvect.

◆ setSource()

virtual void EBPatchGodunov::setSource ( EBCellFAB a_source,
const EBCellFAB a_consState,
const Box a_box 
)
inlinevirtual

rz func.

◆ assembleFluxReg()

virtual void EBPatchGodunov::assembleFluxReg ( EBFaceFAB a_fluxRegFlux,
const EBFaceFAB a_godunovFlux,
const int &  a_idir,
const Box a_cellBox 
)
inlinevirtual

rz func.

◆ assembleFluxIrr()

virtual void EBPatchGodunov::assembleFluxIrr ( BaseIFFAB< Real > &  a_fluxRegFlux,
const BaseIFFAB< Real > &  a_godunovFlux,
const int &  a_idir,
const Box a_cellBox,
const IntVectSet a_set 
)
inlinevirtual

rz func.

References consToPrim().

◆ consToPrim() [1/2]

virtual void EBPatchGodunov::consToPrim ( EBCellFAB a_primState,
const EBCellFAB a_conState,
const Box a_box,
int  a_logflag,
bool  a_verbose = false 
)
pure virtual

Implemented in EBPatchAdvect.

Referenced by assembleFluxIrr(), and expressions().

◆ expressions()

virtual void EBPatchGodunov::expressions ( HDF5HeaderData a_holder)
inlinevirtual

◆ consToPrim() [2/2]

virtual void EBPatchGodunov::consToPrim ( BaseIVFAB< Real > &  a_primState,
const BaseIVFAB< Real > &  a_conState,
const IntVectSet a_ivs 
)
pure virtual

Implemented in EBPatchAdvect.

◆ primToCons() [1/2]

virtual void EBPatchGodunov::primToCons ( EBCellFAB a_primState,
const EBCellFAB a_conState,
const Box a_box 
)
pure virtual

Implemented in EBPatchAdvect.

Referenced by expressions().

◆ primToCons() [2/2]

virtual void EBPatchGodunov::primToCons ( BaseIVFAB< Real > &  a_primState,
const BaseIVFAB< Real > &  a_conState,
const IntVectSet a_ivs 
)
pure virtual

Implemented in EBPatchAdvect.

◆ usesFlattening()

virtual bool EBPatchGodunov::usesFlattening ( ) const
pure virtual

Return true if the application is using flattening.

Implemented in EBPatchAdvect.

Referenced by expressions().

◆ usesArtificialViscosity()

virtual bool EBPatchGodunov::usesArtificialViscosity ( ) const
pure virtual

Return true if the application is using artificial viscosity.

Implemented in EBPatchAdvect.

Referenced by expressions().

◆ usesFourthOrderSlopes()

virtual bool EBPatchGodunov::usesFourthOrderSlopes ( ) const
pure virtual

Return true if you are using fourth-order slopes. Return false if you are using second-order slopes.

Implemented in EBPatchAdvect.

Referenced by expressions().

◆ artificialViscosityCoefficient()

virtual Real EBPatchGodunov::artificialViscosityCoefficient ( ) const
pure virtual

Returns value of artificial viscosity. Called only if artificial viscosity is being used.

Implemented in EBPatchAdvect.

Referenced by expressions().

◆ isDefined()

virtual bool EBPatchGodunov::isDefined ( ) const
virtual

Referenced by expressions().

◆ setVerbose()

static void EBPatchGodunov::setVerbose ( bool  a_verbose)
static

Referenced by expressions().

◆ setCurLevel()

static void EBPatchGodunov::setCurLevel ( int  a_curLevel)
static

Referenced by expressions().

◆ setCurComp()

static void EBPatchGodunov::setCurComp ( int  a_curComp)
static

Referenced by expressions().

◆ setDoingVel()

static void EBPatchGodunov::setDoingVel ( int  a_yesorno)
static

Referenced by expressions().

◆ setDoingAdvVel()

static void EBPatchGodunov::setDoingAdvVel ( int  a_yesorno)
static

Referenced by expressions().

◆ getDoingAdvVel()

static int EBPatchGodunov::getDoingAdvVel ( )
static

Referenced by expressions().

◆ getDoingVel()

static int EBPatchGodunov::getDoingVel ( )
static

Referenced by expressions().

◆ getCurLevel()

static int EBPatchGodunov::getCurLevel ( )
static

Referenced by expressions().

◆ getCurComp()

static int EBPatchGodunov::getCurComp ( )
static

Referenced by expressions().

◆ getVerbose()

static bool EBPatchGodunov::getVerbose ( )
static

Referenced by expressions().

◆ getMaxWaveSpeed() [2/2]

static Real EBPatchGodunov::getMaxWaveSpeed ( )
static

Referenced by expressions(), and setTimeAndDt().

◆ setMaxWaveSpeed()

static void EBPatchGodunov::setMaxWaveSpeed ( Real  a_maxWaveSpeedIV)
static

Referenced by expressions().

◆ getMaxWaveSpeedIV()

static IntVect EBPatchGodunov::getMaxWaveSpeedIV ( )
static

Referenced by expressions().

◆ setMaxWaveSpeedIV()

static void EBPatchGodunov::setMaxWaveSpeedIV ( const IntVect a_maxWaveSpeedIV)
static

Referenced by expressions().

◆ getPrimState()

EBCellFAB& EBPatchGodunov::getPrimState ( )
inline

References m_primState.

◆ getCoveredFluxPlus()

BaseIVFAB<Real>* EBPatchGodunov::getCoveredFluxPlus ( )
inline

References m_coveredFluxPlusG4.

◆ getCoveredFluxMinu()

BaseIVFAB<Real>* EBPatchGodunov::getCoveredFluxMinu ( )
inline

References m_coveredFluxMinuG4.

◆ getCoveredFaceMinu()

Vector<VolIndex>* EBPatchGodunov::getCoveredFaceMinu ( )
inline

References m_coveredFaceMinuG4.

◆ getCoveredFacePlus()

Vector<VolIndex>* EBPatchGodunov::getCoveredFacePlus ( )
inline

References m_coveredFacePlusG4.

◆ useConservativeSource()

static void EBPatchGodunov::useConservativeSource ( bool  a_conservativeSource)
inlinestatic

set to true if the source you will provide is in conservative variables. Default is false

References s_conservativeSource.

◆ fillUpdateStencil()

void EBPatchGodunov::fillUpdateStencil ( EBPatchGodunov::updateStencil_t a_sten,
const VolIndex a_vof 
)

◆ cacheEBCF()

void EBPatchGodunov::cacheEBCF ( Vector< Vector< Real > > &  a_cache,
const EBCellFAB a_input 
)

◆ uncacheEBCF()

void EBPatchGodunov::uncacheEBCF ( EBCellFAB a_output,
const Vector< Vector< Real > > &  a_cache 
)

◆ getArgBox()

void EBPatchGodunov::getArgBox ( Box  a_argBox[SpaceDim])

◆ getEntireBox()

void EBPatchGodunov::getEntireBox ( Box  a_entireBox[SpaceDim])
inline

References m_entireBox, and SpaceDim.

◆ setSlopeStuff()

void EBPatchGodunov::setSlopeStuff ( )
protected

Member Data Documentation

◆ s_debugIV

IntVect EBPatchGodunov::s_debugIV
static

◆ s_whichLev

int EBPatchGodunov::s_whichLev
static

◆ m_modBoxOpen

Box EBPatchGodunov::m_modBoxOpen[SpaceDim]
protected

◆ s_conservativeSource

bool EBPatchGodunov::s_conservativeSource
staticprotected

Referenced by useConservativeSource().

◆ s_curLevel

int EBPatchGodunov::s_curLevel
staticprotected

◆ s_curComp

int EBPatchGodunov::s_curComp
staticprotected

◆ s_doingVel

int EBPatchGodunov::s_doingVel
staticprotected

◆ s_doingAdvVel

int EBPatchGodunov::s_doingAdvVel
staticprotected

◆ s_verbose

bool EBPatchGodunov::s_verbose
staticprotected

◆ s_maxWaveSpeed

Real EBPatchGodunov::s_maxWaveSpeed
staticprotected

◆ s_maxWaveSpeedIV

IntVect EBPatchGodunov::s_maxWaveSpeedIV
staticprotected

◆ m_domain

ProblemDomain EBPatchGodunov::m_domain
protected

◆ m_dx

RealVect EBPatchGodunov::m_dx
protected

◆ m_dxScale

Real EBPatchGodunov::m_dxScale
protected

◆ m_useAgg

bool EBPatchGodunov::m_useAgg
protected

Referenced by define().

◆ m_interpStencils

BaseIFFAB<FaceStencil> EBPatchGodunov::m_interpStencils[SpaceDim]
protected

◆ m_validBox

Box EBPatchGodunov::m_validBox
protected

◆ m_ebisBox

EBISBox EBPatchGodunov::m_ebisBox
protected

◆ m_time

Real EBPatchGodunov::m_time
protected

◆ m_dt

Real EBPatchGodunov::m_dt
protected

◆ m_isDefined

bool EBPatchGodunov::m_isDefined
protected

◆ m_isBCSet

bool EBPatchGodunov::m_isBCSet
protected

◆ m_isBoxSet

bool EBPatchGodunov::m_isBoxSet
protected

◆ m_isSlopeSet

bool EBPatchGodunov::m_isSlopeSet
protected

◆ m_isArtViscSet

bool EBPatchGodunov::m_isArtViscSet
protected

◆ m_useFourthOrderSlopes

bool EBPatchGodunov::m_useFourthOrderSlopes
protected

◆ m_useFlattening

bool EBPatchGodunov::m_useFlattening
protected

◆ m_useLimiting

bool EBPatchGodunov::m_useLimiting
protected

◆ m_useArtificialVisc

bool EBPatchGodunov::m_useArtificialVisc
protected

◆ m_irregVoFs

Vector<VolIndex> EBPatchGodunov::m_irregVoFs
protected

◆ m_updateStencil

Vector<updateStencil_t> EBPatchGodunov::m_updateStencil
protected

◆ m_bc

EBPhysIBC* EBPatchGodunov::m_bc
protected

◆ m_validBoxG4

Box EBPatchGodunov::m_validBoxG4
protected

◆ m_coveredSetsPlusG4

IntVectSet EBPatchGodunov::m_coveredSetsPlusG4[SpaceDim]
protected

◆ m_coveredSetsMinuG4

IntVectSet EBPatchGodunov::m_coveredSetsMinuG4[SpaceDim]
protected

◆ m_coveredFacePlusG4

Vector<VolIndex> EBPatchGodunov::m_coveredFacePlusG4[SpaceDim]
protected

Referenced by getCoveredFacePlus().

◆ m_coveredFaceMinuG4

Vector<VolIndex> EBPatchGodunov::m_coveredFaceMinuG4[SpaceDim]
protected

Referenced by getCoveredFaceMinu().

◆ m_extendStatePlusG4

BaseIVFAB<Real> EBPatchGodunov::m_extendStatePlusG4[SpaceDim]
protected

◆ m_extendStateMinuG4

BaseIVFAB<Real> EBPatchGodunov::m_extendStateMinuG4[SpaceDim]
protected

◆ m_coveredFluxPlusG4

BaseIVFAB<Real> EBPatchGodunov::m_coveredFluxPlusG4[SpaceDim]
protected

Referenced by getCoveredFluxPlus().

◆ m_coveredFluxMinuG4

BaseIVFAB<Real> EBPatchGodunov::m_coveredFluxMinuG4[SpaceDim]
protected

Referenced by getCoveredFluxMinu().

◆ m_extendStatePlus3D

BaseIVFAB<Real> EBPatchGodunov::m_extendStatePlus3D[SpaceDim][SpaceDim]
protected

◆ m_extendStateMinu3D

BaseIVFAB<Real> EBPatchGodunov::m_extendStateMinu3D[SpaceDim][SpaceDim]
protected

◆ m_coveredFluxPlus3D

BaseIVFAB<Real> EBPatchGodunov::m_coveredFluxPlus3D[SpaceDim][SpaceDim]
protected

◆ m_coveredFluxMinu3D

BaseIVFAB<Real> EBPatchGodunov::m_coveredFluxMinu3D[SpaceDim][SpaceDim]
protected

◆ m_primPlus

EBCellFAB EBPatchGodunov::m_primPlus[SpaceDim]
protected

◆ m_primMinu

EBCellFAB EBPatchGodunov::m_primMinu[SpaceDim]
protected

◆ m_primState

EBCellFAB EBPatchGodunov::m_primState
protected

◆ m_primMinuTemp

EBCellFAB EBPatchGodunov::m_primMinuTemp
protected

◆ m_primPlusTemp

EBCellFAB EBPatchGodunov::m_primPlusTemp
protected

◆ m_primGdnv

EBFluxFAB EBPatchGodunov::m_primGdnv
protected

◆ m_fluxOne

EBFaceFAB EBPatchGodunov::m_fluxOne[SpaceDim]
protected

◆ m_fluxTwo

EBFaceFAB EBPatchGodunov::m_fluxTwo[SpaceDim][SpaceDim]
protected

◆ m_coveredFluxNormMinu

BaseIVFAB<Real> EBPatchGodunov::m_coveredFluxNormMinu[SpaceDim]
protected

◆ m_coveredFluxNormPlus

BaseIVFAB<Real> EBPatchGodunov::m_coveredFluxNormPlus[SpaceDim]
protected

◆ m_extendStateNormMinu

BaseIVFAB<Real> EBPatchGodunov::m_extendStateNormMinu[SpaceDim]
protected

◆ m_extendStateNormPlus

BaseIVFAB<Real> EBPatchGodunov::m_extendStateNormPlus[SpaceDim]
protected

◆ m_slopStenLo

RefCountedPtr< AggStencil<EBCellFAB, EBCellFAB> > EBPatchGodunov::m_slopStenLo[SpaceDim]
protected

◆ m_slopStenHi

RefCountedPtr< AggStencil<EBCellFAB, EBCellFAB> > EBPatchGodunov::m_slopStenHi[SpaceDim]
protected

◆ m_entireBox

Box EBPatchGodunov::m_entireBox[SpaceDim]
protected

Referenced by getEntireBox().

◆ m_slopVec

Vector<slop_logic_t> EBPatchGodunov::m_slopVec[SpaceDim]
protected

The documentation for this class was generated from the following file: