#include <FaceIndex.H>
Collaboration diagram for FaceIndex:
Public Methods | |
FaceIndex (const VolIndex &a_vof1, const VolIndex &a_vof2, const int &a_direction) | |
void | define (const VolIndex &a_vof1, const VolIndex &a_vof2, const int &a_direction) |
FaceIndex () | |
FaceIndex (const FaceIndex &a_facein) | |
void | define (const FaceIndex &a_facein) |
~FaceIndex () | |
FaceIndex & | operator= (const FaceIndex &a_facein) |
bool | operator== (const FaceIndex &a_facein) const |
bool | operator!= (const FaceIndex &a_facein) const |
const int & | direction () const |
const bool & | isDefined () const |
const bool & | isBoundary () const |
const int & | cellIndex (const Side::LoHiSide &a_sd) const |
const IntVect & | gridIndex (const Side::LoHiSide &a_sd) const |
VolIndex | getVoF (const Side::LoHiSide &a_sd) const |
Static Public Methods | |
int | initializeOffsets () |
Static Public Attributes | |
size_t | lo_offset |
size_t | hi_offset |
size_t | rest_offset |
Private Attributes | |
IntVect | m_loiv |
the intvect of the low vof | |
IntVect | m_hiiv |
the intvect of the high vof | |
int | m_loIndex |
int | m_hiIndex |
int | m_direction |
direction of the face. | |
bool | m_isDefined |
bool | m_isBoundary |
|
if both cellindexes of the vofs are >= 0, then the face is interior. otherwise the face is a boundary face. |
|
|
|
|
|
|
|
return cell index of the vof on the a_sd side. returns -1 if that side of the face is outside the domain (boundary face case). |
|
|
|
if both cellindexes of the vofs are >= 0, then the face is interior. otherwise the face is a boundary face. |
|
|
|
manufactures the appropriate volindex. |
|
return grid index of the vof on the a_sd side. may be inside or ouside domain. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
direction of the face.
|
|
The index of the high vof. This = -1 if the face is set to be a boundary face on the high side of the domain. |
|
the intvect of the high vof
|
|
true if the face is constructed using the boundary face constructor |
|
true if one of the define functions has been called. |
|
The index of the low vof. This = -1 if the face is set to be a boundary face on the low side of the domain. |
|
the intvect of the low vof
|
|
|