#include <AMRLevelAdvectDiffuseFactory.H>
Public Member Functions | |
AMRLevelAdvectDiffuseFactory (const AdvectPhysics &a_gphys, AdvectionVelocityFunction a_advFunc, BCHolder a_bcFunc, const Real &a_cfl, const Real &a_domainLength, const Real &a_refineThresh, const int &a_tagBufferSize, const Real &a_initialDtMultiplier, const bool &a_useLimiting, const Real &a_nu) | |
Constructor. | |
virtual | ~AMRLevelAdvectDiffuseFactory () |
Destructor. | |
virtual AMRLevel * | new_amrlevel () const |
Protected Attributes | |
Real | m_cfl |
Real | m_domainLength |
Real | m_refineThresh |
int | m_tagBufferSize |
Real | m_initialDtMultiplier |
bool | m_useLimiting |
Real | m_nu |
RefCountedPtr< AdvectPhysics > | m_advPhys |
AdvectionVelocityFunction | m_advFunc |
BCHolder | m_bcFunc |
Private Member Functions | |
AMRLevelAdvectDiffuseFactory () | |
Weak construction is disallowed. | |
void | operator= (const AMRLevelAdvectDiffuseFactory &) |
AMRLevelAdvectDiffuseFactory (const AMRLevelAdvectDiffuseFactory &) |
AMRLevelAdvectDiffuseFactory::AMRLevelAdvectDiffuseFactory | ( | const AdvectPhysics & | a_gphys, | |
AdvectionVelocityFunction | a_advFunc, | |||
BCHolder | a_bcFunc, | |||
const Real & | a_cfl, | |||
const Real & | a_domainLength, | |||
const Real & | a_refineThresh, | |||
const int & | a_tagBufferSize, | |||
const Real & | a_initialDtMultiplier, | |||
const bool & | a_useLimiting, | |||
const Real & | a_nu | |||
) |
Constructor.
a_gphys | advection physics class |
a_advFunc | velocity function providing the advection velocity |
a_bcFunc | boundary condition class for diffusion solve |
a_cfl | CFL number |
a_domainLength | physical length of domain |
a_refineThresh | undivided gradient size over which a cell will be tagged for refinement |
a_tagBufferSize | number of buffer cells around each tagged cell that will also be tagged |
a_initialDtMultiplier | CFL number at beginning of calculation |
a_useLimiting | whether to use van Leer limiting |
a_nu | diffusion coefficient |
virtual AMRLevelAdvectDiffuseFactory::~AMRLevelAdvectDiffuseFactory | ( | ) | [inline, virtual] |
Destructor.
AMRLevelAdvectDiffuseFactory::AMRLevelAdvectDiffuseFactory | ( | ) | [inline, private] |
AMRLevelAdvectDiffuseFactory::AMRLevelAdvectDiffuseFactory | ( | const AMRLevelAdvectDiffuseFactory & | ) | [private] |
virtual AMRLevel* AMRLevelAdvectDiffuseFactory::new_amrlevel | ( | ) | const [virtual] |
Factory function. Creates a new AMRLevel. In your instantiation you should include defining all the stuff that is not part of the AMRLevel API.
Implements AMRLevelFactory.
void AMRLevelAdvectDiffuseFactory::operator= | ( | const AMRLevelAdvectDiffuseFactory & | ) | [private] |
Real AMRLevelAdvectDiffuseFactory::m_cfl [protected] |
Real AMRLevelAdvectDiffuseFactory::m_domainLength [protected] |
Real AMRLevelAdvectDiffuseFactory::m_refineThresh [protected] |
int AMRLevelAdvectDiffuseFactory::m_tagBufferSize [protected] |
bool AMRLevelAdvectDiffuseFactory::m_useLimiting [protected] |
Real AMRLevelAdvectDiffuseFactory::m_nu [protected] |
BCHolder AMRLevelAdvectDiffuseFactory::m_bcFunc [protected] |