Chombo + EB + MF  3.2
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
AMRLevelConsFactory Class Reference

AMR Cons Equation factory. More...

#include <AMRLevelConsFactory.H>

Inheritance diagram for AMRLevelConsFactory:
Inheritance graph
[legend]

Public Member Functions

 AMRLevelConsFactory ()
 Null constructor. More...
 
virtual AMRLevelnew_amrlevel () const
 Virtual 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...
 
virtual bool isDefined () const
 Check that everything is defined. More...
 
- Public Member Functions inherited from AMRLevelFactory
virtual ~AMRLevelFactory ()
 

Protected Member Functions

virtual void setDefaultValues ()
 
virtual void transferSettings (AMRLevelCons *a_newPtr) const
 

Protected Attributes

int m_verbosity
 
Real m_cfl
 
bool m_cflSet
 
int m_spaceOrder
 spatial order of accuracy (default is 4) More...
 
bool m_limitFaceValues
 if true, limit face values in advection More...
 
bool m_highOrderLimiter
 if true, use high-order limiter More...
 
bool m_initialAverage
 
bool m_useFlattening
 
bool m_noPPM
 
bool m_doDeconvolution
 
bool m_doFaceDeconvolution
 
bool m_useArtificialViscosity
 
Real m_artificialViscosity
 
bool m_useArtVisc
 
Real m_ratioArtVisc
 
bool m_forwardEuler
 
bool m_enforceMinVal
 if true, enforce min value More...
 
Real m_minVal
 min value to enforce More...
 
Real m_domainLength
 
bool m_domainLengthSet
 
Real m_refineThresh
 
bool m_refineThreshSet
 
bool m_refinementIsScaled
 
bool m_tagPressure
 
bool m_tagVorticity
 
int m_tagBufferSize
 
bool m_tagBufferSizeSet
 
Real m_initialDtMultiplier
 
bool m_initialDtMultiplierSet
 
const MOLPhysicsm_molPhysics
 

Private Member Functions

void operator= (const AMRLevelConsFactory &a_input)
 
 AMRLevelConsFactory (const AMRLevelConsFactory &a_input)
 

Detailed Description

AMR Cons Equation factory.

Constructor & Destructor Documentation

◆ AMRLevelConsFactory() [1/2]

AMRLevelConsFactory::AMRLevelConsFactory ( )

Null constructor.

◆ ~AMRLevelConsFactory()

virtual AMRLevelConsFactory::~AMRLevelConsFactory ( )
virtual

Destructor.

◆ AMRLevelConsFactory() [2/2]

AMRLevelConsFactory::AMRLevelConsFactory ( const AMRLevelConsFactory a_input)
private

Member Function Documentation

◆ new_amrlevel()

virtual AMRLevel* AMRLevelConsFactory::new_amrlevel ( ) const
virtual

Virtual constructor.

Implements AMRLevelFactory.

Reimplemented in AMRLevelMappedConsFactory.

◆ CFL()

virtual void AMRLevelConsFactory::CFL ( Real  a_cfl)
virtual

CFL number.

◆ spaceOrder()

virtual void AMRLevelConsFactory::spaceOrder ( int  a_spaceOrder)
virtual

spatial order of accuracy (default is 4)

◆ limitFaceValues()

virtual void AMRLevelConsFactory::limitFaceValues ( bool  a_limitFaceValues)
virtual

sets whether to limit face values in advection (default is false)

◆ highOrderLimiter()

virtual void AMRLevelConsFactory::highOrderLimiter ( bool  a_highOrderLimiter)
virtual

sets whether to use high-order limiter (default is true)

◆ initialAverage()

virtual void AMRLevelConsFactory::initialAverage ( bool  a_initialAverage)
virtual

sets whether initial data is average; default false

◆ useFlattening()

virtual void AMRLevelConsFactory::useFlattening ( bool  a_useFlattening)
virtual

sets whether to flatten extrapolations to faces

◆ noPPM()

virtual void AMRLevelConsFactory::noPPM ( bool  a_noPPM)
virtual

sets whether to turn PPM off

◆ doDeconvolution()

virtual void AMRLevelConsFactory::doDeconvolution ( bool  a_doDeconvolution)
virtual

sets m_doDeconvolution

◆ doFaceDeconvolution()

virtual void AMRLevelConsFactory::doFaceDeconvolution ( bool  a_doFaceDeconvolution)
virtual

sets m_doFaceDeconvolution

◆ useArtificialViscosity()

virtual void AMRLevelConsFactory::useArtificialViscosity ( bool  a_useArtificialViscosity)
virtual

sets whether to use artificial viscosity (from divergence)

◆ artificialViscosity()

virtual void AMRLevelConsFactory::artificialViscosity ( Real  a_artificialViscosity)
virtual

sets coefficient of artificial viscosity (from divergence)

◆ useArtVisc()

virtual void AMRLevelConsFactory::useArtVisc ( bool  a_useArtVisc)
virtual

sets whether to use artificial viscosity

◆ ratioArtVisc()

virtual void AMRLevelConsFactory::ratioArtVisc ( Real  a_ratioArtVisc)
virtual

sets coefficient of artificial viscosity

◆ forwardEuler()

virtual void AMRLevelConsFactory::forwardEuler ( bool  a_forwardEuler)
virtual

sets whether forward Euler is used (instead of RK4)

◆ enforceMinVal()

virtual void AMRLevelConsFactory::enforceMinVal ( bool  a_enforceMinVal,
Real  a_minVal 
)
virtual

