Public Member Functions | Private Member Functions | Private Attributes | Friends
VRWGraphList Class Reference
Collaboration diagram for VRWGraphList:
Collaboration graph
[legend]

Public Member Functions

 VRWGraphList ()
 Construct null. More...
 
 VRWGraphList (const VRWGraphList &)
 Copy contructor. More...
 
 ~VRWGraphList ()
 
label size () const
 Returns the number of graphs. More...
 
label sizeOfGraph (const label posI) const
 Returns the number of rows in the graph at that position. More...
 
label sizeOfRow (const label posI, const label rowI) const
 Return the number of element in the row at the given position. More...
 
void clear ()
 Clear the graph. More...
 
template<class GraphType >
void appendGraph (const GraphType &l)
 Append a graph at the end of the graphList. More...
 
label operator() (const label i, const label j, const label k) const
 get and set operators More...
 
labeloperator() (const label i, const label j, const label k)
 
const subGraph< const VRWGraphoperator[] (const label i) const
 
void operator= (const VRWGraphList &)
 Assignment operator. More...
 

Private Member Functions

void checkIndex (const label i, const label j, const label k) const
 check index More...
 

Private Attributes

VRWGraph data_
 graph containing the data More...
 
LongList< rowElementrows_
 number of rows More...
 

Friends

Ostreamoperator<< (Ostream &, const VRWGraphList &)
 

Detailed Description

Definition at line 51 of file VRWGraphList.H.

Constructor & Destructor Documentation

◆ VRWGraphList() [1/2]

VRWGraphList ( )
inline

Construct null.

Definition at line 72 of file VRWGraphListI.H.

◆ VRWGraphList() [2/2]

VRWGraphList ( const VRWGraphList ol)
inline

Copy contructor.

Definition at line 80 of file VRWGraphListI.H.

◆ ~VRWGraphList()

~VRWGraphList ( )
inline

Definition at line 89 of file VRWGraphListI.H.

Member Function Documentation

◆ checkIndex()

void checkIndex ( const label  i,
const label  j,
const label  k 
) const
inlineprivate

check index

Definition at line 32 of file VRWGraphListI.H.

References Foam::abort(), Foam::FatalError, FatalErrorIn, and k.

Here is the call graph for this function:

◆ size()

Foam::label size ( ) const
inline

Returns the number of graphs.

Definition at line 96 of file VRWGraphListI.H.

Referenced by polyMeshGenModifier::addCells(), boundaryLayers::createLayerCells(), and boundaryLayers::createNewFacesAndCells().

Here is the caller graph for this function:

◆ sizeOfGraph()

Foam::label sizeOfGraph ( const label  posI) const
inline

Returns the number of rows in the graph at that position.

Definition at line 101 of file VRWGraphListI.H.

Referenced by polyMeshGenModifier::addCells().

Here is the caller graph for this function:

◆ sizeOfRow()

Foam::label sizeOfRow ( const label  posI,
const label  rowI 
) const
inline

Return the number of element in the row at the given position.

Definition at line 107 of file VRWGraphListI.H.

Referenced by polyMeshGenModifier::addCells().

Here is the caller graph for this function:

◆ clear()

void clear ( )
inline

Clear the graph.

Definition at line 115 of file VRWGraphListI.H.

Referenced by decomposeCells::addNewCells(), boundaryLayers::createLayerCells(), boundaryLayers::createNewFacesAndCells(), and decomposeCells::createPointsAndCellFaces().

Here is the caller graph for this function:

◆ appendGraph()

void appendGraph ( const GraphType &  l)
inline

Append a graph at the end of the graphList.

Definition at line 123 of file VRWGraphListI.H.

References Foam::constant::atomic::re.

Referenced by extrudeLayer::createLayerCells(), boundaryLayers::createLayerCells(), boundaryLayers::createNewFacesAndCells(), partTetMesh::createPolyMesh(), and decomposeCells::decomposeCellIntoPyramids().

Here is the caller graph for this function:

◆ operator()() [1/2]

Foam::label operator() ( const label  i,
const label  j,
const label  k 
) const
inline

get and set operators

Definition at line 138 of file VRWGraphListI.H.

References k.

◆ operator()() [2/2]

Foam::label & operator() ( const label  i,
const label  j,
const label  k 
)
inline

Definition at line 153 of file VRWGraphListI.H.

References k.

◆ operator[]()

const Foam::subGraph< const VRWGraph > operator[] ( const label  i) const
inline

Definition at line 165 of file VRWGraphListI.H.

◆ operator=()

void operator= ( const VRWGraphList l)
inline

Assignment operator.

Definition at line 172 of file VRWGraphListI.H.

References VRWGraphList::data_, and VRWGraphList::rows_.

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream ,
const VRWGraphList  
)
friend

Field Documentation

◆ data_

VRWGraph data_
private

graph containing the data

Definition at line 56 of file VRWGraphList.H.

Referenced by VRWGraphList::operator=().

◆ rows_

LongList<rowElement> rows_
private

number of rows

Definition at line 59 of file VRWGraphList.H.

Referenced by VRWGraphList::operator=().


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