Chombo + EB
3.0
|
#include <EBData.H>
Public Member Functions | |
EBDataImplem () | |
~EBDataImplem () | |
void | define (const Box &box, int comps) |
EBDataImplem (const Box &a_box, int a_comps) | |
void | copy (const Box &a_regionFrom, const Interval &a_Cd, const Box &a_regionto, const EBDataImplem &a_source, const Interval &a_Cs) |
void | defineVoFData (const EBGraph &a_graph, const Box &a_region) |
each data holder is defined over the irregular cells of the graph More... | |
void | defineFaceData (const EBGraph &a_graph, const Box &a_region) |
each data holder is defined over the irregular cells of the graph More... | |
void | define (const EBGraph &a_graph, const Vector< IrregNode > &a_irregData, const Box &a_validBox) |
define the whole thing More... | |
void | coarsenVoFs (const EBDataImplem &a_fineEBDataImplem, const EBGraph &a_fineGraph, const EBGraph &a_coarGraph, const Box &a_validRegion) |
void | coarsenFaces (const EBDataImplem &a_fineEBDataImplem, const EBGraph &a_fineGraph, const EBGraph &a_coarGraph, const Box &a_validRegion) |
const Real & | volFrac (const VolIndex &a_vof) const |
const Real & | areaFrac (const FaceIndex &a_face1) const |
const RealVect & | centroid (const FaceIndex &facein) const |
const RealVect & | centroid (const VolIndex &a_vof) const |
const RealVect & | bndryCentroid (const VolIndex &a_vof) const |
const RealVect & | bndryCentroid (const VolIndex &a_vof, int face) const |
const Real & | bndryArea (const VolIndex &a_vof) const |
const Real & | bndryArea (const VolIndex &a_vof, int face) const |
const RealVect & | normal (const VolIndex &a_vof) const |
const RealVect & | normal (const VolIndex &a_vof, int face) const |
int | facePhase (const VolIndex &a_vof, int face) const |
used by multi-fluid applications More... | |
const VolIndex & | faceIndex (const VolIndex &a_vof, int face) const |
used by multi-fluid code More... | |
void | setFacePhase (const VolIndex &a_vof, int face, int phase) |
used by multi-fluid code More... | |
void | setFaceIndex (const VolIndex &a_vof, int face, const VolIndex &index) |
used by multi-fluid code More... | |
int | numFacePhase (const VolIndex &a_vof) const |
void | clearMultiBoundaries () |
void | setBoundaryPhase (int phase) |
int | size (const Box &R, const Interval &comps) const |
void | linearOut (void *buf, const Box &R, const Interval &comps) const |
void | linearIn (void *buf, const Box &R, const Interval &comps) |
BaseIVFAB< VolData > & | getVolData () |
const BaseIVFAB< VolData > & | getVolData () const |
void | addFullIrregularVoFs (const IntVectSet &a_vofsToChange, const EBGraph &a_newGhostGraph, const BaseIVFAB< VolData > &a_newGhostData, const EBGraph &a_oldGhostGraph) |
void | addEmptyIrregularVoFs (const IntVectSet &a_vofsToChange, const EBGraph &a_newGraph) |
multifluid angels dancing on the heads of pins. More... | |
Static Public Member Functions | |
static int | preAllocatable () |
static void | setVerbose (bool a_verbose) |
static void | setVerboseDebug (bool a_verboseDebug) |
Private Member Functions | |
void | operator= (const EBDataImplem &ebiin) |
EBDataImplem (const EBDataImplem &ebiin) | |
void | coarsenFaceCentroid (RealVect &a_centroidCoar, const Vector< RealVect > &a_centroidsFine, const Vector< Real > &a_areaFracFine, const Vector< FaceIndex > &a_facesFine, const FaceIndex &a_faceCoar) |
void | coarsenAreaFrac (Real &a_areaFracCoar, const Vector< Real > &a_areaFracFine) |
void | coarsenVolFracAndCentroid (Real &a_volFracCoar, RealVect &a_volCentroidCoar, const Vector< Real > &a_volFracFine, const Vector< RealVect > &a_volCentroidFine, const Vector< VolIndex > &a_fineVoFs, const VolIndex &a_coarVoF) |
void | coarsenBoundaryAreaAndNormal (Real &a_bndryAreaCoar, RealVect &a_normalCoar, const Vector< Real > &a_bndryAreaFine, const Vector< RealVect > &a_normalFine) |
RealVect | fineToCoarseTransform (const RealVect &a_finePoint, const IntVect &a_coarCell, const IntVect &a_fineCell) |
void | coarsenBndryCentroid (RealVect &a_bndryCentroidCoar, const Vector< RealVect > &a_bndryCentroidFine, const Vector< Real > &a_bndryAreaFine, const Vector< VolIndex > &a_fineVoFs, const VolIndex &a_coarVoF) |
void | fetch (std::list< const VolData *> &fineVols, const Vector< VolIndex > &vofsFine) const |
Private Attributes | |
BaseIVFAB< VolData > | m_volData |
BaseIFFAB< FaceData > | m_faceData [SpaceDim] |
bool | m_isFaceDataDefined |
bool | m_isVoFDataDefined |
Static Private Attributes | |
static bool | s_verbose |
static bool | s_verboseDebug |
Friends | |
class | EBIndexSpace |
This class contains all the geometric information for an ebisbox.
EBDataImplem::EBDataImplem | ( | ) |
EBDataImplem::~EBDataImplem | ( | ) |
EBDataImplem::EBDataImplem | ( | const Box & | a_box, |
int | a_comps | ||
) |
Noop
|
inlineprivate |
void EBDataImplem::define | ( | const Box & | box, |
int | comps | ||
) |
Noop.
void EBDataImplem::copy | ( | const Box & | a_regionFrom, |
const Interval & | a_Cd, | ||
const Box & | a_regionto, | ||
const EBDataImplem & | a_source, | ||
const Interval & | a_Cs | ||
) |
Copy the information from a_source to the over the intersection of the box a_region, the box of the current EBDataImplem and the box of a_source. The Interval arguments are ignored. This function is required by LevelData.
each data holder is defined over the irregular cells of the graph
each data holder is defined over the irregular cells of the graph
void EBDataImplem::define | ( | const EBGraph & | a_graph, |
const Vector< IrregNode > & | a_irregData, | ||
const Box & | a_validBox | ||
) |
define the whole thing
void EBDataImplem::coarsenVoFs | ( | const EBDataImplem & | a_fineEBDataImplem, |
const EBGraph & | a_fineGraph, | ||
const EBGraph & | a_coarGraph, | ||
const Box & | a_validRegion | ||
) |
void EBDataImplem::coarsenFaces | ( | const EBDataImplem & | a_fineEBDataImplem, |
const EBGraph & | a_fineGraph, | ||
const EBGraph & | a_coarGraph, | ||
const Box & | a_validRegion | ||
) |
int EBDataImplem::facePhase | ( | const VolIndex & | a_vof, |
int | face | ||
) | const |
used by multi-fluid applications
used by multi-fluid code
used by multi-fluid code
void EBDataImplem::setFacePhase | ( | const VolIndex & | a_vof, |
int | face, | ||
int | phase | ||
) |
used by multi-fluid code
used by multi-fluid code
int EBDataImplem::numFacePhase | ( | const VolIndex & | a_vof | ) | const |
void EBDataImplem::clearMultiBoundaries | ( | ) |
void EBDataImplem::setBoundaryPhase | ( | int | phase | ) |
This stuff required by LevelData in parallel:
|
inlinestatic |
void EBDataImplem::addFullIrregularVoFs | ( | const IntVectSet & | a_vofsToChange, |
const EBGraph & | a_newGhostGraph, | ||
const BaseIVFAB< VolData > & | a_newGhostData, | ||
const EBGraph & | a_oldGhostGraph | ||
) |
void EBDataImplem::addEmptyIrregularVoFs | ( | const IntVectSet & | a_vofsToChange, |
const EBGraph & | a_newGraph | ||
) |
multifluid angels dancing on the heads of pins.
|
static |
|
static |
|
inlineprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
friend |
|
staticprivate |
|
staticprivate |
|
private |
|
private |