![]() |
|
Public Member Functions | |
cellModel (Istream &) | |
Construct from Istream. | |
autoPtr< cellModel > | clone () const |
Return clone. | |
const word & | name () const |
Return model name. | |
label | index () const |
Return index of model in the model list. | |
label | nPoints () const |
Return number of points. | |
label | nEdges () const |
Return number of edges. | |
label | nFaces () const |
Return number of faces. | |
edgeList | edges (const labelList &pointLabels) const |
Return list of edges. | |
const faceList & | modelFaces () const |
Return a raw list of model faces. | |
faceList | faces (const labelList &pointLabels) const |
Return list of faces. | |
vector | centre (const labelList &pointLabels, const pointField &points) const |
Vector centroid. | |
scalar | mag (const labelList &pointLabels, const pointField &points) const |
Cell volume. | |
InfoProxy< cellModel > | info () const |
Return info proxy. | |
bool | writeData (Ostream &os) const |
WriteData member function required by regIOobject. | |
Static Public Member Functions | |
autoPtr< cellModel > | New (Istream &is) |
Return a new cellModel on free-store created from Istream. | |
Friends | |
bool | operator== (const cellModel &, const cellModel &) |
Equality operator: true => ptr to models are equal ! | |
bool | operator!= (const cellModel &, const cellModel &) |
Inequality operator: true => ptr to models are not equal ! | |
Ostream & | operator<< (Ostream &, const cellModel &) |
|
Construct from Istream.
|
|
Vector centroid.
Referenced by cellShape::nPoints(). |
|
Return clone.
Definition at line 99 of file cellModel.H. References Foam::edgeList, Foam::faceList, Foam::label, Foam::labelList, Foam::mag(), Foam::pointField, and Foam::vector. |
Here is the call graph for this function:
|
Return list of edges.
Definition at line 79 of file cellModelI.H. Referenced by cellShape::nFaces(). |
|
Return list of faces.
Definition at line 106 of file cellModelI.H. |
|
Return index of model in the model list.
Definition at line 53 of file cellModelI.H. |
|
Return info proxy. Used to print token information to a stream Definition at line 152 of file cellModel.H. |
|
Cell volume.
Referenced by cellShape::centre(). |
|
Return a raw list of model faces.
Definition at line 99 of file cellModelI.H. References Foam::faceList, forAll, Foam::labelList, and UList::size(). |
Here is the call graph for this function:
|
Return model name.
Definition at line 47 of file cellModelI.H. |
|
Return number of edges.
Definition at line 65 of file cellModelI.H. Referenced by cellShape::edges(). |
|
Return a new cellModel on free-store created from Istream.
Definition at line 93 of file cellModel.H. |
|
Return number of faces.
Definition at line 71 of file cellModelI.H. References Foam::mathematicalConstant::e(), Foam::edgeList, forAll, Foam::labelList, and UList::size(). |
Here is the call graph for this function:
|
Return number of points.
Definition at line 59 of file cellModelI.H. |
|
WriteData member function required by regIOobject.
Definition at line 158 of file cellModel.H. |
|
Inequality operator: true => ptr to models are not equal !
Definition at line 138 of file cellModelI.H. |
|
|
|
Equality operator: true => ptr to models are equal !
Definition at line 132 of file cellModelI.H. |