AMRLevelMappedConsFactory Class Reference

#include <AMRLevelMappedConsFactory.H>

Inheritance diagram for AMRLevelMappedConsFactory:

Inheritance graph
[legend]

List of all members.


Detailed Description

AMR Cons Equation factory.

Public Member Functions

 AMRLevelMappedConsFactory ()
 Null constructor.
 AMRLevelMappedConsFactory (NewCoordSysFactory *const a_coordSysFact, AMRLevelMappedStabilityStrategy *a_stableTimeSteppingStrategy, AMRLevelMappedTaggingStrategy *a_taggingStategy)
 Constructor for a single-block coordinate system.
 AMRLevelMappedConsFactory (MultiBlockCoordSysFactory *const a_coordSysFact, AMRLevelMappedStabilityStrategy *a_stableTimeSteppingStrategy, AMRLevelMappedTaggingStrategy *a_taggingStategy)
 Constructor for a multi-block coordinate system.
virtual AMRLevelnew_amrlevel () const
 Virtual constructor.
virtual ~AMRLevelMappedConsFactory ()
 Destructor.
void coordinateSystemFactory (MultiBlockCoordSysFactory *a_coordSysFact)
 Set the factory for the coordinate system.
virtual void useSourceTerm (bool a_useSourceTerm)
 Set whether to use source term.
virtual void sourceTerm (const LevelSourceTerm *const a_sourceTerm)
 Source term class, if necessary.
virtual void useArtificialDissipation (bool a_useArtificialDissipation)
 Set whether to modify fluxes by adding artificial dissipation based on 5th derivative.
virtual void artificialDissipation (Real a_artificialDissipation)
 Set coefficient of artificial dissipation.
void plotPrefix (const std::string &a_plotfile_prefix)
bool isDefined () const
 Check that everything is defined.
virtual void writeJ (bool a_writeJ)
virtual void writeExact (bool a_writeExact)
virtual void writeError (bool a_writeError)
virtual void writeMap (bool a_writeMap)

Protected Member Functions

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

Protected Attributes

bool m_singleBlock
bool m_useSourceTerm
const LevelSourceTermm_sourceTerm
bool m_useArtificialDissipation
Real m_artificialDissipation
MultiBlockCoordSysFactorym_coordSysFact
std::string m_plotPrefix
bool m_writeJ
bool m_writeExact
bool m_writeError
bool m_writeMap
 Whether to write out mapping file.
AMRLevelMappedStabilityStrategym_stabilityStrategy
AMRLevelMappedTaggingStrategym_taggingStrategy

Private Member Functions

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

Constructor & Destructor Documentation

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 AMRLevelMappedConsFactory::~AMRLevelMappedConsFactory (  )  [virtual]

Destructor.

AMRLevelMappedConsFactory::AMRLevelMappedConsFactory ( const AMRLevelMappedConsFactory a_input  )  [private]


Member Function Documentation

virtual AMRLevel* AMRLevelMappedConsFactory::new_amrlevel (  )  const [virtual]

Virtual constructor.

Reimplemented from AMRLevelConsFactory.

void AMRLevelMappedConsFactory::coordinateSystemFactory ( MultiBlockCoordSysFactory a_coordSysFact  ) 

Set the factory for the coordinate system.

virtual void AMRLevelMappedConsFactory::useSourceTerm ( bool  a_useSourceTerm  )  [virtual]

Set whether to use source term.

virtual void AMRLevelMappedConsFactory::sourceTerm ( const LevelSourceTerm *const   a_sourceTerm  )  [virtual]

Source term class, if necessary.

virtual void AMRLevelMappedConsFactory::useArtificialDissipation ( bool  a_useArtificialDissipation  )  [virtual]

Set whether to modify fluxes by adding artificial dissipation based on 5th derivative.

virtual void AMRLevelMappedConsFactory::artificialDissipation ( Real  a_artificialDissipation  )  [virtual]

Set coefficient of artificial dissipation.

void AMRLevelMappedConsFactory::plotPrefix ( const std::string &  a_plotfile_prefix  ) 

bool AMRLevelMappedConsFactory::isDefined (  )  const [virtual]

Check that everything is defined.

Reimplemented from AMRLevelConsFactory.

virtual void AMRLevelMappedConsFactory::writeJ ( bool  a_writeJ  )  [virtual]

virtual void AMRLevelMappedConsFactory::writeExact ( bool  a_writeExact  )  [virtual]

virtual void AMRLevelMappedConsFactory::writeError ( bool  a_writeError  )  [virtual]

virtual void AMRLevelMappedConsFactory::writeMap ( bool  a_writeMap  )  [virtual]

virtual void AMRLevelMappedConsFactory::setDefaultValues (  )  [protected, virtual]

Reimplemented from AMRLevelConsFactory.

virtual void AMRLevelMappedConsFactory::transferSettings ( AMRLevelCons a_newPtr  )  const [protected, virtual]

Reimplemented from AMRLevelConsFactory.

void AMRLevelMappedConsFactory::operator= ( const AMRLevelMappedConsFactory a_input  )  [private]


Member Data Documentation

std::string AMRLevelMappedConsFactory::m_plotPrefix [protected]

Whether to write out mapping file.


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

Generated on Tue Dec 12 03:27:03 2017 for Chombo + EB + MF by  doxygen 1.5.5