OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

tetCell Class Reference

A tetrahedral cell primitive. More...

Inheritance diagram for tetCell:
Collaboration diagram for tetCell:

List of all members.


Public Member Functions

 tetCell ()
 Construct null.
 tetCell (const label a, const label b, const label c, const label d)
 Construct from four points.
 tetCell (const FixedList< label, 4 > &)
 Construct from FixedList.
 tetCell (Istream &)
 Construct from Istream.
triFace face (const label faceI) const
 Return i-th face.
label edgeFace (const label edgeI) const
 Return first face adjacent to the given edge.
label edgeAdjacentFace (const label edgeI, const label faceI) const
 Return face adjacent to the given face sharing the same edge.
edge tetEdge (const label edgeI) const
 Return i-th edge.
cellShape tetCellShape () const
 Return tet shape cell.
tetPointRef tet (const pointField &) const
 Return the tetrahedron.

Detailed Description

A tetrahedral cell primitive.

It is important that the ordering of edges is the same for a tetrahedron class, a tetrahedron cell shape model and a tetCell

Source files

Definition at line 54 of file tetCell.H.


Constructor & Destructor Documentation

tetCell (  )  [inline]

Construct null.

Definition at line 25 of file tetCellI.H.

tetCell ( const label  a,
const label  b,
const label  c,
const label  d 
) [inline]

Construct from four points.

Definition at line 30 of file tetCellI.H.

tetCell ( const FixedList< label, 4 > &  lst  )  [inline]

Construct from FixedList.

Definition at line 44 of file tetCellI.H.

References FixedList< label, 4 >::operator[]().

Here is the call graph for this function:

tetCell ( Istream &  is  )  [inline]

Construct from Istream.

Definition at line 50 of file tetCellI.H.


Member Function Documentation

Foam::triFace face ( const label  faceI  )  const [inline]

Return i-th face.

Definition at line 58 of file tetCellI.H.

Foam::label edgeFace ( const label  edgeI  )  const [inline]

Return first face adjacent to the given edge.

Definition at line 84 of file tetCellI.H.

Foam::label edgeAdjacentFace ( const label  edgeI,
const label  faceI 
) const [inline]

Return face adjacent to the given face sharing the same edge.

Definition at line 108 of file tetCellI.H.

Foam::edge tetEdge ( const label  edgeI  )  const [inline]

Return i-th edge.

Definition at line 151 of file tetCellI.H.

Foam::cellShape tetCellShape (  )  const

Return tet shape cell.

Definition at line 28 of file tetCell.C.

References cellModeller::lookup(), and tetCell::tet().

Here is the call graph for this function:

Foam::tetPointRef tet ( const pointField &  points  )  const [inline]

Return the tetrahedron.

Definition at line 172 of file tetCellI.H.

Referenced by tetCell::tetCellShape().

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
  • src/OpenFOAM/meshes/meshShapes/tetCell/tetCell.H
  • src/OpenFOAM/meshes/meshShapes/tetCell/tetCell.C
  • src/OpenFOAM/meshes/meshShapes/tetCell/tetCellI.H
Copyright © 2000-2009 OpenCFD Ltd