23 #include "NamespaceHeader.H" 120 inline bool isCovered()
const;
126 inline bool isRegular()
const;
133 inline bool isRegularWithSingleValuedParent()
const;
140 inline bool isRegularWithMultiValuedParent()
const;
146 inline bool isIrregular()
const;
152 inline bool hasValidCellList()
const;
159 inline void defineAsRegular();
166 inline void defineAsCovered();
195 getVoFs(
const IntVect& a_iv)
const;
244 inline void setDefaults();
277 return (isRegularWithSingleValuedParent() ||
278 isRegularWithMultiValuedParent());
291 ((*m_cellList).size() == 1) &&
298 return (!isCovered() && !isRegularWithSingleValuedParent());
304 return ((!isRegular()) && (!isCovered()));
322 if (hasValidCellList())
326 s_Arena.free(m_cellList);
327 #ifdef CH_USE_MEMORY_TRACKING 385 #include "NamespaceFooter.H"
bool isCovered() const
Definition: GraphNode.H:269
void linearIn(void *buffer)
#define CH_SPACEDIM
Definition: SPACE.H:51
#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:141
bool m_isValid
Used to mark a GraphNode as invalid - used in getting connected components of the graph...
Definition: GraphNode.H:51
Definition: EBISLevel.H:84
GraphNodeImplem & operator=(const GraphNodeImplem &a_impin)
void defineAsCovered()
Definition: GraphNode.H:344
int m_coarserNode
Cell index of this vof is the index into the vector.
Definition: GraphNode.H:63
bool isRegular() const
Definition: GraphNode.H:275
~GraphNodeImplem()
Definition: GraphNode.H:360
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:38
int m_nodeInd
Index into node vector (for construction).
Definition: GraphNode.H:66
~GraphNode()
Definition: GraphNode.H:263
IndexTM< T, N > coarsen(const IndexTM< T, N > &a_p, T a_s)
Definition: IndexTMI.H:430
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:365
GraphNode()
Definition: GraphNode.H:314
void setDefaults()
internal use only
Definition: GraphNode.H:308
bool isRegularWithMultiValuedParent() const
Definition: GraphNode.H:288
GraphNodeImplem()
Definition: GraphNode.H:351
LoHiSide
Definition: LoHiSide.H:27
bool isIrregular() const
Definition: GraphNode.H:302
void clear()
Definition: GraphNode.H:320
void linearOut(void *buffer) const
static BArena s_Arena
Definition: GraphNode.H:256
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:469
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
Definition: GraphNode.H:30
bool isRegularWithSingleValuedParent() const
Definition: GraphNode.H:282
Volume of Fluid Index.
Definition: VolIndex.H:31
Vector< int > m_arc[2 *SpaceDim]
Definition: GraphNode.H:58
void defineAsRegular()
Definition: GraphNode.H:337
Vector< GraphNodeImplem > * m_cellList
Definition: GraphNode.H:254
Definition: GraphNode.H:92
bool hasValidCellList() const
Definition: GraphNode.H:296