OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

cell Class Reference

Inheritance diagram for cell:

Inheritance graph
[legend]
Collaboration diagram for cell:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 63 of file cell.H.


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.

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

Construct from components.

Definition at line 57 of file cellI.H.

cell ( Istream &   )  [inline]

Construct from Istream.

Definition at line 64 of file cellI.H.

References UList::size().

Here is the call graph for this function:


Member Function Documentation

label nFaces (  )  const [inline]

Number of faces.

Definition at line 73 of file cellI.H.

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 And Related Function Documentation

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

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

Definition at line 79 of file cellI.H.


The documentation for this class was generated from the following files:
  • src/OpenFOAM/meshes/meshShapes/cell/cell.H
  • src/OpenFOAM/meshes/meshShapes/cell/cellI.H
Copyright © 2000-2007 OpenCFD Ltd