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

Foam::cellPointWeight. More...

#include <finiteVolume/cellPointWeight.H>


Detailed Description

Foam::cellPointWeight.

Source files

Definition at line 51 of file cellPointWeight.H.

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.

Constructor & Destructor Documentation

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

Construct from components.

Definition at line 308 of file cellPointWeight.C.


Member Function Documentation

void findTetrahedron ( const polyMesh &   mesh,
const vector &   position,
const label   cellIndex  
) [protected]
void findTriangle ( const polyMesh &   mesh,
const vector &   position,
const label   faceIndex  
) [protected]
label cell (  ) const [inline]
const FixedList<scalar, 4>& weights (  ) const [inline]
const FixedList<label, 3>& faceVertices (  ) const [inline]

interpolation addressing for points on face

Definition at line 121 of file cellPointWeight.H.

References cellPointWeight::faceVertices_.

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


Member Data Documentation

const label cellIndex_ [protected]

Cell index.

Definition at line 58 of file cellPointWeight.H.

Referenced by cellPointWeight::cell().

FixedList<scalar, 4> weights_ [protected]

Weights applied to tet vertices.

Definition at line 61 of file cellPointWeight.H.

Referenced by cellPointWeight::weights().

FixedList<label, 3> faceVertices_ [protected]

Face vertex indices.

Definition at line 64 of file cellPointWeight.H.

Referenced by cellPointWeight::faceVertices().

int debug [static]

Debug switch.

Definition at line 87 of file cellPointWeight.H.

Foam::scalar tol [static]

Tolerance used in calculating barycentric co-ordinates.

(applied to normalised values)

Definition at line 91 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