Chombo + EB  3.0
Public Member Functions | Static Public Member Functions | Private Attributes | Friends | List of all members
EBData Class Reference

#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 RealvolFrac (const VolIndex &a_vof) const
 
const RealareaFrac (const FaceIndex &a_face1) const
 
const RealVectcentroid (const FaceIndex &facein) const
 
const RealVectcentroid (const VolIndex &a_vof) const
 
const RealVectbndryCentroid (const VolIndex &a_vof) const
 
const RealVectbndryCentroid (const VolIndex &a_vof, int face) const
 
const RealbndryArea (const VolIndex &a_vof) const
 
const RealbndryArea (const VolIndex &a_vof, int face) const
 
const RealVectnormal (const VolIndex &a_vof) const
 
const RealVectnormal (const VolIndex &a_vof, int face) const
 
int facePhase (const VolIndex &a_vof, int face) const
 used by multi-fluid code More...
 
const VolIndexfaceIndex (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)
 
EBDataoperator= (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< EBDataImplemm_implem
 

Friends

class EBIndexSpace
 

Detailed Description

Ref-counted version of EBDataImplem.

Constructor & Destructor Documentation

◆ EBData() [1/3]

EBData::EBData ( )

◆ ~EBData()

EBData::~EBData ( )

◆ EBData() [2/3]

EBData::EBData ( const Box a_box,
int  a_comps 
)

Noop

◆ EBData() [3/3]

EBData::EBData ( const EBData a_ebiin)

Member Function Documentation

◆ define() [1/2]

void EBData::define ( const Box box,
int  comps 
)

Noop.

◆ copy()

void EBData::copy ( const Box a_regionFrom,
const Interval a_Cd,
const Box a_regionto,
const EBData 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 EBData and the box of a_source. The Interval arguments are ignored. This function is required by LevelData.

◆ defineVoFData()

void EBData::defineVoFData ( const EBGraph a_graph,
const Box a_region 
)

each data holder is defined over the irregular cells of the graph

◆ defineFaceData()

void EBData::defineFaceData ( const EBGraph a_graph,
const Box a_region 
)

each data holder is defined over the irregular cells of the graph

◆ define() [2/2]

void EBData::define ( const EBGraph a_graph,
const Vector< IrregNode > &  a_irregData,
const Box a_validBox 
)

define the whole thing

◆ coarsenVoFs()

void EBData::coarsenVoFs ( const EBData a_fineEBData,
const EBGraph a_fineGraph,
const EBGraph a_coarGraph,
const Box a_validRegion 
)

◆ coarsenFaces()

void EBData::coarsenFaces ( const EBData a_fineEBData,
const EBGraph a_fineGraph,
const EBGraph a_coarGraph,
const Box a_validRegion 
)

◆ volFrac()

const Real & EBData::volFrac ( const VolIndex a_vof) const
inline

◆ areaFrac()

const Real & EBData::areaFrac ( const FaceIndex a_face1) const
inline

◆ centroid() [1/2]

const RealVect & EBData::centroid ( const FaceIndex facein) const
inline

◆ centroid() [2/2]

const RealVect & EBData::centroid ( const VolIndex a_vof) const
inline

◆ bndryCentroid() [1/2]

const RealVect & EBData::bndryCentroid ( const VolIndex a_vof) const
inline

◆ bndryCentroid() [2/2]

const RealVect & EBData::bndryCentroid ( const VolIndex a_vof,
int  face 
) const
inline

◆ bndryArea() [1/2]

const Real & EBData::bndryArea ( const VolIndex a_vof) const
inline

◆ bndryArea() [2/2]

const Real & EBData::bndryArea ( const VolIndex a_vof,
int  face 
) const
inline

◆ normal() [1/2]

const RealVect & EBData::normal ( const VolIndex a_vof) const
inline

◆ normal() [2/2]

const RealVect & EBData::normal ( const VolIndex a_vof,
int  face 
) const
inline

◆ facePhase()

int EBData::facePhase ( const VolIndex a_vof,
int  face 
) const

used by multi-fluid code

◆ faceIndex()

const VolIndex& EBData::faceIndex ( const VolIndex a_vof,
int  face 
) const

used by multi-fluid code

◆ setFacePhase()

void EBData::setFacePhase ( const VolIndex a_vof,
int  face,
int  phase 
)

used by multi-fluid code

◆ setFaceIndex()

void EBData::setFaceIndex ( const VolIndex a_vof,
int  face,
int  index 
)

used by multi-fluid code

◆ numFacePhase()

int EBData::numFacePhase ( const VolIndex a_vof) const

◆ clearMultiBoundaries()

void EBData::clearMultiBoundaries ( )

◆ setBoundaryPhase()

void EBData::setBoundaryPhase ( int  phase)

◆ operator==()

bool EBData::operator== ( const EBData a_ebiin)

This is a pointer comparison.

◆ operator=()

EBData& EBData::operator= ( const EBData a_ebiin)

◆ size()

int EBData::size ( const Box R,
const Interval comps 
) const

This stuff required by LevelData in parallel:

◆ linearOut()

void EBData::linearOut ( void *  buf,
const Box R,
const Interval comps 
) const

◆ linearIn()

void EBData::linearIn ( void *  buf,
const Box R,
const Interval comps 
)

◆ addFullIrregularVoFs()

void EBData::addFullIrregularVoFs ( const IntVectSet a_vofsToChange,
const EBGraph a_newGhostGraph,
const BaseIVFAB< VolData > &  a_grownData,
const EBGraph a_oldGhostGraph 
)

◆ addEmptyIrregularVoFs()

void EBData::addEmptyIrregularVoFs ( const IntVectSet a_vofsToChange,
const EBGraph a_newGraph 
)

multifluid angels dancing on the heads of pins.

◆ computeNormalsAndBoundaryAreas()

void EBData::computeNormalsAndBoundaryAreas ( const EBGraph a_graph,
const Box a_validRegion 
)

◆ getVolData() [1/2]

BaseIVFAB<VolData>& EBData::getVolData ( )
inline

◆ getVolData() [2/2]

const BaseIVFAB<VolData>& EBData::getVolData ( ) const
inline

◆ preAllocatable()

static int EBData::preAllocatable ( )
inlinestatic

Friends And Related Function Documentation

◆ EBIndexSpace

friend class EBIndexSpace
friend

Member Data Documentation

◆ m_implem

RefCountedPtr<EBDataImplem> EBData::m_implem
private

The documentation for this class was generated from the following file: