23 #include "NamespaceHeader.H" 118 inline bool isCovered()
const;
124 inline bool isRegular()
const;
131 inline bool isRegularWithSingleValuedParent()
const;
138 inline bool isRegularWithMultiValuedParent()
const;
144 inline bool isIrregular()
const;
150 inline bool hasValidCellList()
const;
157 inline void defineAsRegular();
164 inline void defineAsCovered();
193 getVoFs(
const IntVect& a_iv)
const;
242 inline void setDefaults();
273 return (isRegularWithSingleValuedParent() ||
274 isRegularWithMultiValuedParent());
287 ((*m_cellList).size() == 1) &&
294 return (!isCovered() && !isRegularWithSingleValuedParent());
300 return ((!isRegular()) && (!isCovered()));
318 if (hasValidCellList())
322 s_Arena.free(m_cellList);
323 #ifdef CH_USE_MEMORY_TRACKING 380 #include "NamespaceFooter.H"
bool isCovered() const
Definition: GraphNode.H:265
void linearIn(void *buffer)
#define CH_SPACEDIM
Definition: SPACE.H:52
#define CH_assert(cond)
Definition: CHArray.H:37
Box refine(const Box &b, const IntVect &refinement_ratio)
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:130
bool m_isValid
Used to mark a GraphNode as invalid - used in getting connected components of the graph...
Definition: GraphNode.H:51
GraphNodeImplem & operator=(const GraphNodeImplem &a_impin)
void defineAsCovered()
Definition: GraphNode.H:339
int m_coarserNode
Cell index of this vof is the index into the vector.
Definition: GraphNode.H:63
bool isRegular() const
Definition: GraphNode.H:271
~GraphNodeImplem()
Definition: GraphNode.H:355
A Concrete Class for Dynamic Memory Management.
Definition: Arena.H:124
bool m_isRegular
If true, this represents a regular cell and only m_coarserNode will be valid.
Definition: GraphNode.H:48
const int SpaceDim
Definition: SPACE.H:39
int m_nodeInd
Index into node vector (for construction).
Definition: GraphNode.H:66
~GraphNode()
Definition: GraphNode.H:259
IndexTM< T, N > coarsen(const IndexTM< T, N > &a_p, T a_s)
Definition: IndexTMI.H:432
Vector< VolIndex > m_finerNodes
List of finer vofs.
Definition: GraphNode.H:69
int index(int a_idir, Side::LoHiSide a_side) const
Return the index into the arc vector.
Definition: GraphNode.H:360
GraphNode()
Definition: GraphNode.H:310
void setDefaults()
internal use only
Definition: GraphNode.H:304
bool isRegularWithMultiValuedParent() const
Definition: GraphNode.H:284
GraphNodeImplem()
Definition: GraphNode.H:346
LoHiSide
Definition: LoHiSide.H:27
bool isIrregular() const
Definition: GraphNode.H:298
void clear()
Definition: GraphNode.H:316
void linearOut(void *buffer) const
static BArena s_Arena
Definition: GraphNode.H:254
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
Definition: GraphNode.H:30
bool isRegularWithSingleValuedParent() const
Definition: GraphNode.H:278
Volume of Fluid Index.
Definition: VolIndex.H:31
Vector< int > m_arc[2 *SpaceDim]
Definition: GraphNode.H:58
void defineAsRegular()
Definition: GraphNode.H:332
Vector< GraphNodeImplem > * m_cellList
Definition: GraphNode.H:252
Definition: GraphNode.H:90
bool hasValidCellList() const
Definition: GraphNode.H:292