OpenFOAM logo
Open Source CFD Toolkit

cellShape Class Reference

Inheritance diagram for cellShape:

Inheritance graph
[legend]
Collaboration diagram for cellShape:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 cellShape ()
 Construct null.
 cellShape (const cellModel &, const labelList &, const bool doCollapse=false)
 Construct from components.
 cellShape (Istream &is)
 Construct from Istream.
autoPtr< cellShapeclone () const
 Clone.
pointField points (const pointField &meshPoints) const
 Return the points corresponding to this cellShape.
const cellModelmodel () const
 Model reference.
labelList meshFaces (const faceList &allFaces, const cell &) const
 Mesh face labels of this cell (in order of model).
labelList meshEdges (const edgeList &allEdges, const labelList &) const
 Mesh edge labels of this cell (in order of model).
faceList faces () const
 Faces of this cell.
faceList collapsedFaces () const
 Collapsed faces of this cell.
label nFaces () const
 Number of faces.
edgeList edges () const
 Edges of this cellShape.
label nEdges () const
 Number of edges.
label nPoints () const
 Number of points.
point centre (const pointField &) const
 Centroid of the cell.
InfoProxy< cellShapeinfo () const
 Return info proxy.
scalar mag (const pointField &) const
 Scalar magnitude.
void collapse ()
 Collapse shape to correct one after removing duplicate vertices.

Friends

bool operator== (const cellShape &, const cellShape &)
Istreamoperator>> (Istream &, cellShape &)
Ostreamoperator<< (Ostream &, const cellShape &)

Constructor & Destructor Documentation

cellShape  )  [inline]
 

Construct null.

Definition at line 49 of file cellShapeI.H.

References Foam::labelList.

Referenced by cellShape::cellShape().

cellShape const cellModel ,
const labelList ,
const bool  doCollapse = false
[inline]
 

Construct from components.

Definition at line 57 of file cellShapeI.H.

cellShape Istream is  )  [inline]
 

Construct from Istream.

Definition at line 74 of file cellShapeI.H.

References cellShape::cellShape().

Here is the call graph for this function:


Member Function Documentation

point centre const pointField  )  const [inline]
 

Centroid of the cell.

Definition at line 269 of file cellShapeI.H.

References cellModel::mag().

Here is the call graph for this function:

autoPtr< cellShape > clone  )  const [inline]
 

Clone.

Reimplemented from List< label >.

Definition at line 81 of file cellShapeI.H.

References forAll, p, Foam::pointField, and UList< label >::size().

Here is the call graph for this function:

void collapse  ) 
 

Collapse shape to correct one after removing duplicate vertices.

faceList collapsedFaces  )  const [inline]
 

Collapsed faces of this cell.

Definition at line 191 of file cellShapeI.H.

References forAll, Foam::label, List::setSize(), and UList::size().

Here is the call graph for this function:

edgeList edges  )  const [inline]
 

Edges of this cellShape.

Definition at line 248 of file cellShapeI.H.

References cellModel::nEdges().

Here is the call graph for this function:

faceList faces  )  const [inline]
 

Faces of this cell.

Definition at line 185 of file cellShapeI.H.

References Foam::faceList, and Foam::label.

InfoProxy<cellShape> info  )  const [inline]
 

Return info proxy.

Used to print token information to a stream

Definition at line 144 of file cellShape.H.

scalar mag const pointField  )  const [inline]
 

Scalar magnitude.

Definition at line 276 of file cellShapeI.H.

labelList meshEdges const edgeList allEdges,
const labelList
const [inline]
 

Mesh edge labels of this cell (in order of model).

Definition at line 151 of file cellShapeI.H.

References forAll, Foam::label, and Foam::labelList.

labelList meshFaces const faceList allFaces,
const cell
const [inline]
 

Mesh face labels of this cell (in order of model).

Definition at line 116 of file cellShapeI.H.

References forAll, Foam::label, and Foam::labelList.

const cellModel & model  )  const [inline]
 

Model reference.

Definition at line 108 of file cellShapeI.H.

References Foam::faceList.

label nEdges  )  const [inline]
 

Number of edges.

Definition at line 255 of file cellShapeI.H.

References UList< label >::size().

Here is the call graph for this function:

label nFaces  )  const [inline]
 

Number of faces.

Definition at line 241 of file cellShapeI.H.

References cellModel::edges().

Here is the call graph for this function:

label nPoints  )  const [inline]
 

Number of points.

Definition at line 262 of file cellShapeI.H.

References cellModel::centre().

Here is the call graph for this function:

pointField points const pointField meshPoints  )  const [inline]
 

Return the points corresponding to this cellShape.

Definition at line 90 of file cellShapeI.H.

References UList< label >::operator[](), and p.

Here is the call graph for this function:


Friends And Related Function Documentation

Ostream& operator<< Ostream ,
const cellShape
[friend]
 

bool operator== const cellShape ,
const cellShape
[friend]
 

Istream& operator>> Istream ,
cellShape
[friend]
 


The documentation for this class was generated from the following files:
For further information go to www.openfoam.org