cellPointWeight Class Reference

Foam::cellPointWeight. More...

Collaboration diagram for cellPointWeight:

Public Member Functions

 ClassName ("cellPointWeight")
 Type information. More...
 
 cellPointWeight (const polyMesh &mesh, const vector &position, const label celli, const label facei=-1)
 Construct from components. More...
 
label cell () const
 Cell index. More...
 
const barycentricweights () const
 Interpolation weights. More...
 
const triFacefaceVertices () const
 Interpolation addressing for points on face. More...
 

Static Public Attributes

static scalar tol
 Tolerance used in calculating barycentric co-ordinates. More...
 

Protected Member Functions

void findTetrahedron (const polyMesh &mesh, const vector &position, const label celli)
 
void findTriangle (const polyMesh &mesh, const vector &position, const label facei)
 

Protected Attributes

const label celli_
 Cell index. More...
 
barycentric weights_
 Weights applied to tet vertices. Equal to the barycentric coordinates. More...
 
triFace faceVertices_
 Face vertex indices. More...
 

Detailed Description

Constructor & Destructor Documentation

◆ cellPointWeight()

cellPointWeight ( const polyMesh mesh,
const vector position,
const label  celli,
const label  facei = -1 
)

Construct from components.

Definition at line 244 of file cellPointWeight.C.

References cellPointWeight::findTetrahedron(), and cellPointWeight::findTriangle().

Here is the call graph for this function:

Member Function Documentation

◆ findTetrahedron()

◆ findTriangle()

◆ ClassName()

ClassName ( "cellPointWeight"  )

Type information.

◆ cell()

label cell ( ) const
inline

Cell index.

Definition at line 111 of file cellPointWeight.H.

References cellPointWeight::celli_.

Referenced by interpolationCellPoint< Type >::interpolate().

Here is the caller graph for this function:

◆ weights()

const barycentric& weights ( ) const
inline

Interpolation weights.

Definition at line 117 of file cellPointWeight.H.

References cellPointWeight::weights_.

Referenced by interpolationCellPoint< Type >::interpolate().

Here is the caller graph for this function:

◆ faceVertices()

const triFace& faceVertices ( ) const
inline

Interpolation addressing for points on face.

Definition at line 123 of file cellPointWeight.H.

References cellPointWeight::faceVertices_.

Referenced by interpolationCellPoint< Type >::interpolate().

Here is the caller graph for this function:

Member Data Documentation

◆ celli_

const label celli_
protected

Cell index.

Definition at line 59 of file cellPointWeight.H.

Referenced by cellPointWeight::cell().

◆ weights_

barycentric weights_
protected

Weights applied to tet vertices. Equal to the barycentric coordinates.

of the interpolation position.

Definition at line 63 of file cellPointWeight.H.

Referenced by cellPointWeight::findTetrahedron(), and cellPointWeight::weights().

◆ faceVertices_

triFace faceVertices_
protected

Face vertex indices.

Definition at line 66 of file cellPointWeight.H.

Referenced by cellPointWeight::faceVertices(), and cellPointWeight::findTetrahedron().

◆ tol

Foam::scalar tol
static

Tolerance used in calculating barycentric co-ordinates.

(applied to normalised values)

Definition at line 93 of file cellPointWeight.H.

Referenced by cellPointWeight::findTetrahedron().


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