Chombo + EB  3.0
Public Member Functions | Public Attributes | List of all members
GraphNodeImplem Class Reference

#include <GraphNode.H>

Public Member Functions

 GraphNodeImplem ()
 
 ~GraphNodeImplem ()
 
GraphNodeImplemoperator= (const GraphNodeImplem &a_impin)
 
 GraphNodeImplem (const GraphNodeImplem &a_impin)
 
int index (int a_idir, Side::LoHiSide a_side) const
 Return the index into the arc vector. More...
 
int linearSize () const
 
void linearOut (void *buffer) const
 
void linearIn (void *buffer)
 

Public Attributes

bool m_isRegular
 If true, this represents a regular cell and only m_coarserNode will be valid. More...
 
bool m_isValid
 Used to mark a GraphNode as invalid - used in getting connected components of the graph. More...
 
Vector< int > m_arc [2 *SpaceDim]
 
int m_coarserNode
 Cell index of this vof is the index into the vector. More...
 
int m_nodeInd
 Index into node vector (for construction). More...
 
Vector< VolIndexm_finerNodes
 List of finer vofs. More...
 

Detailed Description

This is the graph data held for each irregular node. Warning: each GraphNode holds a Vector of GraphNodeImplems.

Constructor & Destructor Documentation

GraphNodeImplem::GraphNodeImplem ( )
inline
GraphNodeImplem::~GraphNodeImplem ( )
inline
GraphNodeImplem::GraphNodeImplem ( const GraphNodeImplem a_impin)

Member Function Documentation

GraphNodeImplem& GraphNodeImplem::operator= ( const GraphNodeImplem a_impin)
int GraphNodeImplem::index ( int  a_idir,
Side::LoHiSide  a_side 
) const
inline

Return the index into the arc vector.

References CH_assert, CH_SPACEDIM, and SpaceDim.

int GraphNodeImplem::linearSize ( ) const
void GraphNodeImplem::linearOut ( void *  buffer) const
void GraphNodeImplem::linearIn ( void *  buffer)

Member Data Documentation

bool GraphNodeImplem::m_isRegular

If true, this represents a regular cell and only m_coarserNode will be valid.

bool GraphNodeImplem::m_isValid

Used to mark a GraphNode as invalid - used in getting connected components of the graph.

Vector<int> GraphNodeImplem::m_arc[2 *SpaceDim]

Cell indicies of neighboring cells. If the arc is a boundary face, the int = -1

int GraphNodeImplem::m_coarserNode

Cell index of this vof is the index into the vector.

Cell index of next coarser vof

int GraphNodeImplem::m_nodeInd

Index into node vector (for construction).

Vector<VolIndex> GraphNodeImplem::m_finerNodes

List of finer vofs.


The documentation for this class was generated from the following file: