11 #ifndef _AMRLEVELCONSFACTORY_H_ 12 #define _AMRLEVELCONSFACTORY_H_ 17 #include "NamespaceHeader.H" 61 virtual void noPPM(
bool a_noPPM);
236 #include "NamespaceFooter.H" virtual void useArtificialViscosity(bool a_useArtificialViscosity)
sets whether to use artificial viscosity (from divergence)
AMRLevelConsFactory()
Null constructor.
int m_spaceOrder
spatial order of accuracy (default is 4)
Definition: AMRLevelConsFactory.H:154
virtual void spaceOrder(int a_spaceOrder)
spatial order of accuracy (default is 4)
Real m_minVal
min value to enforce
Definition: AMRLevelConsFactory.H:196
virtual void molPhysics(const MOLPhysics *const a_molPhysics)
MOLPhysics class.
virtual void doFaceDeconvolution(bool a_doFaceDeconvolution)
sets m_doFaceDeconvolution
virtual void forwardEuler(bool a_forwardEuler)
sets whether forward Euler is used (instead of RK4)
virtual void domainLength(Real a_domainLength)
Physical dimension of the longest side of the domain.
virtual void useArtVisc(bool a_useArtVisc)
sets whether to use artificial viscosity
virtual void tagVorticity(bool a_tagVorticity)
Set whether to tag on vorticity instead of on density.
bool m_cflSet
Definition: AMRLevelConsFactory.H:150
virtual void enforceMinVal(bool a_enforceMinVal, Real a_minVal)
sets whether to enforce a min value in advection, along with valeu
Abstract base class for time-dependent data at a level of refinement.
Definition: AMRLevel.H:47
virtual void setDefaultValues()
Definition: MOLPhysics.H:37
virtual void highOrderLimiter(bool a_highOrderLimiter)
sets whether to use high-order limiter (default is true)
Real m_domainLength
Definition: AMRLevelConsFactory.H:199
virtual void transferSettings(AMRLevelCons *a_newPtr) const
AMR Level for fourth-order solution to conservation law.
Definition: AMRLevelCons.H:32
Real m_initialDtMultiplier
Definition: AMRLevelConsFactory.H:220
Real m_refineThresh
Definition: AMRLevelConsFactory.H:203
virtual void verbosity(const int &verbosity)
bool m_highOrderLimiter
if true, use high-order limiter
Definition: AMRLevelConsFactory.H:160
bool m_noPPM
Definition: AMRLevelConsFactory.H:169
Real m_ratioArtVisc
Definition: AMRLevelConsFactory.H:187
bool m_refinementIsScaled
Definition: AMRLevelConsFactory.H:207
virtual void refinementThreshold(Real a_refineThresh)
Refinement threshold.
void operator=(const AMRLevelConsFactory &a_input)
bool m_forwardEuler
Definition: AMRLevelConsFactory.H:190
const MOLPhysics * m_molPhysics
Definition: AMRLevelConsFactory.H:225
bool m_tagPressure
Definition: AMRLevelConsFactory.H:210
virtual void initialAverage(bool a_initialAverage)
sets whether initial data is average; default false
Real m_cfl
Definition: AMRLevelConsFactory.H:149
bool m_refineThreshSet
Definition: AMRLevelConsFactory.H:204
void initialDtMultiplier(Real a_initialDtMultiplier)
Initial dt multiplier.
AMR Cons Equation factory.
Definition: AMRLevelConsFactory.H:22
virtual void ratioArtVisc(Real a_ratioArtVisc)
sets coefficient of artificial viscosity
double Real
Definition: REAL.H:33
virtual void refinementIsScaled(bool a_refinementIsScaled)
Set whether refinement threshold is scaled with dx.
bool m_initialAverage
Definition: AMRLevelConsFactory.H:163
int m_verbosity
Definition: AMRLevelConsFactory.H:146
virtual void CFL(Real a_cfl)
CFL number.
bool m_enforceMinVal
if true, enforce min value
Definition: AMRLevelConsFactory.H:193
bool m_doFaceDeconvolution
Definition: AMRLevelConsFactory.H:175
virtual void tagPressure(bool a_tagPressure)
Set whether to tag on pressure instead of on density.
virtual ~AMRLevelConsFactory()
Destructor.
bool m_initialDtMultiplierSet
Definition: AMRLevelConsFactory.H:221
bool m_useArtificialViscosity
Definition: AMRLevelConsFactory.H:178
bool m_useFlattening
Definition: AMRLevelConsFactory.H:166
virtual void tagBufferSize(int a_tagBufferSize)
Tag buffer size.
bool m_useArtVisc
Definition: AMRLevelConsFactory.H:184
virtual void limitFaceValues(bool a_limitFaceValues)
sets whether to limit face values in advection (default is false)
virtual void useFlattening(bool a_useFlattening)
sets whether to flatten extrapolations to faces
bool m_limitFaceValues
if true, limit face values in advection
Definition: AMRLevelConsFactory.H:157
Factory class to produce an AMRLevel.
Definition: AMRLevelFactory.H:22
virtual void doDeconvolution(bool a_doDeconvolution)
sets m_doDeconvolution
virtual AMRLevel * new_amrlevel() const
Virtual constructor.
Real m_artificialViscosity
Definition: AMRLevelConsFactory.H:181
virtual void noPPM(bool a_noPPM)
sets whether to turn PPM off
bool m_domainLengthSet
Definition: AMRLevelConsFactory.H:200
bool m_doDeconvolution
Definition: AMRLevelConsFactory.H:172
bool m_tagBufferSizeSet
Definition: AMRLevelConsFactory.H:217
bool m_tagVorticity
Definition: AMRLevelConsFactory.H:213
int m_tagBufferSize
Definition: AMRLevelConsFactory.H:216
virtual bool isDefined() const
Check that everything is defined.
void x0(const Real &a_x0)
virtual void artificialViscosity(Real a_artificialViscosity)
sets coefficient of artificial viscosity (from divergence)