19 #include "NamespaceHeader.H" 39 virtual int size()
const = 0;
46 virtual const Real&
weight(
int isten)
const = 0;
49 virtual const int&
variable(
int isten)
const = 0;
88 virtual int size()
const;
117 virtual const int&
variable(
int i)
const;
137 void operator*=(
const Real& scaling);
191 virtual int size()
const;
196 if (faces.size() > 0)
220 virtual const int&
variable(
int i)
const;
245 void operator*=(
const Real& scaling);
271 return weights.size();
294 #ifdef CH_EXPLICIT_TEMPLATES 304 void linearIn<FaceStencil>(
FaceStencil& a_outputT,
const void*
const inBuf)
309 void linearOut<FaceStencil>(
void*
const a_outBuf,
const FaceStencil& a_inputT)
321 void linearIn<VoFStencil>(
VoFStencil& a_outputT,
const void*
const inBuf)
326 void linearOut<VoFStencil>(
void*
const a_outBuf,
const VoFStencil& a_inputT)
338 void linearIn<bool>(
bool& a_outputT,
const void*
const inBuf)
343 void linearOut<bool>(
void*
const a_outBuf,
const bool& a_inputT)
349 #endif // CH_EXPLICIT_TEMPLATES 352 #include "NamespaceFooter.H" Vector< int > variables
the variable numbers
Definition: Stencils.H:253
Definition: Stencils.H:167
#define CH_assert(cond)
Definition: CHArray.H:37
Vector< FaceIndex > faces
the Faces
Definition: Stencils.H:249
virtual int size() const =0
Real applyFaceStencil(const FaceStencil &a_faceSten, const EBFaceFAB &a_fab, const int &a_comp)
variable argument ignored—now uses the variables that live in the stencil
Definition: FaceIndex.H:28
virtual const BaseIndex & index(int isten) const =0
void setAllVariables(int a_var)
Definition: Stencils.H:146
index for other indicies to inherit
Definition: BaseIndex.H:26
Definition: EBFaceFAB.H:28
VoF-centered stencil.
Definition: Stencils.H:59
Vector< Real > weights
the weights
Definition: Stencils.H:158
Real applyVoFStencil(const VoFStencil &a_vofSten, const EBCellFAB &a_fab, const int &a_comp)
variable argument ignored—now uses the variables that live in the stencil
void setAllVariables(int a_var)
Definition: Stencils.H:194
Definition: EBCellFAB.H:29
double Real
Definition: REAL.H:33
int linearSize(const T &inputT)
Definition: SPMDI.H:20
virtual ~BaseStencil()
Definition: Stencils.H:34
BaseStencil()
Definition: Stencils.H:29
Definition: Stencils.H:25
Vector< VolIndex > vofs
the VoFs
Definition: Stencils.H:156
virtual int size() const
Definition: Stencils.H:269
Vector< Real > weights
the weights
Definition: Stencils.H:251
Volume of Fluid Index.
Definition: VolIndex.H:31
virtual const Real & weight(int i) const
Definition: Stencils.H:283
const VolIndex & vof(int i) const
Definition: Stencils.H:276
virtual BaseIndex & index(int i) const
Definition: Stencils.H:98
Vector< int > variables
Definition: Stencils.H:160
virtual const Real & weight(int isten) const =0
virtual const int & variable(int isten) const =0
virtual BaseIndex & index(int i) const
Definition: Stencils.H:214