Chombo + EB + MF
3.2
|
#include <NWOEBViscousTensorOpFactory.H>
Public Member Functions | |
virtual | ~NWOEBViscousTensorOpFactory () |
NWOEBViscousTensorOpFactory (const Vector< EBLevelGrid > &a_eblgs, const Real &a_alpha, const Real &a_beta, const Vector< RefCountedPtr< LevelData< EBCellFAB > > > &a_acoef, const Vector< RefCountedPtr< LevelData< EBFluxFAB > > > &a_eta, const Vector< RefCountedPtr< LevelData< EBFluxFAB > > > &a_lambda, const Vector< RefCountedPtr< LevelData< BaseIVFAB< Real > > > > &a_etaIrreg, const Vector< RefCountedPtr< LevelData< BaseIVFAB< Real > > > > &a_lambdaIrreg, const Real &a_dxCoarse, const Vector< int > &a_refRatio, const RefCountedPtr< BaseDomainBCFactory > &a_domainBCFactory, const RefCountedPtr< BaseEBBCFactory > &a_ebBcFactory, const IntVect &a_ghostCellsPhi, const IntVect &a_ghostCellsRhs, int a_numLevels=-1, bool a_noMG=false) | |
NWOEBViscousTensorOpFactory (EBLevelGrid &a_eblgs, const RefCountedPtr< BaseDomainBCFactory > &a_domainBCFactory, const RefCountedPtr< BaseEBBCFactory > &a_ebBcFactory) | |
just for convenience in load balancing manufactures coefficients and everything More... | |
virtual NWOEBViscousTensorOp * | MGnewOp (const ProblemDomain &a_FineindexSpace, int a_depth, bool a_homoOnly=true) |
virtual NWOEBViscousTensorOp * | newOpForTimingOnly (const ProblemDomain &a_FineindexSpace) |
This for introspective load balance. More... | |
NWOEBViscousTensorOp * | createOperator (const EBLevelGrid &a_eblgMGLevel, const EBLevelGrid &a_eblgCoarMG, const bool &a_hasMGObjects, const RealVect &a_dxMGLevel, const RealVect &a_dxCoar, const int &a_whichLevel) |
virtual void | reclaim (MGLevelOp< LevelData< EBCellFAB > > *a_reclaim) |
virtual NWOEBViscousTensorOp * | AMRnewOp (const ProblemDomain &a_FineindexSpace) |
virtual void | AMRreclaim (NWOEBViscousTensorOp *a_reclaim) |
virtual int | refToFiner (const ProblemDomain &a_domain) const |
void | resetCoefficients (const Real &a_alpha, const Real &a_beta, const Vector< RefCountedPtr< LevelData< EBCellFAB > > > &a_acoef, const Vector< RefCountedPtr< LevelData< EBFluxFAB > > > &a_eta, const Vector< RefCountedPtr< LevelData< EBFluxFAB > > > &a_lambda, const Vector< RefCountedPtr< LevelData< BaseIVFAB< Real > > > > &a_etaIrreg, const Vector< RefCountedPtr< LevelData< BaseIVFAB< Real > > > > &a_lambdaIrreg) |
IntVect | getGhostPhi () const |
IntVect | getGhostRHS () const |
Public Member Functions inherited from AMRLevelOpFactory< LevelData< EBCellFAB > > | |
virtual | ~AMRLevelOpFactory () |
Public Member Functions inherited from MGLevelOpFactory< LevelData< EBCellFAB > > | |
MGLevelOpFactory () | |
Base class constructor. More... | |
virtual | ~MGLevelOpFactory () |
Destructor. More... | |
Private Member Functions | |
NWOEBViscousTensorOpFactory () | |
weak construction bad More... | |
NWOEBViscousTensorOpFactory (const NWOEBViscousTensorOpFactory &a_opin) | |
void | operator= (const NWOEBViscousTensorOpFactory &a_opin) |
Factory class to generate NWOEBViscousTensorOps. This follows the AMRLevelOpFactory interface.
|
virtual |
NWOEBViscousTensorOpFactory::NWOEBViscousTensorOpFactory | ( | const Vector< EBLevelGrid > & | a_eblgs, |
const Real & | a_alpha, | ||
const Real & | a_beta, | ||
const Vector< RefCountedPtr< LevelData< EBCellFAB > > > & | a_acoef, | ||
const Vector< RefCountedPtr< LevelData< EBFluxFAB > > > & | a_eta, | ||
const Vector< RefCountedPtr< LevelData< EBFluxFAB > > > & | a_lambda, | ||
const Vector< RefCountedPtr< LevelData< BaseIVFAB< Real > > > > & | a_etaIrreg, | ||
const Vector< RefCountedPtr< LevelData< BaseIVFAB< Real > > > > & | a_lambdaIrreg, | ||
const Real & | a_dxCoarse, | ||
const Vector< int > & | a_refRatio, | ||
const RefCountedPtr< BaseDomainBCFactory > & | a_domainBCFactory, | ||
const RefCountedPtr< BaseEBBCFactory > & | a_ebBcFactory, | ||
const IntVect & | a_ghostCellsPhi, | ||
const IntVect & | a_ghostCellsRhs, | ||
int | a_numLevels = -1 , |
||
bool | a_noMG = false |
||
) |
Constructs a factory that builds EBViscousTensorOps with time-independent A and B coefficients.
NWOEBViscousTensorOpFactory::NWOEBViscousTensorOpFactory | ( | EBLevelGrid & | a_eblgs, |
const RefCountedPtr< BaseDomainBCFactory > & | a_domainBCFactory, | ||
const RefCountedPtr< BaseEBBCFactory > & | a_ebBcFactory | ||
) |
just for convenience in load balancing manufactures coefficients and everything
|
inlineprivate |
weak construction bad
References MayDay::Error().
|
inlineprivate |
References MayDay::Error().
|
virtual |
Create an operator at an index space = coarsen(a_fineIndexSpace, 2^a_depth) Return NULL if no such Multigrid level can be created at this a_depth. If a_homoOnly = true, then only homogeneous boundary conditions will be needed.
Implements MGLevelOpFactory< LevelData< EBCellFAB > >.
|
virtual |
This for introspective load balance.
NWOEBViscousTensorOp* NWOEBViscousTensorOpFactory::createOperator | ( | const EBLevelGrid & | a_eblgMGLevel, |
const EBLevelGrid & | a_eblgCoarMG, | ||
const bool & | a_hasMGObjects, | ||
const RealVect & | a_dxMGLevel, | ||
const RealVect & | a_dxCoar, | ||
const int & | a_whichLevel | ||
) |
|
virtual |
|
virtual |
return a new operator. this is done with a new call. caller is responsible for deletion
Implements AMRLevelOpFactory< LevelData< EBCellFAB > >.
|
virtual |
|
virtual |
Refinement ratio between this level and coarser level. Returns 1 when there are no coarser AMRLevelOp objects
Implements AMRLevelOpFactory< LevelData< EBCellFAB > >.
|
inline |
References m_acoef, m_alpha, m_beta, m_eta, m_etaIrreg, m_lambda, and m_lambdaIrreg.
|
inline |
References m_ghostCellsPhi.
|
inline |
References m_ghostCellsRhs.
|
inlineprivate |
References MayDay::Error().
|
protected |
|
protected |
Time-independent a multigrid coefficients.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by resetCoefficients().
|
protected |
Referenced by resetCoefficients().
|
protected |
Time-independent a coefficients.
Referenced by resetCoefficients().
|
protected |
Referenced by resetCoefficients().
|
protected |
Referenced by resetCoefficients().
|
protected |
Referenced by resetCoefficients().
|
protected |
Referenced by resetCoefficients().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by getGhostPhi().
|
protected |
Referenced by getGhostRHS().
|
protected |
|
protected |
|
protected |