FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

tetCell Class Reference

A tetrahedral cell primitive. More...

#include <OpenFOAM/tetCell.H>


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 59 of file tetCell.H.

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.

Constructor & Destructor Documentation

tetCell (  ) [inline]

Construct null.

Definition at line 32 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 37 of file tetCellI.H.

References b, and d.

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

Construct from FixedList.

Definition at line 51 of file tetCellI.H.

tetCell ( Istream &   is  ) [inline]

Construct from Istream.

Definition at line 57 of file tetCellI.H.


Member Function Documentation

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

Return i-th face.

Definition at line 65 of file tetCellI.H.

References Foam::abort(), Foam::FatalError, FatalErrorIn, and triFace().

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

Return first face adjacent to the given edge.

Definition at line 91 of file tetCellI.H.

References Foam::abort(), Foam::FatalError, and FatalErrorIn.

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 115 of file tetCellI.H.

References Foam::abort(), Foam::FatalError, and FatalErrorIn.

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

Return i-th edge.

Definition at line 158 of file tetCellI.H.

References Foam::abort(), Foam::FatalError, and FatalErrorIn.

Foam::cellShape tetCellShape (  ) const

Return tet shape cell.

Definition at line 35 of file tetCell.C.

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

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

Return the tetrahedron.

Definition at line 179 of file tetCellI.H.

Referenced by tetCell::tetCellShape().


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