24 #include "NamespaceHeader.H" 32 void linearIn(T& a_outputT,
const void*
const inBuf);
35 void linearOut(
void*
const a_outBuf,
const T& inputT);
123 void define(
const Box&
box,
int comps);
138 void copy(
const Box& a_regionFrom,
140 const Box& a_regionto,
146 defineVoFData(
const EBGraph& a_graph,
const Box& a_region);
150 defineFaceData(
const EBGraph& a_graph,
const Box& a_region);
156 const Box& a_validBox);
163 const Box& a_validRegion);
170 const Box& a_validRegion);
189 const Real& bndryArea(
const VolIndex& a_vof,
int face)
const;
199 int facePhase(
const VolIndex& a_vof,
int face)
const ;
205 void setFacePhase(
const VolIndex& a_vof,
int face,
int phase);
211 int numFacePhase(
const VolIndex& a_vof)
const ;
213 void clearMultiBoundaries();
214 void setBoundaryPhase(
int phase);
218 int size(
const Box& R,
const Interval& comps)
const;
242 void addFullIrregularVoFs(
const IntVectSet& a_vofsToChange,
243 const EBGraph& a_newGhostGraph,
245 const EBGraph& a_oldGhostGraph);
248 void addEmptyIrregularVoFs(
const IntVectSet& a_vofsToChange,
251 static void setVerbose(
bool a_verbose);
253 static void setVerboseDebug(
bool a_verboseDebug);
277 coarsenFaceCentroid(
RealVect& a_centroidCoar,
283 coarsenAreaFrac(
Real& a_areaFracCoar,
287 coarsenVolFracAndCentroid(
Real& a_volFracCoar,
295 coarsenBoundaryAreaAndNormal(
Real& a_bndryAreaCoar,
301 fineToCoarseTransform(
const RealVect& a_finePoint,
306 coarsenBndryCentroid(
RealVect& a_bndryCentroidCoar,
312 void fetch(std::list<const VolData*>& fineVols,
const Vector<VolIndex>& vofsFine)
const;
336 void define(
const Box&
box,
int comps);
351 void copy(
const Box& a_regionFrom,
353 const Box& a_regionto,
359 defineVoFData(
const EBGraph& a_graph,
const Box& a_region);
363 defineFaceData(
const EBGraph& a_graph,
const Box& a_region);
369 const Box& a_validBox);
373 coarsenVoFs(
const EBData& a_fineEBData,
376 const Box& a_validRegion);
379 coarsenFaces(
const EBData& a_fineEBData,
382 const Box& a_validRegion);
401 const Real& bndryArea(
const VolIndex& a_vof,
int face)
const;
408 int facePhase(
const VolIndex& a_vof,
int face)
const ;
414 void setFacePhase(
const VolIndex& a_vof,
int face,
int phase);
417 void setFaceIndex(
const VolIndex& a_vof,
int face,
int index);
419 int numFacePhase(
const VolIndex& a_vof)
const ;
421 void clearMultiBoundaries();
422 void setBoundaryPhase(
int phase);
430 bool operator==(
const EBData& a_ebiin);
439 int size(
const Box& R,
const Interval& comps)
const;
448 void addFullIrregularVoFs(
const IntVectSet& a_vofsToChange,
449 const EBGraph& a_newGhostGraph,
451 const EBGraph& a_oldGhostGraph);
454 void addEmptyIrregularVoFs(
const IntVectSet& a_vofsToChange,
459 computeNormalsAndBoundaryAreas(
const EBGraph& a_graph,
460 const Box& a_validRegion);
464 return m_implem->getVolData();
469 return m_implem->getVolData();
489 return m_implem->volFrac(a_vof);
494 return m_implem->bndryArea(a_vof, face);
498 return m_implem->bndryArea(a_vof);
503 return m_implem->normal(a_vof, face);
507 return m_implem->normal(a_vof);
512 return m_implem->centroid(a_vof);
517 return m_implem->bndryCentroid(a_vof, face);
521 return m_implem->bndryCentroid(a_vof);
526 return m_implem->centroid(a_face);
531 return m_implem->areaFrac(a_face);
535 #include "NamespaceFooter.H"
static bool s_verboseDebug
Definition: EBData.H:257
An irregular domain on an integer lattice.
Definition: IntVectSet.H:44
const RealVect & centroid(const FaceIndex &facein) const
Definition: EBData.H:524
Definition: EBIndexSpace.H:50
static bool s_verbose
Definition: EBData.H:256
Definition: FaceIndex.H:28
RealVect m_normal
Definition: EBData.H:54
Definition: EBISLevel.H:84
BaseIVFAB< VolData > & getVolData()
Definition: EBData.H:232
const Real & bndryArea(const VolIndex &a_vof) const
Definition: EBData.H:496
static int preAllocatable()
Definition: EBData.H:227
Geometric description within a box.
Definition: EBGraph.H:427
bool m_isFaceDataDefined
Definition: EBData.H:265
const int SpaceDim
Definition: SPACE.H:38
Vector< BoundaryData > m_phaseFaces
Definition: EBData.H:70
Definition: EBInterface.H:45
EBDataImplem(const EBDataImplem &ebiin)
Definition: EBData.H:273
const Real & volFrac(const VolIndex &a_vof) const
Definition: EBData.H:487
int linearSize(const T &inputT)
Definition: SPMDI.H:21
BoundaryData(const Real &bndryArea, const RealVect &normal, const RealVect &bndryCentroid, int phase, const VolIndex &index)
Definition: EBData.H:42
Structure for passing component ranges in code.
Definition: Interval.H:23
const RealVect & bndryCentroid(const VolIndex &a_vof) const
Definition: EBData.H:519
Real m_volFrac
Definition: EBData.H:67
const Real & areaFrac(const FaceIndex &a_face1) const
Definition: EBData.H:529
double Real
Definition: REAL.H:33
BoundaryData m_averageFace
Definition: EBData.H:69
RealVect m_bndryCentroid
Definition: EBData.H:55
void linearIn(T &a_outputT, const void *const inBuf)
Definition: SPMDI.H:27
RealVect m_volCentroid
Definition: EBData.H:68
int m_bndryPhase
Definition: EBData.H:56
static int preAllocatable()
Definition: EBData.H:473
BaseIVFAB< VolData > m_volData
Definition: EBData.H:259
void operator=(const EBDataImplem &ebiin)
Definition: EBData.H:270
void linearOut(void *const a_outBuf, const T &inputT)
Definition: SPMDI.H:33
const RealVect & normal(const VolIndex &a_vof) const
Definition: EBData.H:505
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:469
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
BaseIVFAB< VolData > & getVolData()
Definition: EBData.H:462
const BaseIVFAB< VolData > & getVolData() const
Definition: EBData.H:467
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
RefCountedPtr< EBDataImplem > m_implem
Definition: EBData.H:480
Volume of Fluid Index.
Definition: VolIndex.H:31
bool m_isVoFDataDefined
Definition: EBData.H:268
Real m_areaFrac
Definition: EBData.H:92
std::ostream & operator<<(std::ostream &a_os, const VolData &a_iv)
RealVect m_faceCentroid
Definition: EBData.H:93
Real m_bndryArea
Definition: EBData.H:53
const BaseIVFAB< VolData > & getVolData() const
Definition: EBData.H:236
VolIndex m_volIndex
Definition: EBData.H:57