#include <EBAMRGodunov.H>
Public Member Functions | |
EBAMRGodunov () | |
virtual | ~EBAMRGodunov () |
void | sumConserved (Real &a_sumcons, const int &a_ivar) const |
virtual void | define (AMRLevel *a_coarser_level_ptr, const Box &a_problem_domain, int a_level, int a_ref_ratio) |
virtual void | define (AMRLevel *a_coarser_level_ptr, const ProblemDomain &a_problem_domain, int a_level, int a_ref_ratio) |
virtual Real | advance () |
advance by one timestep | |
virtual void | postTimeStep () |
things to do after a timestep | |
virtual void | syncWithFineLevel () |
setup fine->coarse stuff | |
void | dumpDebug () |
virtual void | tagCells (IntVectSet &a_tags) |
create tags | |
virtual void | tagCellsInit (IntVectSet &a_tags) |
create tags at initialization | |
virtual void | regrid (const Vector< Box > &a_new_grids) |
regrid | |
virtual void | initialGrid (const Vector< Box > &a_new_grids) |
initialize grids | |
virtual void | initialData () |
initialize data | |
virtual void | postInitialize () |
things to do after initialization | |
virtual void | patchGodunov (const EBPatchGodunovFactory *const a_ebpatchGodunovFactory) |
object for physics integration | |
void | dumpDebug (const string &a_debstring) |
virtual void | writeCheckpointHeader (HDF5Handle &a_handle) const |
write checkpoint header | |
virtual void | writeCheckpointLevel (HDF5Handle &a_handle) const |
write checkpoint data for this level | |
virtual void | readCheckpointHeader (HDF5Handle &a_handle) |
read checkpoint header | |
virtual void | readCheckpointLevel (HDF5Handle &a_handle) |
read checkpoint data for this level | |
virtual void | writePlotHeader (HDF5Handle &a_handle) const |
write plotfile header | |
void | writePlotHeaderOld (HDF5Handle &a_handle) const |
virtual void | writePlotLevel (HDF5Handle &a_handle) const |
write plot file data for this level | |
void | writePlotLevelOld (HDF5Handle &a_handle) const |
virtual Real | getDt () const |
virtual Real | computeDt () |
compute dt | |
virtual Real | computeInitialDt () |
compute dt with initial data | |
virtual void | CFL (Real a_cfl) |
CFL. | |
virtual void | doSmushing (bool a_doSmushing) |
virtual void | doRZCoords (bool a_doRZCoords) |
virtual void | hasSourceTerm (bool a_hasSourceTerm) |
virtual void | redistRadius (int a_redistRad) |
redistribution radius | |
virtual void | domainLength (RealVect a_domainLength) |
longest length of the domain in real space | |
virtual void | refinementThreshold (Real a_refine_thresh) |
refinement threshold | |
virtual void | tagBufferSize (int a_tag_buffer_size) |
tag buffer size | |
virtual void | useMassRedistribution (bool a_useMassRedist) |
virtual void | levelSetup () |
const EBISLayout & | getEBISLayout () const |
virtual void | fillConsAndPrim (LevelData< EBCellFAB > &a_data) const |
void | tagAll (bool a_tagAll) |
LevelData< EBCellFAB > & | getStateOld () |
LevelData< EBCellFAB > & | getStateNew () |
Static Public Member Functions | |
static void | setLoadBalance (LoadBalanceFunc a_func) |
Static Public Attributes | |
static int | s_NewPlotFile |
Protected Member Functions | |
Real | calculateMass () const |
EBAMRGodunov * | getCoarserLevel () const |
EBAMRGodunov * | getFinerLevel () const |
Protected Attributes | |
bool | m_tagAll |
bool | m_useMassRedist |
Box | m_domainBox |
DisjointBoxLayout | m_grids |
EBISLayout | m_ebisl |
LevelData< EBCellFAB > | m_stateOld |
LevelData< EBCellFAB > | m_stateNew |
int | m_nComp |
int | m_nGhost |
Vector< string > | m_stateNames |
Vector< string > | m_primNames |
RealVect | m_origin |
RealVect | m_dx |
RealVect | m_aspect |
RealVect | m_domainLength |
Real | m_cfl |
Real | m_dtNew |
EBCoarseAverage | m_ebCoarseAverage |
EBPWLFineInterp | m_ebFineInterp |
EBLevelGodunov | m_ebLevelGodunov |
EBFluxRegister | m_ebFluxRegister |
EBPatchGodunov * | m_ebPatchGodunov |
const EBPatchGodunovFactory * | m_ebPatchGodunovFactory |
Real | m_refineThresh |
LevelData< BaseIVFAB< Real > > | m_massDiff |
LayoutData< IntVectSet > | m_sets |
RedistStencil | m_redStencil |
EBCoarToFineRedist | m_ebCoarToFineRedist |
EBCoarToCoarRedist | m_ebCoarToCoarRedist |
EBFineToCoarRedist | m_ebFineToCoarRedist |
int | m_tagBufferSize |
int | m_redistRad |
bool | m_doRZCoords |
bool | m_hasSourceTerm |
bool | m_doSmushing |
bool | m_hasCoarser |
bool | m_hasFiner |
bool | m_isDefined |
Static Protected Attributes | |
static LoadBalanceFunc | s_loadBalance |
static bool | s_isLoadBalanceSet |
Private Member Functions | |
void | operator= (const EBAMRGodunov &a_input) |
EBAMRGodunov (const EBAMRGodunov &a_input) |
EBAMRGodunov::EBAMRGodunov | ( | ) |
virtual EBAMRGodunov::~EBAMRGodunov | ( | ) | [virtual] |
EBAMRGodunov::EBAMRGodunov | ( | const EBAMRGodunov & | a_input | ) | [inline, private] |
References MayDay::Error().
void EBAMRGodunov::sumConserved | ( | Real & | a_sumcons, | |
const int & | a_ivar | |||
) | const |
virtual void EBAMRGodunov::define | ( | AMRLevel * | a_coarser_level_ptr, | |
const Box & | a_problem_domain, | |||
int | a_level, | |||
int | a_ref_ratio | |||
) | [virtual] |
Defines this AMRLevel.
Reimplemented from AMRLevel.
virtual void EBAMRGodunov::define | ( | AMRLevel * | a_coarser_level_ptr, | |
const ProblemDomain & | a_problem_domain, | |||
int | a_level, | |||
int | a_ref_ratio | |||
) | [virtual] |
Defines this AMRLevel.
Reimplemented from AMRLevel.
virtual void EBAMRGodunov::postTimeStep | ( | ) | [virtual] |
virtual void EBAMRGodunov::syncWithFineLevel | ( | ) | [virtual] |
setup fine->coarse stuff
stuff that needs to be setup from the finer level. A bunch of objects depend upon the layouts from both levels and the finer level changes more often from regrid so this needs to be called from the finer level
void EBAMRGodunov::dumpDebug | ( | ) |
virtual void EBAMRGodunov::tagCells | ( | IntVectSet & | a_tags | ) | [virtual] |
virtual void EBAMRGodunov::tagCellsInit | ( | IntVectSet & | a_tags | ) | [virtual] |
virtual void EBAMRGodunov::initialData | ( | ) | [virtual] |
virtual void EBAMRGodunov::postInitialize | ( | ) | [virtual] |
virtual void EBAMRGodunov::patchGodunov | ( | const EBPatchGodunovFactory *const | a_ebpatchGodunovFactory | ) | [virtual] |
object for physics integration
void EBAMRGodunov::dumpDebug | ( | const string & | a_debstring | ) |
virtual void EBAMRGodunov::writeCheckpointHeader | ( | HDF5Handle & | a_handle | ) | const [virtual] |
virtual void EBAMRGodunov::writeCheckpointLevel | ( | HDF5Handle & | a_handle | ) | const [virtual] |
virtual void EBAMRGodunov::readCheckpointHeader | ( | HDF5Handle & | a_handle | ) | [virtual] |
virtual void EBAMRGodunov::readCheckpointLevel | ( | HDF5Handle & | a_handle | ) | [virtual] |
virtual void EBAMRGodunov::writePlotHeader | ( | HDF5Handle & | a_handle | ) | const [virtual] |
void EBAMRGodunov::writePlotHeaderOld | ( | HDF5Handle & | a_handle | ) | const |
virtual void EBAMRGodunov::writePlotLevel | ( | HDF5Handle & | a_handle | ) | const [virtual] |
void EBAMRGodunov::writePlotLevelOld | ( | HDF5Handle & | a_handle | ) | const |
virtual Real EBAMRGodunov::getDt | ( | ) | const [virtual] |
virtual Real EBAMRGodunov::computeInitialDt | ( | ) | [virtual] |
virtual void EBAMRGodunov::CFL | ( | Real | a_cfl | ) | [virtual] |
CFL.
virtual void EBAMRGodunov::doSmushing | ( | bool | a_doSmushing | ) | [virtual] |
virtual void EBAMRGodunov::doRZCoords | ( | bool | a_doRZCoords | ) | [virtual] |
virtual void EBAMRGodunov::hasSourceTerm | ( | bool | a_hasSourceTerm | ) | [virtual] |
virtual void EBAMRGodunov::redistRadius | ( | int | a_redistRad | ) | [virtual] |
redistribution radius
virtual void EBAMRGodunov::domainLength | ( | RealVect | a_domainLength | ) | [virtual] |
longest length of the domain in real space
virtual void EBAMRGodunov::refinementThreshold | ( | Real | a_refine_thresh | ) | [virtual] |
refinement threshold
virtual void EBAMRGodunov::tagBufferSize | ( | int | a_tag_buffer_size | ) | [virtual] |
tag buffer size
virtual void EBAMRGodunov::useMassRedistribution | ( | bool | a_useMassRedist | ) | [virtual] |
virtual void EBAMRGodunov::levelSetup | ( | ) | [virtual] |
const EBISLayout& EBAMRGodunov::getEBISLayout | ( | ) | const |
void EBAMRGodunov::tagAll | ( | bool | a_tagAll | ) |
static void EBAMRGodunov::setLoadBalance | ( | LoadBalanceFunc | a_func | ) | [inline, static] |
References s_isLoadBalanceSet, and s_loadBalance.
Real EBAMRGodunov::calculateMass | ( | ) | const [protected] |
EBAMRGodunov* EBAMRGodunov::getCoarserLevel | ( | ) | const [protected] |
EBAMRGodunov* EBAMRGodunov::getFinerLevel | ( | ) | const [protected] |
void EBAMRGodunov::operator= | ( | const EBAMRGodunov & | a_input | ) | [inline, private] |
References MayDay::Error().
int EBAMRGodunov::s_NewPlotFile [static] |
LoadBalanceFunc EBAMRGodunov::s_loadBalance [static, protected] |
Referenced by setLoadBalance().
bool EBAMRGodunov::s_isLoadBalanceSet [static, protected] |
Referenced by setLoadBalance().
bool EBAMRGodunov::m_tagAll [protected] |
bool EBAMRGodunov::m_useMassRedist [protected] |
Box EBAMRGodunov::m_domainBox [protected] |
DisjointBoxLayout EBAMRGodunov::m_grids [protected] |
EBISLayout EBAMRGodunov::m_ebisl [protected] |
LevelData<EBCellFAB> EBAMRGodunov::m_stateOld [protected] |
LevelData<EBCellFAB> EBAMRGodunov::m_stateNew [protected] |
int EBAMRGodunov::m_nComp [protected] |
int EBAMRGodunov::m_nGhost [protected] |
Vector<string> EBAMRGodunov::m_stateNames [protected] |
Vector<string> EBAMRGodunov::m_primNames [protected] |
RealVect EBAMRGodunov::m_origin [protected] |
RealVect EBAMRGodunov::m_dx [protected] |
RealVect EBAMRGodunov::m_aspect [protected] |
RealVect EBAMRGodunov::m_domainLength [protected] |
Real EBAMRGodunov::m_cfl [protected] |
Real EBAMRGodunov::m_dtNew [protected] |
EBCoarseAverage EBAMRGodunov::m_ebCoarseAverage [protected] |
EBPWLFineInterp EBAMRGodunov::m_ebFineInterp [protected] |
EBLevelGodunov EBAMRGodunov::m_ebLevelGodunov [protected] |
EBFluxRegister EBAMRGodunov::m_ebFluxRegister [protected] |
EBPatchGodunov* EBAMRGodunov::m_ebPatchGodunov [protected] |
const EBPatchGodunovFactory* EBAMRGodunov::m_ebPatchGodunovFactory [protected] |
Real EBAMRGodunov::m_refineThresh [protected] |
LevelData<BaseIVFAB<Real> > EBAMRGodunov::m_massDiff [protected] |
LayoutData<IntVectSet> EBAMRGodunov::m_sets [protected] |
RedistStencil EBAMRGodunov::m_redStencil [protected] |
EBCoarToFineRedist EBAMRGodunov::m_ebCoarToFineRedist [protected] |
EBCoarToCoarRedist EBAMRGodunov::m_ebCoarToCoarRedist [protected] |
EBFineToCoarRedist EBAMRGodunov::m_ebFineToCoarRedist [protected] |
int EBAMRGodunov::m_tagBufferSize [protected] |
int EBAMRGodunov::m_redistRad [protected] |
bool EBAMRGodunov::m_doRZCoords [protected] |
bool EBAMRGodunov::m_hasSourceTerm [protected] |
bool EBAMRGodunov::m_doSmushing [protected] |
bool EBAMRGodunov::m_hasCoarser [protected] |
bool EBAMRGodunov::m_hasFiner [protected] |
bool EBAMRGodunov::m_isDefined [protected] |
Reimplemented from AMRLevel.