OpenFOAM logo
Open Source CFD Toolkit

cell Class Reference

Inheritance diagram for cell:

Inheritance graph
[legend]
Collaboration diagram for cell:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 cell ()
 Construct null.
 cell (label)
 Construct given size.
 cell (const labelList &f)
 Construct from components.
 cell (Istream &)
 Construct from Istream.
label nFaces () const
 Number of faces.
labelList labels (const unallocFaceList &) const
 Return labels of cell vertices.
pointField points (const unallocFaceList &, const pointField &) const
 Return the cell vertices.
edgeList edges (const unallocFaceList &) const
 Return cell edges.
label opposingFaceLabel (const label masterFaceLabel, const unallocFaceList &meshFaces) const
 Return index of opposite face.
oppositeFace opposingFace (const label masterFaceLabel, const unallocFaceList &meshFaces) const
 Return opposite face oriented the same way as the master face.
point centre (const pointField &, const unallocFaceList &) const
 Returns cell centre.
scalar mag (const pointField &, const unallocFaceList &) const
 Returns cell volume.

Friends

bool operator== (const cell &, const cell &)
bool operator!= (const cell &, const cell &)

Constructor & Destructor Documentation

cell (   )  [inline]
 

Construct null.

Definition at line 45 of file cellI.H.

cell (  label   )  [inline, explicit]
 

Construct given size.

Definition at line 50 of file cellI.H.

References Foam::labelList.

cell (  const labelList &  f  )  [inline, explicit]
 

Construct from components.

Definition at line 57 of file cellI.H.

References Foam::labelList.

cell (  Istream &   )  [inline]
 

Construct from Istream.

Definition at line 64 of file cellI.H.

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

Here is the call graph for this function:


Member Function Documentation

point centre (  const pointField &  ,
const unallocFaceList & 
)  const
 

Returns cell centre.

edgeList edges (  const unallocFaceList &   )  const
 

Return cell edges.

labelList labels (  const unallocFaceList &   )  const
 

Return labels of cell vertices.

scalar mag (  const pointField &  ,
const unallocFaceList & 
)  const
 

Returns cell volume.

label nFaces (   )  const [inline]
 

Number of faces.

Definition at line 73 of file cellI.H.

oppositeFace opposingFace (  const label  masterFaceLabel,
const unallocFaceList &  meshFaces
)  const
 

Return opposite face oriented the same way as the master face.

label opposingFaceLabel (  const label  masterFaceLabel,
const unallocFaceList &  meshFaces
)  const
 

Return index of opposite face.

pointField points (  const unallocFaceList &  ,
const pointField & 
)  const
 

Return the cell vertices.


Friends And Related Function Documentation

bool operator!= (  const cell &  a,
const cell &  b
)  [friend]
 

Definition at line 79 of file cellI.H.

bool operator== (  const cell &  ,
const cell & 
)  [friend]
 


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