Chombo + EB
3.0
|
#include <EBData.H>
Public Member Functions | |
EBData () | |
~EBData () | |
void | define (const Box &box, int comps) |
EBData (const Box &a_box, int a_comps) | |
void | copy (const Box &a_regionFrom, const Interval &a_Cd, const Box &a_regionto, const EBData &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 EBData &a_fineEBData, const EBGraph &a_fineGraph, const EBGraph &a_coarGraph, const Box &a_validRegion) |
void | coarsenFaces (const EBData &a_fineEBData, 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 code 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, int index) |
used by multi-fluid code More... | |
int | numFacePhase (const VolIndex &a_vof) const |
void | clearMultiBoundaries () |
void | setBoundaryPhase (int phase) |
EBData (const EBData &a_ebiin) | |
bool | operator== (const EBData &a_ebiin) |
EBData & | operator= (const EBData &a_ebiin) |
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) |
void | addFullIrregularVoFs (const IntVectSet &a_vofsToChange, const EBGraph &a_newGhostGraph, const BaseIVFAB< VolData > &a_grownData, const EBGraph &a_oldGhostGraph) |
void | addEmptyIrregularVoFs (const IntVectSet &a_vofsToChange, const EBGraph &a_newGraph) |
multifluid angels dancing on the heads of pins. More... | |
void | computeNormalsAndBoundaryAreas (const EBGraph &a_graph, const Box &a_validRegion) |
BaseIVFAB< VolData > & | getVolData () |
const BaseIVFAB< VolData > & | getVolData () const |
Static Public Member Functions | |
static int | preAllocatable () |
Private Attributes | |
RefCountedPtr< EBDataImplem > | m_implem |
Friends | |
class | EBIndexSpace |
Ref-counted version of EBDataImplem.
EBData::EBData | ( | ) |
EBData::~EBData | ( | ) |
EBData::EBData | ( | const Box & | a_box, |
int | a_comps | ||
) |
Noop
EBData::EBData | ( | const EBData & | a_ebiin | ) |
void EBData::define | ( | const Box & | box, |
int | comps | ||
) |
Noop.
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 EBData::define | ( | const EBGraph & | a_graph, |
const Vector< IrregNode > & | a_irregData, | ||
const Box & | a_validBox | ||
) |
define the whole thing
void EBData::coarsenVoFs | ( | const EBData & | a_fineEBData, |
const EBGraph & | a_fineGraph, | ||
const EBGraph & | a_coarGraph, | ||
const Box & | a_validRegion | ||
) |
void EBData::coarsenFaces | ( | const EBData & | a_fineEBData, |
const EBGraph & | a_fineGraph, | ||
const EBGraph & | a_coarGraph, | ||
const Box & | a_validRegion | ||
) |
References m_implem, and EBDataImplem::volFrac().
References EBDataImplem::areaFrac(), and m_implem.
References EBDataImplem::centroid(), and m_implem.
References EBDataImplem::centroid(), and m_implem.
References EBDataImplem::bndryCentroid(), and m_implem.
References EBDataImplem::bndryCentroid(), and m_implem.
References EBDataImplem::bndryArea(), and m_implem.
References EBDataImplem::bndryArea(), and m_implem.
References m_implem, and EBDataImplem::normal().
References m_implem, and EBDataImplem::normal().
int EBData::facePhase | ( | const VolIndex & | a_vof, |
int | face | ||
) | const |
used by multi-fluid code
used by multi-fluid code
void EBData::setFacePhase | ( | const VolIndex & | a_vof, |
int | face, | ||
int | phase | ||
) |
used by multi-fluid code
void EBData::setFaceIndex | ( | const VolIndex & | a_vof, |
int | face, | ||
int | index | ||
) |
used by multi-fluid code
int EBData::numFacePhase | ( | const VolIndex & | a_vof | ) | const |
void EBData::clearMultiBoundaries | ( | ) |
void EBData::setBoundaryPhase | ( | int | phase | ) |
bool EBData::operator== | ( | const EBData & | a_ebiin | ) |
This is a pointer comparison.
This stuff required by LevelData in parallel:
void EBData::addFullIrregularVoFs | ( | const IntVectSet & | a_vofsToChange, |
const EBGraph & | a_newGhostGraph, | ||
const BaseIVFAB< VolData > & | a_grownData, | ||
const EBGraph & | a_oldGhostGraph | ||
) |
void EBData::addEmptyIrregularVoFs | ( | const IntVectSet & | a_vofsToChange, |
const EBGraph & | a_newGraph | ||
) |
multifluid angels dancing on the heads of pins.
References EBDataImplem::getVolData(), and m_implem.
References EBDataImplem::getVolData(), and m_implem.
|
inlinestatic |
|
friend |
|
private |
Referenced by areaFrac(), bndryArea(), bndryCentroid(), centroid(), getVolData(), normal(), and volFrac().