23 #include "NamespaceHeader.H" 49 const Real & a_dx)
const 60 const Real & a_dx)
const 72 const int & a_ni)
const 83 const int & a_ni)
const 93 const Real & a_dx)
const 125 retval =
value(a_point);
129 retval =
derivative(a_partialDerivative, a_point);
140 for(
int idir = 0; idir <
SpaceDim; idir ++)
142 deriv[idir] = a_deriv[idir];
143 point[idir] = a_point[idir];
145 return value(deriv, point);
151 const Real& a_dx)
const 154 corners(a_region, a_origin, a_dx, low, high);
165 const Real& a_dx)
const 168 corners(a_region, a_origin, a_dx, low, high);
176 MayDay::Abort(
"This class has not implemented a fastIntersection operation");
188 for(
int idir = 0; idir <
SpaceDim; idir++)
190 rvpoint[idir] = a_point[idir];
192 return value(rvpoint);
206 for(
int idir = 0; idir <
SpaceDim; idir++)
208 rvpoint[idir] = a_point[idir];
209 ivderiv[idir] = a_deriv[idir];
220 virtual void print(ostream& out)
const 236 const int& a_maxGridSize,
237 const int& a_maxIrregGridSize )
265 #include "NamespaceFooter.H" virtual Real value(const IndexTM< int, GLOBALDIM > &a_partialDerivative, const IndexTM< Real, GLOBALDIM > &a_point) const
Definition: BaseIF.H:119
virtual Real derivative(const IndexTM< int, GLOBALDIM > &a_deriv, const IndexTM< Real, GLOBALDIM > &a_point) const
Definition: BaseIF.H:199
virtual void makeGrids(const ProblemDomain &a_domain, DisjointBoxLayout &a_grids, const int &a_maxGridSize, const int &a_maxIrregGridSize)
Definition: BaseIF.H:234
#define CH_assert(cond)
Definition: CHArray.H:37
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
void setToZero()
Definition: IndexedMoments.H:173
Definition: FaceIndex.H:28
virtual IndMomSpaceDim getExactEBNormalPartialDerivs(const VolIndex &a_vof, const Real &a_dx, const int &a_ni) const
Definition: BaseIF.H:81
BaseIF()
Default constructor.
Definition: BaseIF.H:38
virtual void boxLayoutChanged(const DisjointBoxLayout &a_newBoxLayout, const RealVect &a_dx)
Definition: BaseIF.H:259
const int SpaceDim
Definition: SPACE.H:38
InOut
Definition: GeometryService.H:41
virtual GeometryService::InOut InsideOutside(const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx) const
Definition: BaseIF.H:162
virtual IndMomSpaceDim getExactEBNormalMoments(const VolIndex &a_vof, const Real &a_dx, const int &a_ni) const
return int_eb x^p n_i dA for the eb
Definition: BaseIF.H:70
const IntVect & bigEnd() const
Definition: Box.H:1768
virtual IndMomSpaceDim getExactEBMoments(const VolIndex &a_vof, const Real &a_dx) const
return int_eb x^p dA for the eb
Definition: BaseIF.H:59
virtual Real value(const IndexTM< Real, GLOBALDIM > &a_point) const
Definition: BaseIF.H:184
static const IntVect Unit
Definition: IntVect.H:659
virtual ~BaseIF()
Default destructor.
Definition: BaseIF.H:43
const IntVect & smallEnd() const
{ Accessors}
Definition: Box.H:1754
virtual Real value(const RealVect &a_point) const =0
double Real
Definition: REAL.H:33
virtual bool fastIntersection(const RealVect &a_low, const RealVect &a_high) const
Definition: BaseIF.H:158
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
virtual bool fastIntersection(const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx) const
Definition: BaseIF.H:148
virtual IndMomSpaceDim getExactVolumeMoments(const VolIndex &a_vof, const Real &a_dx) const
return int x^p dV for the vof
Definition: BaseIF.H:48
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.
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
Definition: GeometryService.H:45
virtual GeometryService::InOut InsideOutside(const RealVect &a_low, const RealVect &a_high) const
Definition: BaseIF.H:172
virtual Real derivative(const IntVect &a_deriv, const RealVect &a_point) const
return the partial derivative at the point
Definition: BaseIF.H:112
virtual IndMomSDMinOne getExactFaceMoments(const FaceIndex &a_face, const Real &a_dx) const
return int x^p dA for the face
Definition: BaseIF.H:92
virtual void print(ostream &out) const
Definition: BaseIF.H:220
virtual Real value(const IntVect &a_deriv, const RealVect &a_point) const
Definition: BaseIF.H:135
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
Volume of Fluid Index.
Definition: VolIndex.H:31
static void corners(const Box &a_region, const RealVect &a_origin, const Real &a_dx, RealVect &a_lo, RealVect &a_hi)
Definition: BaseIF.H:242
virtual BaseIF * newImplicitFunction() const =0
#define GLOBALDIM
Definition: Notation.H:35
static void Abort(const char *const a_msg=m_nullString)
Print out message to cerr and exit via abort() (if serial) or MPI_Abort() (if parallel).