19 #include "NamespaceHeader.H" 40 virtual int size()
const = 0;
47 virtual const Real&
weight(
int isten)
const = 0;
50 virtual const int&
variable(
int isten)
const = 0;
89 virtual int size()
const;
121 void shift(
const IntVect& a_shift);
124 virtual const int&
variable(
int i)
const;
144 void operator*=(
const Real& scaling);
161 void getExponentAndMantissa(
Real& a_mantissa,
int& a_exp,
Real a_input)
const;
164 void poutFortranRelative(
const IntVect& a_startIV,
const string& a_prefix,
const Real& wgtScaling)
const;
166 void outputToPout()
const;
170 int n = a_sten.
size();
172 for(
int i=0; i<n; i++ ) {
218 void shift(
const IntVect& a_shift);
224 virtual int size()
const;
229 if (faces.size() > 0)
253 virtual const int&
variable(
int i)
const;
278 void operator*=(
const Real& scaling);
280 void outputToPout()
const;
306 return weights.size();
329 #ifdef CH_EXPLICIT_TEMPLATES 339 void linearIn<FaceStencil>(
FaceStencil& a_outputT,
const void*
const inBuf)
344 void linearOut<FaceStencil>(
void*
const a_outBuf,
const FaceStencil& a_inputT)
356 void linearIn<VoFStencil>(
VoFStencil& a_outputT,
const void*
const inBuf)
361 void linearOut<VoFStencil>(
void*
const a_outBuf,
const VoFStencil& a_inputT)
373 void linearIn<bool>(
bool& a_outputT,
const void*
const inBuf)
378 void linearOut<bool>(
void*
const a_outBuf,
const bool& a_inputT)
384 #endif // CH_EXPLICIT_TEMPLATES 387 #include "NamespaceFooter.H" Vector< int > variables
the variable numbers
Definition: Stencils.H:288
Definition: Stencils.H:194
#define CH_assert(cond)
Definition: CHArray.H:37
Vector< FaceIndex > faces
the Faces
Definition: Stencils.H:284
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:153
index for other indicies to inherit
Definition: BaseIndex.H:26
Definition: EBFaceFAB.H:28
VoF-centered stencil.
Definition: Stencils.H:60
Vector< Real > weights
the weights
Definition: Stencils.H:185
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:227
Definition: EBCellFAB.H:29
double Real
Definition: REAL.H:33
friend std::ostream & operator<<(std::ostream &os, const VoFStencil &a_sten)
Definition: Stencils.H:168
int linearSize(const T &inputT)
Definition: SPMDI.H:21
virtual ~BaseStencil()
Definition: Stencils.H:35
BaseStencil()
Definition: Stencils.H:30
Definition: Stencils.H:26
Vector< VolIndex > vofs
the VoFs
Definition: Stencils.H:183
virtual int size() const
Definition: Stencils.H:304
Vector< Real > weights
the weights
Definition: Stencils.H:286
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
Volume of Fluid Index.
Definition: VolIndex.H:31
virtual const Real & weight(int i) const
Definition: Stencils.H:318
const VolIndex & vof(int i) const
Definition: Stencils.H:311
virtual BaseIndex & index(int i) const
Definition: Stencils.H:100
Vector< int > variables
Definition: Stencils.H:187
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:247