11 #ifndef _VARCOEFSTENCIL_H_ 12 #define _VARCOEFSTENCIL_H_ 18 #include "NamespaceHeader.H" 174 #ifdef CH_EXPLICIT_TEMPLATES 186 void linearIn<VarCoefStencil>(
VarCoefStencil& a_outputT,
const void*
const inBuf)
191 void linearOut<VarCoefStencil>(
void*
const a_outBuf,
const VarCoefStencil& a_inputT)
203 void linearIn<bool>(
bool& a_outputT,
const void*
const inBuf)
208 void linearOut<bool>(
void*
const a_outBuf,
const bool& a_inputT)
214 #endif // CH_EXPLICIT_TEMPLATES 217 #include "NamespaceFooter.H" VarCoefStencil & operator+=(const VarCoefStencil &a_vofsten)
#define CH_assert(cond)
Definition: CHArray.H:37
const VolIndex & vof(int i) const
Definition: VarCoefStencil.H:157
Definition: FaceIndex.H:28
VarCoefStencil & operator=(const VarCoefStencil &a_vofsten)
VoF-centered stencil.
Definition: VarCoefStencil.H:27
int size() const
Definition: VarCoefStencil.H:145
Vector< VolIndex > vofs
the VoFs
Definition: VarCoefStencil.H:128
void operator*=(const Real &scaling)
Vector< int > variables
Definition: VarCoefStencil.H:134
const FaceIndex & coefLoc(int i) const
Definition: VarCoefStencil.H:151
double Real
Definition: REAL.H:33
const Real & weight(int i) const
Definition: VarCoefStencil.H:163
int linearSize(const T &inputT)
Definition: SPMDI.H:20
size_t size() const
Definition: Vector.H:177
void add(const VolIndex &vof, const FaceIndex &coefloc, const Real &weight, int ivar)
Vector< FaceIndex > coefLocs
Where the face-centered coefficients live.
Definition: VarCoefStencil.H:137
Vector< Real > weights
the weights
Definition: VarCoefStencil.H:132
Volume of Fluid Index.
Definition: VolIndex.H:31
const int & variable(int i) const
void setAllVariables(int a_var)
Definition: VarCoefStencil.H:118