#include <EBISBox.H>
Collaboration diagram for EBISBox:
Public Methods | |
EBISBox () | |
~EBISBox () | |
IntVectSet | getMultiCells (const Box &a_subbox) const |
IntVectSet | getIrregIVS (const Box &a_subbox) const |
int | numVoFs (const IntVect &a_iv) const |
Vector< VolIndex > | getVoFs (const IntVect &a_iv) const |
Vector< VolIndex > | getVoFs (const VolIndex &a_vof, const int &a_dir, const Side::LoHiSide &a_sd, const int &a_steps) const |
bool | isAllRegular () const |
bool | isAllCovered () const |
bool | isRegular (const IntVect &a_iv) const |
bool | isIrregular (const IntVect &a_iv) const |
bool | isCovered (const IntVect &a_iv) const |
bool | isCovered (const Box &a_box) const |
bool | isRegular (const Box &a_box) const |
Vector< FaceIndex > | getFaces (const VolIndex &a_vof, const int &a_idir, const Side::LoHiSide &a_sd) const |
Vector< FaceIndex > | getAllFaces (const IntVect &a_iv, const int &a_idir, const Side::LoHiSide &a_sd) const |
RealVect | centroid (const FaceIndex &facein) const |
int | numFaces (const VolIndex &a_vof, const int &a_idir, const Side::LoHiSide &a_sd) const |
Real | volFrac (const VolIndex &a_vof) const |
bool | isConnected (const VolIndex &a_vof1, const VolIndex &a_vof2) const |
Real | areaFrac (const FaceIndex &a_face1) const |
Real | sumArea (const VolIndex &a_vof, const int &a_idir, const Side::LoHiSide &a_sd) const |
RealVect | normal (const VolIndex &a_vof) const |
RealVect | centroid (const VolIndex &a_vof) const |
Vector< VolIndex > | refine (const VolIndex &a_coarVoF) const |
VolIndex | coarsen (const VolIndex &a_fineVoF) const |
RealVect | bndryCentroid (const VolIndex &a_vof) const |
Real | bndryArea (const VolIndex &a_vof) const |
const Box & | getRegion () const |
const Box & | getDomain () const |
void | setDomain (const Box &box) |
Vector< FaceIndex > | refine (const FaceIndex &a_coarFace, const EBISBox &a_fineEBISBox) const |
FaceIndex | coarsen (const FaceIndex &a_fineFace) const |
void | setToAllRegular () |
void | setToAllCovered () |
void | define (const BaseFab< int > &a_regIrregCovered, const Vector< IrregNode > &a_irregGraph, const Box &a_validRegion, const Box &a_domain) |
define from scratch using irregular graph | |
const EBGraph & | getEBGraph () const |
const EBData & | getEBData () const |
void | define (const EBGraph &a_graph, const EBData &a_data) |
define from scratch using a graph and an ebdata | |
EBISBox & | operator= (const EBISBox &ebiin) |
pointer copy | |
EBISBox (const EBISBox &ebiin) | |
pointer copy | |
bool | operator== (const EBISBox &ebiin) |
pointer comparison | |
Private Attributes | |
EBGraph | m_graph |
this is already a ref-counted object | |
EBData | m_data |
this is already a ref-counted objecto |
|
Makes an EBISBox whose contents are undefined. |
|
|
|
pointer copy
|
|
Return the area fraction of the face. Returns zero if the two vofs in the face are not actually connected. |
|
|
|
|
|
Returns the centroid of the input VoF. Return the zero vector if the VoF is regular or covered. The answer is given as a normalized (by grid spacing) offset from the center of the cell (all numbers range from -0.5 to 0.5). |
|
Returns a RealVect whose component in the uninteresting direction normal to the face is undefined. Returns the centroid of input face in the (one or two) interesting directions. Return the zero vector if the face is covered or regular. The answer is given as a normalized (by grid spacing) offset from the center of the cell face (all numbers range from -0.5 to 0.5). |
|
Returns the corresponding face from the next coarser {\tt EBISLevel} (same solution location, different index space, factor of two refinement ratio). |
|
Returns the corresponding VoF from the next coarser EBISBox (same solution location, different index space, factor of two refinement ratio). |
|
define from scratch using a graph and an ebdata
|
|
define from scratch using irregular graph
|
|
|
|
|
|
|
|
|
|
Return the faces on the side and direction of the input VoF. |
|
Returns the irregular cells of the EBISBox that are within the input subbox. |
|
Returns all the multi-valued cells within the input Box a_subbox. |
|
|
|
Return the VoFs in the direction and distance given. Chases the connectivity the number of steps given. a_steps = 0 just returns the vof input. a_steps < 0 is an error. Stops at the domain boundary without error. Will be an error if the number of steps steps out of the EBISBox region without stepping out of the domain. If this happens, you probably need to define your EBISLayout with more ghost cells. |
|
Return the VoFs in the cell. |
|
Return true if every cell in the EBISBox is a covered cell. |
|
Return true if every cell in the EBISBox is a regular cell. |
|
Return true if the two VoFs are connected. |
|
Return true if every cell in a_box is a covered cell. |
|
Return true if a_iv is a covered cell. |
|
Return true if a_iv is an irregular cell. |
|
Return true if every cell in a_box is a regular cell. |
|
Return true if a_iv is a regular cell. |
|
Return the normal to the boundary at the input VoF. If said normal is undefined, returns the zero vector. |
|
Return the number of faces on the side and direction of the input VoF. |
|
Returns the number of VoFs in the cell |
|
pointer copy
|
|
pointer comparison
|
|
Returns the corresponding set of faces from the next finer EBISBox (factor of two refinement). The result is only defined if this EBISBox was defined by coarsening. |
|
Returns the corresponding set of VoFs from the next finer EBISBox (factor of two refinement). The result is only defined if this {\tt EBISBox} was defined by coarsening. |
|
|
|
Set the graph to all covered cells (sparse); |
|
Set the graph to all regular cells (sparse); |
|
Return the sum of area fractions of the high side of the vof in the given direction. |
|
Return the volume fraction of teh input VoF. |
|
this is already a ref-counted objecto
|
|
this is already a ref-counted object
|