Public Member Functions | Friends | List of all members
tetIndices Class Reference

Storage and named access for the indices of a tet which is part of the decomposition of a cell. More...

Public Member Functions

 tetIndices ()
 Construct null. More...
 
 tetIndices (label celli, label facei, label faceBasePtI, label facePtAI, label facePtBI, label tetPtI)
 Construct from components. More...
 
 tetIndices (label celli, label facei, label tetPtI, const polyMesh &mesh)
 Construct from cell, face, pt description of tet. More...
 
 ~tetIndices ()
 Destructor. More...
 
label cell () const
 Return the cell. More...
 
label face () const
 Return the face. More...
 
label faceBasePt () const
 Return the face base point. More...
 
label facePtA () const
 Return face point A. More...
 
label facePtB () const
 Return face point B. More...
 
label tetPt () const
 Return the characterising tetPtI. More...
 
tetPointRef tet (const polyMesh &mesh) const
 Return the geometry corresponding to this tet from the. More...
 
tetPointRef oldTet (const polyMesh &mesh) const
 Return the geometry corresponding to this tet from the. More...
 
triPointRef faceTri (const polyMesh &mesh) const
 Return the geometry corresponding to the tri on the. More...
 
triFace faceTriIs (const polyMesh &mesh) const
 Return the point indices corresponding to the tri on the mesh. More...
 
triPointRef oldFaceTri (const polyMesh &mesh) const
 Return the geometry corresponding to the tri on the. More...
 
labelcell ()
 Return non-const access to the cell. More...
 
labelface ()
 Return non-const access to the face. More...
 
labelfaceBasePt ()
 Return non-const access to the face base point. More...
 
labelfacePtA ()
 Return non-const access to face point A. More...
 
labelfacePtB ()
 Return non-const access to face point B. More...
 
labeltetPt ()
 Return non-const access to the characterising tetPtI. More...
 
bool operator== (const tetIndices &) const
 
bool operator!= (const tetIndices &) const
 

Friends

Istreamoperator>> (Istream &, tetIndices &)
 
Ostreamoperator<< (Ostream &, const tetIndices &)
 

Detailed Description

Storage and named access for the indices of a tet which is part of the decomposition of a cell.

Tets are designated by

Source files

Definition at line 81 of file tetIndices.H.

Constructor & Destructor Documentation

Construct null.

Definition at line 30 of file tetIndices.C.

Referenced by tetIndices::tetIndices().

Here is the caller graph for this function:

tetIndices ( label  celli,
label  facei,
label  faceBasePtI,
label  facePtAI,
label  facePtBI,
label  tetPtI 
)

Construct from components.

Definition at line 42 of file tetIndices.C.

References tetIndices::tetIndices().

Here is the call graph for this function:

tetIndices ( label  celli,
label  facei,
label  tetPtI,
const polyMesh mesh 
)

Construct from cell, face, pt description of tet.

Definition at line 61 of file tetIndices.C.

References f(), polyMesh::faceOwner(), polyMesh::faces(), UList< T >::fcIndex(), pFaces, List< T >::size(), and polyMesh::tetBasePtIs().

Here is the call graph for this function:

~tetIndices ( )

Destructor.

Definition at line 102 of file tetIndices.C.

Member Function Documentation

Foam::label cell ( ) const
inline
Foam::label face ( ) const
inline
Foam::label faceBasePt ( ) const
inline
Foam::label facePtA ( ) const
inline
Foam::label facePtB ( ) const
inline
Foam::label tetPt ( ) const
inline
Foam::tetPointRef tet ( const polyMesh mesh) const
inline
Foam::tetPointRef oldTet ( const polyMesh mesh) const
inline

Return the geometry corresponding to this tet from the.

supplied mesh using the old positions

Definition at line 84 of file tetIndicesI.H.

References primitiveMesh::cells(), f(), polyMesh::faces(), polyMesh::oldPoints(), and pFaces.

Referenced by particle< Type >::movingTetLambda().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::triPointRef faceTri ( const polyMesh mesh) const
inline

Return the geometry corresponding to the tri on the.

mesh face for this tet from the supplied mesh. Normal of the tri points out of the cell.

Definition at line 109 of file tetIndicesI.H.

References f(), polyMesh::faces(), pFaces, and polyMesh::points().

Referenced by cellPointWeight::findTriangle(), particle< Type >::hitWallFaces(), solidParticle::hitWallPatch(), FreeStream< CloudType >::inflow(), particle< Type >::normal(), KinematicCloud< CloudType >::patchData(), polyMesh::pointInCell(), wallBoundedParticle::trackToEdge(), and particle< Type >::trackToFace().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::triFace faceTriIs ( const polyMesh mesh) const
inline

Return the point indices corresponding to the tri on the mesh.

face for this tet from the supplied mesh. Normal of the tri points out of the cell.

Definition at line 125 of file tetIndicesI.H.

References f(), polyMesh::faces(), pFaces, and triFace().

Here is the call graph for this function:

Foam::triPointRef oldFaceTri ( const polyMesh mesh) const
inline

Return the geometry corresponding to the tri on the.

mesh face for this tet from the supplied mesh using the old position

Definition at line 140 of file tetIndicesI.H.

References f(), polyMesh::faces(), polyMesh::oldPoints(), and pFaces.

Referenced by particle< Type >::hitWallFaces(), particle< Type >::oldNormal(), and KinematicCloud< CloudType >::patchData().

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::label & cell ( )
inline

Return non-const access to the cell.

Definition at line 156 of file tetIndicesI.H.

Foam::label & face ( )
inline

Return non-const access to the face.

Definition at line 162 of file tetIndicesI.H.

Foam::label & faceBasePt ( )
inline

Return non-const access to the face base point.

Definition at line 168 of file tetIndicesI.H.

Foam::label & facePtA ( )
inline

Return non-const access to face point A.

Definition at line 174 of file tetIndicesI.H.

Foam::label & facePtB ( )
inline

Return non-const access to face point B.

Definition at line 180 of file tetIndicesI.H.

Foam::label & tetPt ( )
inline

Return non-const access to the characterising tetPtI.

Definition at line 186 of file tetIndicesI.H.

bool operator== ( const tetIndices rhs) const
inline

Definition at line 194 of file tetIndicesI.H.

References tetIndices::cell(), tetIndices::face(), tetIndices::faceBasePt(), tetIndices::facePtA(), tetIndices::facePtB(), and tetIndices::tetPt().

Here is the call graph for this function:

bool operator!= ( const tetIndices rhs) const
inline

Definition at line 208 of file tetIndicesI.H.

Friends And Related Function Documentation

Istream& operator>> ( Istream ,
tetIndices  
)
friend
Ostream& operator<< ( Ostream ,
const tetIndices  
)
friend

The documentation for this class was generated from the following files: