11 #ifndef _NWOEBCONDUCTIVITYOPFACTORY_H_ 12 #define _NWOEBCONDUCTIVITYOPFACTORY_H_ 39 #include "NamespaceHeader.H" 58 const Real& a_dxCoarse,
64 const int& a_relaxType,
65 int a_numLevels = -1);
82 bool a_homoOnly =
true);
86 const bool& a_hasMGObjects,
89 const int& a_whichLevel);
197 #include "NamespaceFooter.H" static void setMaxBoxSize(int a_maxBoxSize)
Definition: NWOEBConductivityOpFactory.H:115
static int s_maxBoxSize
Definition: NWOEBConductivityOpFactory.H:121
Vector< Vector< RefCountedPtr< LevelData< EBCellFAB > > > > m_acoefMG0
Beginning-of-step (time-dependent) A multigrid coefficients.
Definition: NWOEBConductivityOpFactory.H:148
Vector< RefCountedPtr< LevelData< BaseIVFAB< Real > > > > m_data
Definition: NWOEBConductivityOpFactory.H:140
bool m_dataBased
Definition: NWOEBConductivityOpFactory.H:141
RefCountedPtr< BaseDomainBCFactory > m_domainBCFactory
Definition: NWOEBConductivityOpFactory.H:170
virtual NWOEBConductivityOp * MGnewOp(const ProblemDomain &a_FineindexSpace, int a_depth, bool a_homoOnly=true)
Vector< Vector< RefCountedPtr< LevelData< EBCellFAB > > > > m_acoefMG
Time-independent A multigrid coefficients.
Definition: NWOEBConductivityOpFactory.H:145
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
Real m_dxCoarse
Definition: NWOEBConductivityOpFactory.H:168
Vector< Vector< RefCountedPtr< LevelData< EBFluxFAB > > > > m_bcoefMG
Definition: NWOEBConductivityOpFactory.H:153
Definition: NWOEBConductivityOp.H:52
virtual void setData(Vector< RefCountedPtr< LevelData< BaseIVFAB< Real > > > > &a_data)
Definition: NWOEBConductivityOpFactory.H:72
Real m_alpha
Definition: NWOEBConductivityOpFactory.H:159
Vector< EBLevelGrid > m_eblgs
Definition: NWOEBConductivityOpFactory.H:157
Definition: EBLevelGrid.H:30
virtual int refToFiner(const ProblemDomain &a_domain) const
Vector< int > m_refRatio
Definition: NWOEBConductivityOpFactory.H:169
Vector< RefCountedPtr< LevelData< EBCellFAB > > > m_acoef
Time-independent A coefficients.
Definition: NWOEBConductivityOpFactory.H:163
void operator=(const NWOEBConductivityOpFactory &a_opin)
Definition: NWOEBConductivityOpFactory.H:191
virtual ~NWOEBConductivityOpFactory()
Destructor.
static void setTestRef(int a_testRef)
Definition: NWOEBConductivityOpFactory.H:110
std::vector< bool > m_hasMGObjects
Definition: NWOEBConductivityOpFactory.H:175
Vector< Real > m_dx
Definition: NWOEBConductivityOpFactory.H:176
Vector< RefCountedPtr< LevelData< BaseIVFAB< Real > > > > m_bcoefIrreg
Definition: NWOEBConductivityOpFactory.H:167
double Real
Definition: REAL.H:33
Definition: MultiGrid.H:30
Vector< RefCountedPtr< LevelData< EBFluxFAB > > > m_bcoef
Definition: NWOEBConductivityOpFactory.H:166
static int s_testRef
Definition: NWOEBConductivityOpFactory.H:120
static void Error(const char *const a_msg=m_nullString, int m_exitCode=CH_DEFAULT_ERROR_CODE)
Print out message to cerr and exit with the specified exit code.
virtual void AMRreclaim(NWOEBConductivityOp *a_reclaim)
Vector< Vector< EBLevelGrid > > m_eblgsMG
Definition: NWOEBConductivityOpFactory.H:142
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
virtual void reclaim(MGLevelOp< LevelData< EBCellFAB > > *a_reclaim)
virtual NWOEBConductivityOp * AMRnewOp(const ProblemDomain &a_FineindexSpace)
NWOEBConductivityOpFactory(const NWOEBConductivityOpFactory &a_opin)
Definition: NWOEBConductivityOpFactory.H:185
int m_numLevels
Definition: NWOEBConductivityOpFactory.H:174
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
Real m_beta
Definition: NWOEBConductivityOpFactory.H:160
Vector< RefCountedPtr< NWOEBQuadCFInterp > > m_quadCFI
Definition: NWOEBConductivityOpFactory.H:158
NWOEBConductivityOp * 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)
Definition: NWOEBConductivityOpFactory.H:45
Vector< Vector< RefCountedPtr< LevelData< EBCellFAB > > > > m_acoefMG1
End-of-step (time-dependent) A multigrid coefficients.
Definition: NWOEBConductivityOpFactory.H:151
int m_relaxType
Definition: NWOEBConductivityOpFactory.H:156
Definition: AMRMultiGrid.H:233
Vector< Vector< RefCountedPtr< LevelData< BaseIVFAB< Real > > > > > m_bcoefIrregMG
Definition: NWOEBConductivityOpFactory.H:154
NWOEBConductivityOpFactory()
weak construction bad
Definition: NWOEBConductivityOpFactory.H:179
void resetCoefficients(const Real &a_alpha, const Real &a_beta, const Vector< RefCountedPtr< LevelData< EBCellFAB > > > &a_acoef, const Vector< RefCountedPtr< LevelData< EBFluxFAB > > > &a_bcoef, const Vector< RefCountedPtr< LevelData< BaseIVFAB< Real > > > > &a_bcoefIrreg)
Reset the coefficients for the conductivity operator (time-independent).
Definition: NWOEBConductivityOpFactory.H:124
IntVect m_ghostCellsPhi
Definition: NWOEBConductivityOpFactory.H:172
IntVect m_ghostCellsRhs
Definition: NWOEBConductivityOpFactory.H:173
RefCountedPtr< BaseEBBCFactory > m_ebBCFactory
Definition: NWOEBConductivityOpFactory.H:171