cellPointGradBase< Type > Class Template Reference
Inheritance diagram for cellPointGradBase< Type >:
Collaboration diagram for cellPointGradBase< Type >:

Public Member Functions

interpolationGradType< Type > interpolateGrad (const tetIndices &tetIs, const scalar detA, const barycentricTensor T) const
 Interpolate the gradient to the given point in the given cell. More...
 
interpolationGradType< Type > interpolateGrad (const vector &position, const label celli, const label facei=-1) const
 Interpolate the gradient to the given point in the given cell. More...
 
interpolationGradType< Type > interpolateGrad (const barycentric &coordinates, const tetIndices &tetIs, const label facei=-1) const
 Interpolate the gradient to the coordinates in the given tetrahedron. More...
 
- Public Member Functions inherited from cellPointBase< Type >
 cellPointBase (const VolField< Type > &psi)
 Construct from components. More...
 
 cellPointBase (const cellPointBase< Type > &i)
 Copy construct. More...
 
 cellPointBase (const VolField< Type > &psi, tmp< PointField< Type >> psip)
 Construct from components. More...
 
Type interpolate (const vector &position, const label celli, const label facei=-1) const
 Interpolate to the given point in the given cell. More...
 
Type interpolate (const barycentric &coordinates, const tetIndices &tetIs, const label facei=-1) const
 Interpolate to the coordinates in the given tetrahedron. More...
 
- Public Member Functions inherited from volPointInterpolation< Type >
 TypeName ("volPointInterpolation")
 Runtime type information. More...
 
 volPointInterpolation (const VolField< Type > &psi)
 Construct from components. More...
 
 volPointInterpolation (const volPointInterpolation< Type > &i)
 Copy construct. More...
 
 volPointInterpolation (const VolField< Type > &psi, tmp< PointField< Type >> psip)
 Construct from components. More...
 
virtual ~volPointInterpolation ()
 
const PointField< Type > & psip () const
 Access the point field. More...
 

Additional Inherited Members

- Protected Member Functions inherited from cellPointBase< Type >
void tetTransform (const tetIndices &tetIs, vector &x0, scalar &detA, barycentricTensor &T) const
 Return the transform associated with the given tetrahedron. More...
 
void tetFaceTriTransform (const tetIndices &tetIs, vector &x0, scalar &detA, barycentricTensor &T) const
 Return the transform associated with the face-triangle of the given. More...
 
barycentric y0 () const
 Return the barycentric origin for the above transforms. More...
 
tetIndices findTet (const point &x, const label celli, const label facei, vector &x0, scalar &detA, barycentricTensor &T) const
 Find the tetrahedron (or triangle) containing the given point, and. More...
 
- Protected Attributes inherited from volPointInterpolation< Type >
const PointField< Type > psip_
 Interpolated volfield. More...
 

Detailed Description

template<class Type>
class Foam::interpolations::cellPointGradBase< Type >

Definition at line 147 of file cellPoint_interpolation.H.

Member Function Documentation

◆ interpolateGrad() [1/3]

Foam::interpolationGradType< Type > interpolateGrad ( const tetIndices tetIs,
const scalar  detA,
const barycentricTensor  T 
) const
inline

Interpolate the gradient to the given point in the given cell.

Definition at line 244 of file cellPoint_interpolationI.H.

References tetIndices::cell(), tetIndices::faceTriIs(), and Foam::T().

Here is the call graph for this function:

◆ interpolateGrad() [2/3]

Foam::interpolationGradType< Type > interpolateGrad ( const vector position,
const label  celli,
const label  facei = -1 
) const
inline

Interpolate the gradient to the given point in the given cell.

Definition at line 270 of file cellPoint_interpolationI.H.

References Foam::tracking::position(), and Foam::T().

Here is the call graph for this function:

◆ interpolateGrad() [3/3]

Foam::interpolationGradType< Type > interpolateGrad ( const barycentric coordinates,
const tetIndices tetIs,
const label  facei = -1 
) const
inline

Interpolate the gradient to the coordinates in the given tetrahedron.

Definition at line 289 of file cellPoint_interpolationI.H.

References Foam::T().

Here is the call graph for this function:

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