EBData Class Reference

#include <EBData.H>

Collaboration diagram for EBData:

Collaboration graph
[legend]

List of all members.


Detailed Description

Ref-counted version of EBDataImplem.

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
void defineFaceData (const EBGraph &a_graph, const Box &a_region)
 each data holder is defined over the irregular cells of the graph
void define (const EBGraph &a_graph, const Vector< IrregNode > &a_irregData, const Box &a_validBox)
 define the whole thing
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
const VolIndexfaceIndex (const VolIndex &a_vof, int face) const
 used by multi-fluid code
void setFacePhase (const VolIndex &a_vof, int face, int phase)
 used by multi-fluid code
void setFaceIndex (const VolIndex &a_vof, int face, int index)
 used by multi-fluid code
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 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

Constructor & Destructor Documentation

EBData::EBData (  ) 

EBData::~EBData (  ) 

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

Noop

EBData::EBData ( const EBData a_ebiin  ) 


Member Function Documentation

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

Noop.

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.

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

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

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

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 
)

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

References m_implem.

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

References m_implem.

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

References m_implem.

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

References m_implem.

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

References m_implem.

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

References m_implem.

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

References m_implem.

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

References m_implem.

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

References m_implem.

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

References m_implem.

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

used by multi-fluid code

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

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.

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

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

This stuff required by LevelData in parallel:

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

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

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

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

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

References m_implem.

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

References m_implem.

static int EBData::preAllocatable (  )  [inline, static]


Member Data Documentation


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

Generated on Tue Apr 14 14:23:13 2009 for Chombo + EB by  doxygen 1.5.5