Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

EBDataImplem Class Reference

#include <EBData.H>

Collaboration diagram for EBDataImplem:

Collaboration graph
[legend]
List of all members.

Public Methods

 EBDataImplem ()
 ~EBDataImplem ()
void define (const Box &box, int comps)
 EBDataImplem (const Box &a_box, int a_comps)
void copy (const Box &a_regionFrom, const Interval &a_Cd, const Box &a_regionto, const EBDataImplem &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 EBDataImplem &a_fineEBDataImplem, const EBGraph &a_fineGraph, const EBGraph &a_coarGraph, const Box &a_validRegion)
void coarsenFaces (const EBDataImplem &a_fineEBDataImplem, 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 RealbndryArea (const VolIndex &a_vof) const
const RealVectnormal (const VolIndex &a_vof) const
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)
BaseIVFAB< VolData > & getVolData ()
const BaseIVFAB< VolData > & getVolData () const

Static Public Methods

int preAllocatable ()

Private Methods

void operator= (const EBDataImplem &ebiin)
 EBDataImplem (const EBDataImplem &ebiin)
void coarsenFaceCentroid (RealVect &a_centroidCoar, const Vector< RealVect > &a_centroidsFine, const Vector< Real > &a_areaFracFine, const Vector< FaceIndex > &a_facesFine, const FaceIndex &a_faceCoar)
void coarsenAreaFrac (Real &a_areaFracCoar, const Vector< Real > &a_areaFracFine)
void coarsenVolFracAndCentroid (Real &a_volFracCoar, RealVect &a_volCentroidCoar, const Vector< Real > &a_volFracFine, const Vector< RealVect > &a_volCentroidFine, const Vector< VolIndex > &a_fineVoFs, const VolIndex &a_coarVoF)
void coarsenBoundaryAreaAndNormal (Real &a_bndryAreaCoar, RealVect &a_normalCoar, const Vector< Real > &a_bndryAreaFine, const Vector< RealVect > &a_normalFine)
RealVect fineToCoarseTransform (const RealVect &a_finePoint, const IntVect &a_coarCell, const IntVect &a_fineCell)
void coarsenBndryCentroid (RealVect &a_bndryCentroidCoar, const Vector< RealVect > &a_bndryCentroidFine, const Vector< Real > &a_bndryAreaFine, const Vector< VolIndex > &a_fineVoFs, const VolIndex &a_coarVoF)

Private Attributes

BaseIVFAB< VolDatam_volData
BaseIFFAB< FaceDatam_faceData [SpaceDim]
bool m_isFaceDataDefined
bool m_isVoFDataDefined

Detailed Description

This class contains all the geometric information for an ebisbox.


Constructor & Destructor Documentation

EBDataImplem::EBDataImplem  
 

EBDataImplem::~EBDataImplem  
 

EBDataImplem::EBDataImplem const Box   a_box,
int    a_comps
 

Noop

EBDataImplem::EBDataImplem const EBDataImplem &    ebiin [inline, private]
 


Member Function Documentation

const Real& EBDataImplem::areaFrac const FaceIndex   a_face1 const
 

const Real& EBDataImplem::bndryArea const VolIndex   a_vof const
 

const RealVect& EBDataImplem::bndryCentroid const VolIndex   a_vof const
 

const RealVect& EBDataImplem::centroid const VolIndex   a_vof const
 

const RealVect& EBDataImplem::centroid const FaceIndex   facein const
 

void EBDataImplem::coarsenAreaFrac Real   a_areaFracCoar,
const Vector< Real > &    a_areaFracFine
[private]
 

void EBDataImplem::coarsenBndryCentroid RealVect   a_bndryCentroidCoar,
const Vector< RealVect > &    a_bndryCentroidFine,
const Vector< Real > &    a_bndryAreaFine,
const Vector< VolIndex > &    a_fineVoFs,
const VolIndex   a_coarVoF
[private]
 

void EBDataImplem::coarsenBoundaryAreaAndNormal Real   a_bndryAreaCoar,
RealVect   a_normalCoar,
const Vector< Real > &    a_bndryAreaFine,
const Vector< RealVect > &    a_normalFine
[private]
 

void EBDataImplem::coarsenFaceCentroid RealVect   a_centroidCoar,
const Vector< RealVect > &    a_centroidsFine,
const Vector< Real > &    a_areaFracFine,
const Vector< FaceIndex > &    a_facesFine,
const FaceIndex   a_faceCoar
[private]
 

void EBDataImplem::coarsenFaces const EBDataImplem &    a_fineEBDataImplem,
const EBGraph   a_fineGraph,
const EBGraph   a_coarGraph,
const Box   a_validRegion
 

void EBDataImplem::coarsenVoFs const EBDataImplem &    a_fineEBDataImplem,
const EBGraph   a_fineGraph,
const EBGraph   a_coarGraph,
const Box   a_validRegion
 

void EBDataImplem::coarsenVolFracAndCentroid Real   a_volFracCoar,
RealVect   a_volCentroidCoar,
const Vector< Real > &    a_volFracFine,
const Vector< RealVect > &    a_volCentroidFine,
const Vector< VolIndex > &    a_fineVoFs,
const VolIndex   a_coarVoF
[private]
 

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

void EBDataImplem::define const EBGraph   a_graph,
const Vector< IrregNode > &    a_irregData,
const Box   a_validBox
 

define the whole thing

void EBDataImplem::define const Box   box,
int    comps
 

Noop.

void EBDataImplem::defineFaceData const EBGraph   a_graph,
const Box   a_region
 

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

void EBDataImplem::defineVoFData const EBGraph   a_graph,
const Box   a_region
 

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

RealVect EBDataImplem::fineToCoarseTransform const RealVect   a_finePoint,
const IntVect   a_coarCell,
const IntVect   a_fineCell
[private]
 

const BaseIVFAB<VolData>& EBDataImplem::getVolData   const [inline]
 

BaseIVFAB<VolData>& EBDataImplem::getVolData   [inline]
 

void EBDataImplem::linearIn void *    buf,
const Box   R,
const Interval   comps
 

void EBDataImplem::linearOut void *    buf,
const Box   R,
const Interval   comps
const
 

const RealVect& EBDataImplem::normal const VolIndex   a_vof const
 

void EBDataImplem::operator= const EBDataImplem &    ebiin [inline, private]
 

int EBDataImplem::preAllocatable   [inline, static]
 

int EBDataImplem::size const Box   R,
const Interval   comps
const
 

This stuff required by LevelData in parallel:

const Real& EBDataImplem::volFrac const VolIndex   a_vof const
 


Member Data Documentation

BaseIFFAB<FaceData> EBDataImplem::m_faceData[SpaceDim] [private]
 

bool EBDataImplem::m_isFaceDataDefined [private]
 

bool EBDataImplem::m_isVoFDataDefined [private]
 

BaseIVFAB<VolData> EBDataImplem::m_volData [private]
 


The documentation for this class was generated from the following file:
Generated on Wed Apr 16 14:35:10 2003 for EBChombo by doxygen1.2.16