#include <GraphNode.H>
Collaboration diagram for GraphNode:
Public Methods | |
GraphNode () | |
~GraphNode () | |
int | size () const |
void | clear () |
bool | isRegular () const |
bool | isCovered () const |
bool | isIrregular () const |
void | defineAsRegular () |
void | defineAsCovered () |
Vector< FaceIndex > | getFaces (const VolIndex &a_vof, const int &a_idir, const Side::LoHiSide &a_sd, const Box &a_domain) const |
Vector< VolIndex > | getVoFs (const IntVect &a_iv) const |
const GraphNode & | operator= (const GraphNode &ebiin) |
GraphNode (const GraphNode &ebiin) | |
Vector< VolIndex > | refine (const VolIndex &a_coarVoF) const |
VolIndex | coarsen (const VolIndex &a_fineVoF) const |
void | addIrregularNode (const GraphNodeImplem &a_nodein, int cellIndex) |
void | addIrregularNode (const GraphNodeImplem &a_nodein) |
Vector< Vector< VolIndex > > | getVoFSets (const Box &a_box) const |
int | linearSize () const |
void | linearOut (void *buffer) const |
void | linearIn (void *buffer) |
void | setDefaults () |
internal use only | |
Public Attributes | |
Vector< GraphNodeImplem > * | m_cellList |
|
constructor sets node to regular as default. |
|
|
|
|
|
|
|
|
|
deletes memory if it has been allocated and sets members to 0 |
|
Returns the corresponding VoF from the next coarser EBGraph (same solution location, different index space, factor of two refinement ratio). |
|
Set Node to covered. If previously set to irregular, deletes their memory. |
|
Set Node to regular. If previously set to irregular, deletes their memory. |
|
Get the faces in the direction and side for the vof in the list. if the vof's cell index is not found in the list, abort. Use the input vof's grid index for a the grid index of the list. |
|
Return all the vofs in the list, using the input intvect for the gridIndex |
|
get all sets of connected vofs within the box. used in coarsening |
|
Return true if the node is covered (m_thisNode==0). |
|
Return true if the node is neither regular or covered. |
|
Return true if the node is regular (m_thisNode==1). |
|
|
|
|
|
|
|
|
|
Returns the corresponding set of VoFs from the next finer EBGraph (factor of two refinement). The result is only defined if this {\tt EBGraph} was defined by coarsening. |
|
internal use only
|
|
|
|
The connectivity data at this point. If m_thisNode == 0, node is covered. If m_thisNode == 1, node is regular. otherwise, it is a real list. |