Chombo + EB + MF
3.2
|
AMR Cons Equation factory. More...
#include <AMRLevelMappedConsFactory.H>
Public Member Functions | |
AMRLevelMappedConsFactory () | |
Null constructor. More... | |
AMRLevelMappedConsFactory (NewCoordSysFactory *const a_coordSysFact, AMRLevelMappedStabilityStrategy *a_stableTimeSteppingStrategy, AMRLevelMappedTaggingStrategy *a_taggingStategy) | |
Constructor for a single-block coordinate system. More... | |
AMRLevelMappedConsFactory (MultiBlockCoordSysFactory *const a_coordSysFact, AMRLevelMappedStabilityStrategy *a_stableTimeSteppingStrategy, AMRLevelMappedTaggingStrategy *a_taggingStategy) | |
Constructor for a multi-block coordinate system. More... | |
virtual AMRLevel * | new_amrlevel () const |
Virtual constructor. More... | |
virtual | ~AMRLevelMappedConsFactory () |
Destructor. More... | |
void | coordinateSystemFactory (MultiBlockCoordSysFactory *a_coordSysFact) |
Set the factory for the coordinate system. More... | |
virtual void | useSourceTerm (bool a_useSourceTerm) |
Set whether to use source term. More... | |
virtual void | sourceTerm (const LevelSourceTerm *const a_sourceTerm) |
Source term class, if necessary. More... | |
virtual void | useArtificialDissipation (bool a_useArtificialDissipation) |
Set whether to modify fluxes by adding artificial dissipation based on 5th derivative. More... | |
virtual void | artificialDissipation (Real a_artificialDissipation) |
Set coefficient of artificial dissipation. More... | |
void | plotPrefix (const std::string &a_plotfile_prefix) |
bool | isDefined () const |
Check that everything is defined. More... | |
virtual void | writeJ (bool a_writeJ) |
virtual void | writeExact (bool a_writeExact) |
virtual void | writeError (bool a_writeError) |
virtual void | writeMap (bool a_writeMap) |
Public Member Functions inherited from AMRLevelConsFactory | |
AMRLevelConsFactory () | |
Null constructor. More... | |
virtual | ~AMRLevelConsFactory () |
Destructor. More... | |
virtual void | CFL (Real a_cfl) |
CFL number. More... | |
virtual void | spaceOrder (int a_spaceOrder) |
spatial order of accuracy (default is 4) More... | |
virtual void | limitFaceValues (bool a_limitFaceValues) |
sets whether to limit face values in advection (default is false) More... | |
virtual void | highOrderLimiter (bool a_highOrderLimiter) |
sets whether to use high-order limiter (default is true) More... | |
virtual void | initialAverage (bool a_initialAverage) |
sets whether initial data is average; default false More... | |
virtual void | useFlattening (bool a_useFlattening) |
sets whether to flatten extrapolations to faces More... | |
virtual void | noPPM (bool a_noPPM) |
sets whether to turn PPM off More... | |
virtual void | doDeconvolution (bool a_doDeconvolution) |
sets m_doDeconvolution More... | |
virtual void | doFaceDeconvolution (bool a_doFaceDeconvolution) |
sets m_doFaceDeconvolution More... | |
virtual void | useArtificialViscosity (bool a_useArtificialViscosity) |
sets whether to use artificial viscosity (from divergence) More... | |
virtual void | artificialViscosity (Real a_artificialViscosity) |
sets coefficient of artificial viscosity (from divergence) More... | |
virtual void | useArtVisc (bool a_useArtVisc) |
sets whether to use artificial viscosity More... | |
virtual void | ratioArtVisc (Real a_ratioArtVisc) |
sets coefficient of artificial viscosity More... | |
virtual void | forwardEuler (bool a_forwardEuler) |
sets whether forward Euler is used (instead of RK4) More... | |
virtual void | enforceMinVal (bool a_enforceMinVal, Real a_minVal) |
sets whether to enforce a min value in advection, along with valeu More... | |
virtual void | domainLength (Real a_domainLength) |
Physical dimension of the longest side of the domain. More... | |
void | x0 (const Real &a_x0) |
virtual void | verbosity (const int &verbosity) |
virtual void | refinementThreshold (Real a_refineThresh) |
Refinement threshold. More... | |
virtual void | refinementIsScaled (bool a_refinementIsScaled) |
Set whether refinement threshold is scaled with dx. More... | |
virtual void | tagPressure (bool a_tagPressure) |
Set whether to tag on pressure instead of on density. More... | |
virtual void | tagVorticity (bool a_tagVorticity) |
Set whether to tag on vorticity instead of on density. More... | |
virtual void | tagBufferSize (int a_tagBufferSize) |
Tag buffer size. More... | |
virtual void | molPhysics (const MOLPhysics *const a_molPhysics) |
MOLPhysics class. More... | |
void | initialDtMultiplier (Real a_initialDtMultiplier) |
Initial dt multiplier. More... | |
Public Member Functions inherited from AMRLevelFactory | |
virtual | ~AMRLevelFactory () |
Protected Member Functions | |
virtual void | setDefaultValues () |
virtual void | transferSettings (AMRLevelCons *a_newPtr) const |
Private Member Functions | |
void | operator= (const AMRLevelMappedConsFactory &a_input) |
AMRLevelMappedConsFactory (const AMRLevelMappedConsFactory &a_input) | |
AMR Cons Equation factory.
AMRLevelMappedConsFactory::AMRLevelMappedConsFactory | ( | ) |
Null constructor.
AMRLevelMappedConsFactory::AMRLevelMappedConsFactory | ( | NewCoordSysFactory *const | a_coordSysFact, |
AMRLevelMappedStabilityStrategy * | a_stableTimeSteppingStrategy, | ||
AMRLevelMappedTaggingStrategy * | a_taggingStategy | ||
) |
Constructor for a single-block coordinate system.
AMRLevelMappedConsFactory::AMRLevelMappedConsFactory | ( | MultiBlockCoordSysFactory *const | a_coordSysFact, |
AMRLevelMappedStabilityStrategy * | a_stableTimeSteppingStrategy, | ||
AMRLevelMappedTaggingStrategy * | a_taggingStategy | ||
) |
Constructor for a multi-block coordinate system.
|
virtual |
Destructor.
|
private |
|
virtual |
Virtual constructor.
Reimplemented from AMRLevelConsFactory.
void AMRLevelMappedConsFactory::coordinateSystemFactory | ( | MultiBlockCoordSysFactory * | a_coordSysFact | ) |
Set the factory for the coordinate system.
|
virtual |
Set whether to use source term.
|
virtual |
Source term class, if necessary.
|
virtual |
Set whether to modify fluxes by adding artificial dissipation based on 5th derivative.
|
virtual |
Set coefficient of artificial dissipation.
void AMRLevelMappedConsFactory::plotPrefix | ( | const std::string & | a_plotfile_prefix | ) |
|
virtual |
Check that everything is defined.
Reimplemented from AMRLevelConsFactory.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtual |
Reimplemented from AMRLevelConsFactory.
|
protectedvirtual |
Reimplemented from AMRLevelConsFactory.
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Whether to write out mapping file.
|
protected |
|
protected |