Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
cellPointWeight Class Reference

Foam::cellPointWeight. More...

Inheritance diagram for cellPointWeight:
Inheritance graph
[legend]
Collaboration diagram for cellPointWeight:
Collaboration graph
[legend]

Public Member Functions

 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 List< scalar > & weights () const
 Interpolation weights. More...
 
const List< label > & faceVertices () const
 Interpolation addressing for points on face. More...
 

Static Public Attributes

static int debug
 Debug switch. More...
 
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...
 
List< scalar > weights_
 Weights applied to tet vertices. More...
 
List< labelfaceVertices_
 Face vertex indices. More...
 

Detailed Description

Foam::cellPointWeight.

Source files

Definition at line 50 of file cellPointWeight.H.

Constructor & Destructor Documentation

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

Construct from components.

Definition at line 256 of file cellPointWeight.C.

Referenced by cellPointWeight::findTriangle().

Here is the caller graph for this function:

Member Function Documentation

void findTetrahedron ( const polyMesh mesh,
const vector position,
const label  celli 
)
protected
void findTriangle ( const polyMesh mesh,
const vector position,
const label  facei 
)
protected
label cell ( ) const
inline

Cell index.

Definition at line 108 of file cellPointWeight.H.

References cellPointWeight::celli_.

Referenced by interpolationCellPointWallModified< Type >::interpolate(), and interpolationCellPoint< Type >::interpolate().

Here is the caller graph for this function:

const List<scalar>& weights ( ) const
inline

Interpolation weights.

Definition at line 114 of file cellPointWeight.H.

References cellPointWeight::weights_.

Referenced by interpolationCellPointWallModified< Type >::interpolate(), and interpolationCellPoint< Type >::interpolate().

Here is the caller graph for this function:

const List<label>& faceVertices ( ) const
inline

Interpolation addressing for points on face.

Definition at line 120 of file cellPointWeight.H.

References cellPointWeight::faceVertices_.

Referenced by interpolationCellPointWallModified< Type >::interpolate(), and interpolationCellPoint< Type >::interpolate().

Here is the caller graph for this function:

Member Data Documentation

const label celli_
protected

Cell index.

Definition at line 57 of file cellPointWeight.H.

Referenced by cellPointWeight::cell().

List<scalar> weights_
protected

Weights applied to tet vertices.

Definition at line 60 of file cellPointWeight.H.

Referenced by cellPointWeight::weights().

List<label> faceVertices_
protected

Face vertex indices.

Definition at line 63 of file cellPointWeight.H.

Referenced by cellPointWeight::faceVertices().

int debug
static

Debug switch.

Definition at line 86 of file cellPointWeight.H.

Foam::scalar tol
static

Tolerance used in calculating barycentric co-ordinates.

(applied to normalised values)

Definition at line 90 of file cellPointWeight.H.


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