Chombo + EB
3.2
|
#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 More... | |
virtual void | postTimeStep () |
things to do after a timestep More... | |
virtual void | syncWithFineLevel () |
setup fine->coarse stuff More... | |
void | dumpDebug () |
virtual void | tagCells (IntVectSet &a_tags) |
create tags More... | |
virtual void | tagCellsInit (IntVectSet &a_tags) |
create tags at initialization More... | |
virtual void | regrid (const Vector< Box > &a_new_grids) |
regrid More... | |
virtual void | initialGrid (const Vector< Box > &a_new_grids) |
initialize grids More... | |
virtual void | initialData () |
initialize data More... | |
virtual void | postInitialize () |
things to do after initialization More... | |
virtual void | patchGodunov (const EBPatchGodunovFactory *const a_ebpatchGodunovFactory) |
object for physics integration More... | |
void | dumpDebug (const string &a_debstring) |
virtual void | writeCheckpointHeader (HDF5Handle &a_handle) const |
write checkpoint header More... | |
virtual void | writeCheckpointLevel (HDF5Handle &a_handle) const |
write checkpoint data for this level More... | |
virtual void | readCheckpointHeader (HDF5Handle &a_handle) |
read checkpoint header More... | |
virtual void | readCheckpointLevel (HDF5Handle &a_handle) |
read checkpoint data for this level More... | |
virtual void | writePlotHeader (HDF5Handle &a_handle) const |
write plotfile header More... | |
void | writePlotHeaderOld (HDF5Handle &a_handle) const |
virtual void | writePlotLevel (HDF5Handle &a_handle) const |
write plot file data for this level More... | |
void | writePlotLevelOld (HDF5Handle &a_handle) const |
virtual Real | getDt () const |
virtual Real | computeDt () |
compute dt More... | |
virtual Real | computeInitialDt () |
compute dt with initial data More... | |
virtual void | CFL (Real a_cfl) |
CFL. More... | |
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 More... | |
virtual void | domainLength (RealVect a_domainLength) |
longest length of the domain in real space More... | |
virtual void | refinementThreshold (Real a_refine_thresh) |
refinement threshold More... | |
virtual void | tagBufferSize (int a_tag_buffer_size) |
tag buffer size More... | |
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 () |
Public Member Functions inherited from AMRLevel | |
AMRLevel () | |
virtual | ~AMRLevel () |
virtual bool | convergedToSteadyState () |
virtual void | preRegrid (int a_base_level, const Vector< Vector< Box > > &a_new_grids) |
virtual void | postRegrid (int a_base_level) |
virtual void | postInitialGrid (const bool a_restart) |
virtual void | conclude (int a_step) const |
virtual void | writeCustomPlotFile (const std::string &a_prefix, int a_step) const |
virtual void | finerLevelPtr (AMRLevel *a_finer_level_ptr) |
virtual void | dt (Real a_dt) |
virtual void | time (Real a_time) |
virtual void | initialDtMultiplier (Real a_initial_dt_multiplier) |
virtual Real | dt () const |
virtual Real | time () const |
virtual Real | initialDtMultiplier () const |
virtual const ProblemDomain & | problemDomain () const |
virtual Vector< Box > | boxes () const |
bool | isDefined () const |
bool | hasCoarserLevel () const |
bool | hasFinerLevel () const |
virtual int | level () const |
virtual int | refRatio () const |
Vector< AMRLevel * > | getAMRLevelHierarchy () |
Retrieve an array of all of the AMRLevel objects in the entire hierarchy. More... | |
Static Public Member Functions | |
static void | setLoadBalance (LoadBalanceFunc a_func) |
Static Public Member Functions inherited from AMRLevel | |
static int | verbosity () |
static void | verbosity (int a_verbosity) |
Static Public Attributes | |
static int | s_NewPlotFile |
Protected Member Functions | |
Real | calculateMass () const |
EBAMRGodunov * | getCoarserLevel () const |
EBAMRGodunov * | getFinerLevel () const |
Static Protected Attributes | |
static LoadBalanceFunc | s_loadBalance |
static bool | s_isLoadBalanceSet |
Static Protected Attributes inherited from AMRLevel | |
static int | s_verbosity |
Private Member Functions | |
void | operator= (const EBAMRGodunov &a_input) |
EBAMRGodunov (const EBAMRGodunov &a_input) | |
EBAMRGodunov::EBAMRGodunov | ( | ) |
|
virtual |
|
inlineprivate |
References MayDay::Error().
void EBAMRGodunov::sumConserved | ( | Real & | a_sumcons, |
const int & | a_ivar | ||
) | const |
|
virtual |
Defines this AMRLevel.
Reimplemented from AMRLevel.
|
virtual |
Defines this AMRLevel.
Reimplemented from AMRLevel.
|
virtual |
things to do after a timestep
Implements AMRLevel.
|
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 |
create tags
Implements AMRLevel.
|
virtual |
create tags at initialization
Implements AMRLevel.
regrid
Implements AMRLevel.
initialize grids
Implements AMRLevel.
|
virtual |
initialize data
Implements AMRLevel.
|
virtual |
things to do after initialization
Implements AMRLevel.
|
virtual |
object for physics integration
void EBAMRGodunov::dumpDebug | ( | const string & | a_debstring | ) |
|
virtual |
write checkpoint header
Implements AMRLevel.
|
virtual |
write checkpoint data for this level
Implements AMRLevel.
|
virtual |
read checkpoint header
Implements AMRLevel.
|
virtual |
read checkpoint data for this level
Implements AMRLevel.
|
virtual |
write plotfile header
Implements AMRLevel.
void EBAMRGodunov::writePlotHeaderOld | ( | HDF5Handle & | a_handle | ) | const |
|
virtual |
write plot file data for this level
Implements AMRLevel.
void EBAMRGodunov::writePlotLevelOld | ( | HDF5Handle & | a_handle | ) | const |
|
virtual |
|
virtual |
compute dt with initial data
Implements AMRLevel.
|
virtual |
CFL.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
redistribution radius
|
virtual |
longest length of the domain in real space
|
virtual |
refinement threshold
|
virtual |
tag buffer size
|
virtual |
|
virtual |
const EBISLayout& EBAMRGodunov::getEBISLayout | ( | ) | const |
void EBAMRGodunov::tagAll | ( | bool | a_tagAll | ) |
|
inlinestatic |
References s_isLoadBalanceSet, and s_loadBalance.
|
protected |
|
protected |
|
protected |
|
inlineprivate |
References MayDay::Error().
|
static |
|
staticprotected |
Referenced by setLoadBalance().
|
staticprotected |
Referenced by setLoadBalance().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |