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... | |
label & | operator() (const label i, const label j, const label k) |
const subGraph< const VRWGraph > | operator[] (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< rowElement > | rows_ |
number of rows More... | |
Friends | |
Ostream & | operator<< (Ostream &, const VRWGraphList &) |
Definition at line 51 of file VRWGraphList.H.
|
inline |
Construct null.
Definition at line 72 of file VRWGraphListI.H.
|
inline |
Copy contructor.
Definition at line 80 of file VRWGraphListI.H.
|
inline |
Definition at line 89 of file VRWGraphListI.H.
check index
Definition at line 32 of file VRWGraphListI.H.
References Foam::abort(), Foam::FatalError, FatalErrorIn, and k.
|
inline |
Returns the number of graphs.
Definition at line 96 of file VRWGraphListI.H.
Referenced by polyMeshGenModifier::addCells(), boundaryLayers::createLayerCells(), and boundaryLayers::createNewFacesAndCells().
|
inline |
Returns the number of rows in the graph at that position.
Definition at line 101 of file VRWGraphListI.H.
Referenced by polyMeshGenModifier::addCells().
|
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().
|
inline |
Clear the graph.
Definition at line 115 of file VRWGraphListI.H.
Referenced by decomposeCells::addNewCells(), boundaryLayers::createLayerCells(), boundaryLayers::createNewFacesAndCells(), and decomposeCells::createPointsAndCellFaces().
|
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().
|
inline |
|
inline |
Definition at line 153 of file VRWGraphListI.H.
References k.
|
inline |
Definition at line 165 of file VRWGraphListI.H.
|
inline |
Assignment operator.
Definition at line 172 of file VRWGraphListI.H.
References VRWGraphList::data_, and VRWGraphList::rows_.
|
friend |
|
private |
graph containing the data
Definition at line 56 of file VRWGraphList.H.
Referenced by VRWGraphList::operator=().
|
private |
number of rows
Definition at line 59 of file VRWGraphList.H.
Referenced by VRWGraphList::operator=().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.