Chombo + EB + MF
3.2
|
#include <VCAggStencil.H>
Public Member Functions | |
VCAggStencil (const Vector< RefCountedPtr< BaseIndex > > &a_dstVoFs, const Vector< RefCountedPtr< BaseStencil > > &a_stencil, const EBCellFAB &a_phiData, const EBCellFAB &a_rhsData, const EBCellFAB &a_relCoef, const BaseIVFAB< Real > &a_alphaDiagWeight, const int &a_ncomp) | |
virtual | ~VCAggStencil () |
virtual void | cachePhi (const EBCellFAB &a_phi) const |
virtual void | uncachePhi (EBCellFAB &a_phi) const |
virtual void | relax (EBCellFAB &a_phi, const EBCellFAB &a_rhs, const EBCellFAB &a_relCoef, const BaseIVFAB< Real > &a_alphaDiagWeight, const Real &a_alpha, const Real &a_beta, const int &a_varDest, const IntVect &a_color) |
virtual void | apply (EBCellFAB &a_lphi, const EBCellFAB &a_phi, const BaseIVFAB< Real > &a_alphaDiagWeight, const Real &a_alpha, const Real &a_beta, const int &a_varDest, const bool &a_incrmentOnly) |
Public Member Functions inherited from AggStencil< EBCellFAB, EBCellFAB > | |
AggStencil (const Vector< RefCountedPtr< BaseIndex > > &a_dstVoFs, const Vector< RefCountedPtr< BaseStencil > > &a_stencil, const EBCellFAB &a_srcData, const EBCellFAB &a_dstData) | |
~AggStencil () | |
void | apply (EBCellFAB &a_lph, const EBCellFAB &a_phi, const int &a_varDest, const bool &a_incrementOnly) const |
void | apply (EBCellFAB &a_lph, const EBCellFAB &a_phi, const int &a_src, const int &a_dst, const int &a_nco, const bool &a_incrementOnly) const |
void | cache (const EBCellFAB &a_lph) const |
void | uncache (EBCellFAB &a_phi) const |
Protected Attributes | |
Vector< IntVect > | m_iv |
int | m_destVar |
Vector< access_t > | m_phiAccess |
Vector< access_t > | m_relAccess |
Vector< access_t > | m_alpAccess |
Vector< IntVect > | m_destIV |
Vector< Vector< Real > > | m_cachePhi |
Protected Attributes inherited from AggStencil< EBCellFAB, EBCellFAB > | |
int | m_destVar |
Vector< stencil_t > | m_ebstencil |
Vector< access_t > | m_dstAccess |
Vector< Vector< Real > > | m_cacheDst |
Private Member Functions | |
VCAggStencil () | |
disallowed operators. Without code because Jeffster says that is better. More... | |
VCAggStencil & | operator= (const VCAggStencil &stenin) |
deep copy for this object would kill performance More... | |
VCAggStencil (const VCAggStencil &stenin) | |
no reason to allow this one either. More... | |
Additional Inherited Members | |
Public Types inherited from AggStencil< EBCellFAB, EBCellFAB > | |
typedef Vector< pair< access_t, Real > > | stencil_t |
specialization of aggstencil for variable coefficient elliptic operators. Real* dataPtr(int dataType, int ivar);
sten_t classes need the following functions srcIndex_t index(int isten) Real weight(int isten)
VCAggStencil::VCAggStencil | ( | const Vector< RefCountedPtr< BaseIndex > > & | a_dstVoFs, |
const Vector< RefCountedPtr< BaseStencil > > & | a_stencil, | ||
const EBCellFAB & | a_phiData, | ||
const EBCellFAB & | a_rhsData, | ||
const EBCellFAB & | a_relCoef, | ||
const BaseIVFAB< Real > & | a_alphaDiagWeight, | ||
const int & | a_ncomp | ||
) |
a_dstIndex is where the answers will go. a_srcStencil is the stencil into the src data a_phiData is to provide offsets for source data (can be a dummy but must be the right size) a_rhsData is to provide offsets for destin data (can be a dummy but must be the right size) ncomp is the number of components in the cache rhsData and phiData can have the wrong number of comps
|
inlinevirtual |
References apply(), cachePhi(), relax(), and uncachePhi().
|
private |
disallowed operators. Without code because Jeffster says that is better.
weak construction is bad.
|
private |
no reason to allow this one either.
|
virtual |
Referenced by ~VCAggStencil().
|
virtual |
Referenced by ~VCAggStencil().
|
virtual |
for the given color phi := phi + relcoef*(lphi - rhs) where lphi = alpha*alphadiagweight*phi + beta*divF where divF is given by the input stencil above
Referenced by ~VCAggStencil().
|
virtual |
lphi = alpha*alphadiagweight*phi + beta*divF where divF is given by the input stencil above
Referenced by ~VCAggStencil().
|
private |
deep copy for this object would kill performance
|
protected |
|
protected |
|
protected |
|
protected |