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() [1/2]

GraphNodeImplem::GraphNodeImplem ( )
inline

◆ ~GraphNodeImplem()

GraphNodeImplem::~GraphNodeImplem ( )
inline

◆ GraphNodeImplem() [2/2]

GraphNodeImplem::GraphNodeImplem ( const GraphNodeImplem a_impin)

Member Function Documentation

◆ operator=()

GraphNodeImplem& GraphNodeImplem::operator= ( const GraphNodeImplem a_impin)

◆ index()

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.

◆ linearSize()

int GraphNodeImplem::linearSize ( ) const

◆ linearOut()

void GraphNodeImplem::linearOut ( void *  buffer) const

◆ linearIn()

void GraphNodeImplem::linearIn ( void *  buffer)

Member Data Documentation

◆ m_isRegular

bool GraphNodeImplem::m_isRegular

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

Referenced by GraphNode::isRegularWithMultiValuedParent().

◆ m_isValid

bool GraphNodeImplem::m_isValid

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

◆ m_arc

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

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

◆ m_coarserNode

int GraphNodeImplem::m_coarserNode

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

Cell index of next coarser vof

◆ m_nodeInd

int GraphNodeImplem::m_nodeInd

Index into node vector (for construction).

◆ m_finerNodes

Vector<VolIndex> GraphNodeImplem::m_finerNodes

List of finer vofs.


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