sets whether to enforce a min value in advection, along with valeu

◆ domainLength()

virtual void AMRLevelConsFactory::domainLength ( Real  a_domainLength)
virtual

Physical dimension of the longest side of the domain.

◆ x0()

void AMRLevelConsFactory::x0 ( const Real a_x0)

◆ verbosity()

virtual void AMRLevelConsFactory::verbosity ( const int &  verbosity)
virtual

◆ refinementThreshold()

virtual void AMRLevelConsFactory::refinementThreshold ( Real  a_refineThresh)
virtual

Refinement threshold.

◆ refinementIsScaled()

virtual void AMRLevelConsFactory::refinementIsScaled ( bool  a_refinementIsScaled)
virtual

Set whether refinement threshold is scaled with dx.

◆ tagPressure()

virtual void AMRLevelConsFactory::tagPressure ( bool  a_tagPressure)
virtual

Set whether to tag on pressure instead of on density.

◆ tagVorticity()

virtual void AMRLevelConsFactory::tagVorticity ( bool  a_tagVorticity)
virtual

Set whether to tag on vorticity instead of on density.

◆ tagBufferSize()

virtual void AMRLevelConsFactory::tagBufferSize ( int  a_tagBufferSize)
virtual

Tag buffer size.

◆ molPhysics()

virtual void AMRLevelConsFactory::molPhysics ( const MOLPhysics *const  a_molPhysics)
virtual

MOLPhysics class.

◆ initialDtMultiplier()

void AMRLevelConsFactory::initialDtMultiplier ( Real  a_initialDtMultiplier)

Initial dt multiplier.

◆ isDefined()

virtual bool AMRLevelConsFactory::isDefined ( ) const
virtual

Check that everything is defined.

Reimplemented in AMRLevelMappedConsFactory.

◆ setDefaultValues()

virtual void AMRLevelConsFactory::setDefaultValues ( )
protectedvirtual

Reimplemented in AMRLevelMappedConsFactory.

◆ transferSettings()

virtual void AMRLevelConsFactory::transferSettings ( AMRLevelCons a_newPtr) const
protectedvirtual

Reimplemented in AMRLevelMappedConsFactory.

◆ operator=()

void AMRLevelConsFactory::operator= ( const AMRLevelConsFactory a_input)
private

Member Data Documentation

◆ m_verbosity

int AMRLevelConsFactory::m_verbosity
protected

◆ m_cfl

Real AMRLevelConsFactory::m_cfl
protected

◆ m_cflSet

bool AMRLevelConsFactory::m_cflSet
protected

◆ m_spaceOrder

int AMRLevelConsFactory::m_spaceOrder
protected

spatial order of accuracy (default is 4)

◆ m_limitFaceValues

bool AMRLevelConsFactory::m_limitFaceValues
protected

if true, limit face values in advection

◆ m_highOrderLimiter

bool AMRLevelConsFactory::m_highOrderLimiter
protected

if true, use high-order limiter

◆ m_initialAverage

bool AMRLevelConsFactory::m_initialAverage
protected

◆ m_useFlattening

bool AMRLevelConsFactory::m_useFlattening
protected

◆ m_noPPM

bool AMRLevelConsFactory::m_noPPM
protected

◆ m_doDeconvolution

bool AMRLevelConsFactory::m_doDeconvolution
protected

◆ m_doFaceDeconvolution

bool AMRLevelConsFactory::m_doFaceDeconvolution
protected

◆ m_useArtificialViscosity

bool AMRLevelConsFactory::m_useArtificialViscosity
protected

◆ m_artificialViscosity

Real AMRLevelConsFactory::m_artificialViscosity
protected

◆ m_useArtVisc

bool AMRLevelConsFactory::m_useArtVisc
protected

◆ m_ratioArtVisc

Real AMRLevelConsFactory::m_ratioArtVisc
protected

◆ m_forwardEuler

bool AMRLevelConsFactory::m_forwardEuler
protected

◆ m_enforceMinVal

bool AMRLevelConsFactory::m_enforceMinVal
protected

if true, enforce min value

◆ m_minVal

Real AMRLevelConsFactory::m_minVal
protected

min value to enforce

◆ m_domainLength

Real AMRLevelConsFactory::m_domainLength
protected

◆ m_domainLengthSet

bool AMRLevelConsFactory::m_domainLengthSet
protected

◆ m_refineThresh

Real AMRLevelConsFactory::m_refineThresh
protected

◆ m_refineThreshSet

bool AMRLevelConsFactory::m_refineThreshSet
protected

◆ m_refinementIsScaled

bool AMRLevelConsFactory::m_refinementIsScaled
protected

◆ m_tagPressure

bool AMRLevelConsFactory::m_tagPressure
protected

◆ m_tagVorticity

bool AMRLevelConsFactory::m_tagVorticity
protected

◆ m_tagBufferSize

int AMRLevelConsFactory::m_tagBufferSize
protected

◆ m_tagBufferSizeSet

bool AMRLevelConsFactory::m_tagBufferSizeSet
protected

◆ m_initialDtMultiplier

Real AMRLevelConsFactory::m_initialDtMultiplier
protected

◆ m_initialDtMultiplierSet

bool AMRLevelConsFactory::m_initialDtMultiplierSet
protected

◆ m_molPhysics

const MOLPhysics* AMRLevelConsFactory::m_molPhysics
protected

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