#include <EBData.H>
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 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 |
bool | hasMoments () const |
return true if higher order moments are available | |
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 a_face) const |
used by multi-fluid code | |
const VolIndex & | faceIndex (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) |
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_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< EBDataImplem > | m_implem |
Friends | |
class | EBIndexSpace |
class | EBISLevel |
EBData::EBData | ( | ) | [inline] |
EBData::~EBData | ( | ) | [inline] |
EBData::EBData | ( | const Box & | a_box, | |
int | a_comps | |||
) | [inline] |
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] |
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.
bool EBData::hasMoments | ( | ) | const [inline] |
References m_implem.
References m_implem.
References m_implem.
References m_implem.
int EBData::facePhase | ( | const VolIndex & | a_vof, | |
int | a_face | |||
) | const [inline] |
void EBData::setFacePhase | ( | const VolIndex & | a_vof, | |
int | face, | |||
int | phase | |||
) | [inline] |
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.
References m_implem.
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] |
Referenced by define().
static int EBData::preAllocatable | ( | ) | [inline, static] |
friend class EBIndexSpace [friend] |
friend class EBISLevel [friend] |
RefCountedPtr<EBDataImplem> EBData::m_implem [private] |
Referenced by addEmptyIrregularVoFs(), addFullIrregularVoFs(), areaFrac(), bndryArea(), bndryCentroid(), centroid(), clearMultiBoundaries(), coarsenFaces(), coarsenVoFs(), copy(), define(), EBData(), faceIndex(), facePhase(), getEBMoments(), getEBNormalMoments(), getEBNormalPartialDerivs(), getFaceMoments(), getVolData(), getVolumeMoments(), hasMoments(), linearIn(), linearOut(), normal(), numFacePhase(), operator=(), operator==(), setBoundaryPhase(), setFaceIndex(), setFacePhase(), size(), and volFrac().