Public Member Functions | |
FRWGraph () | |
Construct null. More... | |
FRWGraph (const label size) | |
Construct given size. More... | |
FRWGraph (const label size, const T &t) | |
Construct to given size and initialize. More... | |
FRWGraph (const FRWGraph< T, width > &) | |
Copy contructor. More... | |
~FRWGraph () | |
label | size () const |
Returns the number of rows. More... | |
label | sizeOfRow (const label rowI) const |
Returns the size of a given row (obsolete) More... | |
void | setSize (const label) |
Reset the number of rows. More... | |
void | clear () |
Clear the graph. More... | |
void | appendFixedList (const FixedList< T, width > &l) |
Append a row at the end of the graph. More... | |
void | setRow (const label rowI, const FixedList< T, width > &l) |
Set row with the list. More... | |
bool | contains (const label rowI, const T &e) const |
check if the element is in the given row (takes linear time) More... | |
label | containsAtPosition (const label rowI, const T &e) const |
const T & | operator() (const label i, const label j) const |
get and set operators More... | |
T & | operator() (const label i, const label j) |
void | operator= (const FRWGraph< T, width > &) |
Assignment operator. More... | |
Private Member Functions | |
void | checkIndex (const label i, const label j) const |
check index More... | |
Private Attributes | |
LongList< T > | data_ |
list containing the data More... | |
label | nRows_ |
number of rows More... | |
Friends | |
Ostream & | operator (Ostream &, const FRWGraph< T, width > &) |
Definition at line 53 of file FRWGraph.H.
|
inline |
Construct null.
Definition at line 54 of file FRWGraphI.H.
Construct given size.
Definition at line 63 of file FRWGraphI.H.
Construct to given size and initialize.
Construct given size.
Definition at line 75 of file FRWGraphI.H.
Copy contructor.
Definition at line 86 of file FRWGraphI.H.
|
inline |
Definition at line 95 of file FRWGraphI.H.
check index
Definition at line 27 of file FRWGraphI.H.
|
inline |
Returns the number of rows.
Definition at line 102 of file FRWGraphI.H.
Referenced by meshOctreeAddressing::calcGlobalPointLabels(), and tetCreatorOctree::createFaceCentreLabels().
|
inline |
Returns the size of a given row (obsolete)
Definition at line 108 of file FRWGraphI.H.
|
inline |
Reset the number of rows.
Definition at line 114 of file FRWGraphI.H.
Referenced by triSurfaceCurvatureEstimator::calculateSurfaceCurvatures().
|
inline |
Append a row at the end of the graph.
Definition at line 129 of file FRWGraphI.H.
Set row with the list.
Definition at line 140 of file FRWGraphI.H.
Referenced by meshOctreeAddressing::createNodeLeaves().
check if the element is in the given row (takes linear time)
Definition at line 152 of file FRWGraphI.H.
|
inline |
Definition at line 168 of file FRWGraphI.H.
get and set operators
Definition at line 185 of file FRWGraphI.H.
Assignment operator.
Definition at line 212 of file FRWGraphI.H.
list containing the data
Definition at line 77 of file FRWGraph.H.
|
private |
number of rows
Definition at line 80 of file FRWGraph.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.