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

cellPointWeight Class Reference

Foam::cellPointWeight. More...

Inheritance diagram for cellPointWeight:
Collaboration diagram for cellPointWeight:

List of all members.


Public Member Functions

 cellPointWeight (const polyMesh &mesh, const vector &position, const label nCell, const label facei=-1)
 Construct from components.
label cell () const
 Cell index.
const FixedList< scalar, 4 > & weights () const
 interpolation weights
const FixedList< label, 3 > & faceVertices () const
 interpolation addressing for points on face

Static Public Attributes

static int debug
 Debug switch.
static scalar tol
 Tolerance used in calculating barycentric co-ordinates.

Protected Member Functions

void findTetrahedron (const polyMesh &mesh, const vector &position, const label cellIndex)
void findTriangle (const polyMesh &mesh, const vector &position, const label faceIndex)

Protected Attributes

const label cellIndex_
 Cell index.
FixedList< scalar, 4 > weights_
 Weights applied to tet vertices.
FixedList< label, 3 > faceVertices_
 Face vertex indices.

Detailed Description

Foam::cellPointWeight.

Source files

Definition at line 46 of file cellPointWeight.H.


Constructor & Destructor Documentation

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

Construct from components.

Definition at line 300 of file cellPointWeight.C.


Member Function Documentation

void findTetrahedron ( const polyMesh &  mesh,
const vector &  position,
const label  cellIndex 
) [protected]

Definition at line 29 of file cellPointWeight.C.

Referenced by cellPointWeightWallModified::cellPointWeightWallModified().

Here is the caller graph for this function:

void findTriangle ( const polyMesh &  mesh,
const vector &  position,
const label  faceIndex 
) [protected]

Definition at line 178 of file cellPointWeight.C.

Referenced by cellPointWeightWallModified::cellPointWeightWallModified().

Here is the caller graph for this function:

label cell (  )  const [inline]

Cell index.

Definition at line 106 of file cellPointWeight.H.

const FixedList<scalar, 4>& weights (  )  const [inline]

interpolation weights

Definition at line 112 of file cellPointWeight.H.

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

Here is the caller graph for this function:

const FixedList<label, 3>& faceVertices (  )  const [inline]

interpolation addressing for points on face

Definition at line 118 of file cellPointWeight.H.

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

Here is the caller graph for this function:


Member Data Documentation

const label cellIndex_ [protected]

Cell index.

Definition at line 53 of file cellPointWeight.H.

FixedList<scalar, 4> weights_ [protected]

Weights applied to tet vertices.

Definition at line 56 of file cellPointWeight.H.

Referenced by cellPointWeightWallModified::cellPointWeightWallModified().

FixedList<label, 3> faceVertices_ [protected]

Face vertex indices.

Definition at line 59 of file cellPointWeight.H.

int debug [static]

Debug switch.

Definition at line 82 of file cellPointWeight.H.

Foam::scalar tol [static]

Tolerance used in calculating barycentric co-ordinates.

(applied to normailised values)

Definition at line 88 of file cellPointWeight.H.


The documentation for this class was generated from the following files:
  • src/finiteVolume/interpolation/interpolation/interpolationCellPoint/cellPointWeight/cellPointWeight.H
  • src/finiteVolume/interpolation/interpolation/interpolationCellPoint/cellPointWeight/cellPointWeight.C
Copyright © 2000-2009 OpenCFD Ltd