Uses the cell value for any point in the cell apart from a boundary face where it uses the boundary value directly. Note: will not work on an empty patch. More...
Public Member Functions | |
TypeName ("cellPatchConstrained") | |
interpolationCellPatchConstrained (const GeometricField< Type, fvPatchField, volMesh > &psi) | |
Type | interpolate (const vector &position, const label celli, const label facei=-1) const |
Type | interpolate (const barycentric &coordinates, const tetIndices &tetIs, const label facei=-1) const |
![]() | |
virtual const word & | type () const=0 |
declareRunTimeSelectionTable (autoPtr, interpolation, dictionary,(const GeometricField< Type, fvPatchField, volMesh > &psi),(psi)) | |
interpolation (const GeometricField< Type, fvPatchField, volMesh > &psi) | |
virtual | ~interpolation ()=default |
const GeometricField< Type, fvPatchField, volMesh > & | psi () const |
Additional Inherited Members | |
![]() | |
static autoPtr< interpolation< Type > > | New (const word &interpolationType, const GeometricField< Type, fvPatchField, volMesh > &psi) |
static autoPtr< interpolation< Type > > | New (const dictionary &interpolationSchemes, const GeometricField< Type, fvPatchField, volMesh > &psi) |
![]() | |
const GeometricField< Type, fvPatchField, volMesh > & | psi_ |
const polyMesh & | pMesh_ |
const vectorField & | pMeshPoints_ |
const faceList & | pMeshFaces_ |
const vectorField & | pMeshFaceCentres_ |
const vectorField & | pMeshFaceAreas_ |
Uses the cell value for any point in the cell apart from a boundary face where it uses the boundary value directly. Note: will not work on an empty patch.
Definition at line 46 of file interpolationCellPatchConstrained.H.
interpolationCellPatchConstrained | ( | const GeometricField< Type, fvPatchField, volMesh > & | psi | ) |
Definition at line 28 of file interpolationCellPatchConstrained.C.
TypeName | ( | "cellPatchConstrained" | ) |
|
virtual |
Implements interpolation< Type >.
Definition at line 40 of file interpolationCellPatchConstrained.C.
References polyMesh::boundaryMesh(), polyBoundaryMesh::mesh(), and polyBoundaryMesh::patchID().
Referenced by interpolationCellPatchConstrained< Type >::interpolate().
|
inlinevirtual |
Reimplemented from interpolation< Type >.
Definition at line 80 of file interpolationCellPatchConstrained.H.
References tetIndices::cell(), interpolationCellPatchConstrained< Type >::interpolate(), and VectorSpace< Vector< scalar >, scalar, 3 >::zero.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.