EBData Class Reference

#include <EBData.H>

List of all members.


Detailed Description

Ref-counted version of EBDataImplem.

Public Member Functions

 EBData ()
 ~EBData ()
void define (const Box &a_box, int a_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 define (const EBGraph &a_graph, const Vector< IrregNode > &a_irregData, const Box &a_validBox, const Real &a_dx, bool a_hasMoments)
 define the whole thing
void define (const EBGraph &a_graph, const Box &a_region, const Real &a_dx, bool a_hasMoments)
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)
IndMomSpaceDim getVolumeMoments (const VolIndex &a_vof) const
 get the moment at the VoF associated with the monomial with the input exponents
IndMomSpaceDim getEBMoments (const VolIndex &a_vof) const
 get the normal the irregular face associated with the monomial with the input exponents
IndMomSDMinOne getFaceMoments (const FaceIndex &a_face) const
 get the moment at the face associated with the monomial with the input exponents
IndMomSDMinOne getAreaMoments (const FaceIndex &a_face) const
 I am sick of guessing this name wrong.
IndMomSpaceDim getEBNormalPartialDerivs (const VolIndex &a_vof, int a_normalComponent) const
IndMomSpaceDim getEBNormalMoments (const VolIndex &a_vof, int a_normalComponent) const
 get the normal*moment at the irregular face associated with the monomial with the input exponents
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
bool hasMoments () const
 return true if higher order moments are available
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 a_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, const VolIndex &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_newGraph, const BaseIVFAB< VolData > &a_grownData, const EBGraph &a_oldGraph)
void addEmptyIrregularVoFs (const IntVectSet &a_vofsToChange, const EBGraph &a_newGraph)
 multifluid angels dancing on the heads of pins.
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
class EBISLevel

Constructor & Destructor Documentation

EBData::EBData (  )  [inline]

EBData::~EBData (  )  [inline]

EBData::EBData ( const Box a_box,
int  a_comps 
) [inline]

EBData::EBData ( const EBData a_ebiin  )  [inline]

References m_implem.


Member Function Documentation

void EBData::define ( const Box a_box,
int  a_comps 
) [inline]

References m_implem.

void EBData::copy ( const Box a_regionFrom,
const Interval a_Cd,
const Box a_regionto,
const EBData a_source,
const Interval a_Cs 
) [inline]

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.

References m_implem.

void EBData::define ( const EBGraph a_graph,
const Vector< IrregNode > &  a_irregData,
const Box a_validBox,
const Real a_dx,
bool  a_hasMoments 
) [inline]

define the whole thing

References computeNormalsAndBoundaryAreas(), and m_implem.

void EBData::define ( const EBGraph a_graph,
const Box a_region,
const Real a_dx,
bool  a_hasMoments 
) [inline]

References m_implem.

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

References m_implem.

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

References m_implem.

IndMomSpaceDim EBData::getVolumeMoments ( const VolIndex a_vof  )  const [inline]

get the moment at the VoF associated with the monomial with the input exponents

Given VoF variables x, y, z, p = mono(0), q = mono(1), r = mono(2), returns integral_over_VoF(x^p y^q z^r dV) for all p q

References m_implem.

Referenced by EBISBox::getVolumeMoments().

IndMomSpaceDim EBData::getEBMoments ( const VolIndex a_vof  )  const [inline]

get the normal the irregular face associated with the monomial with the input exponents

Given VoF variables x, y, z, p = mono(0), q = mono(1), r = mono(2), returns integral_over_VoF((x^p y^q z^r) dV) for p q r

References m_implem.

Referenced by EBISBox::getEBMoments().

IndMomSDMinOne EBData::getFaceMoments ( const FaceIndex a_face  )  const [inline]

get the moment at the face associated with the monomial with the input exponents

Given face variables x, y, p = mono(0), q = mono(1)), returns integral_over_face(x^p y^q dA) for all p q

References m_implem.

Referenced by getAreaMoments(), and EBISBox::getFaceMoments().

IndMomSDMinOne EBData::getAreaMoments ( const FaceIndex a_face  )  const [inline]

I am sick of guessing this name wrong.

References getFaceMoments().

IndMomSpaceDim EBData::getEBNormalPartialDerivs ( const VolIndex a_vof,
int  a_normalComponent 
) const [inline]

gets the partial derivs of the normal component.

References m_implem.

Referenced by EBISBox::getEBNormalPartialDerivs().

IndMomSpaceDim EBData::getEBNormalMoments ( const VolIndex a_vof,
int  a_normalComponent 
) const [inline]

get the normal*moment at the irregular face associated with the monomial with the input exponents

Given VoF variables x, y, z, p = mono(0), q = mono(1), r = mono(2), returns integral_over_VoF((x^p y^q z^r)*n_i dV) for p q r returns the OUTWARD (away from the center of the vof) normal comps

References m_implem.

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.

bool EBData::hasMoments (  )  const [inline]

return true if higher order moments are available

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  a_face 
) const [inline]

used by multi-fluid code

References m_implem.

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

used by multi-fluid code

References m_implem.

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

used by multi-fluid code

References m_implem.

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

used by multi-fluid code

References m_implem.

int EBData::numFacePhase ( const VolIndex a_vof  )  const [inline]

References m_implem.

void EBData::clearMultiBoundaries (  )  [inline]

References m_implem.

void EBData::setBoundaryPhase ( int  phase  )  [inline]

References m_implem.

bool EBData::operator== ( const EBData a_ebiin  )  [inline]

This is a pointer comparison.

References m_implem.

EBData& EBData::operator= ( const EBData a_ebiin  )  [inline]

References m_implem.

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

This stuff required by LevelData in parallel:

References m_implem.

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

References m_implem.

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

References m_implem.

void EBData::addFullIrregularVoFs ( const IntVectSet a_vofsToChange,
const EBGraph a_newGraph,
const BaseIVFAB< VolData > &  a_grownData,
const EBGraph a_oldGraph 
) [inline]

References m_implem.

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

multifluid angels dancing on the heads of pins.

References m_implem.

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

Referenced by define().

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

References m_implem.

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

References m_implem.

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


Friends And Related Function Documentation

friend class EBIndexSpace [friend]

friend class EBISLevel [friend]


Member Data Documentation


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

Generated on Fri Apr 5 04:25:01 2019 for Chombo + EB by  doxygen 1.5.5