Foam::interpolationCellPointFace. More...
Public Member Functions | |
TypeName ("cellPointFace") | |
Runtime type information. More... | |
interpolationCellPointFace (const GeometricField< Type, fvPatchField, volMesh > &psi) | |
Construct from components. More... | |
Type | interpolate (const vector &position, const label cellI, const label faceI=-1) const |
Interpolate field to the given point in the given cell. More... | |
![]() | |
virtual const word & | type () const=0 |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, interpolation, dictionary,(const GeometricField< Type, fvPatchField, volMesh > &psi),(psi)) | |
interpolation (const GeometricField< Type, fvPatchField, volMesh > &psi) | |
Construct from components. More... | |
virtual | ~interpolation () |
Destructor. More... | |
const GeometricField< Type, fvPatchField, volMesh > & | psi () const |
Return the field to be interpolated. More... | |
virtual Type | interpolate (const vector &position, const tetIndices &tetIs, const label faceI=-1) const |
Interpolate field to the given point in the tetrahedron. More... | |
Private Member Functions | |
bool | findTet (const vector &position, const label nFace, vector tetPoints[], label tetLabelCandidate[], label tetPointLabels[], scalar phi[], scalar phiCandidate[], label &closestFace, scalar &minDistance) const |
bool | findTriangle (const vector &position, const label nFace, label tetPointLabels[], scalar phi[]) const |
Private Attributes | |
const GeometricField< Type, pointPatchField, pointMesh > | psip_ |
Interpolated volfield. More... | |
const GeometricField< Type, fvsPatchField, surfaceMesh > | psis_ |
Linearly interpolated volfield. More... | |
Additional Inherited Members | |
![]() | |
static autoPtr< interpolation< Type > > | New (const word &interpolationType, const GeometricField< Type, fvPatchField, volMesh > &psi) |
Return a reference to the specified interpolation scheme. More... | |
static autoPtr< interpolation< Type > > | New (const dictionary &interpolationSchemes, const GeometricField< Type, fvPatchField, volMesh > &psi) |
Return a reference to the selected interpolation scheme. More... | |
![]() | |
const GeometricField< Type, fvPatchField, volMesh > & | psi_ |
const polyMesh & | pMesh_ |
const vectorField & | pMeshPoints_ |
const faceList & | pMeshFaces_ |
const vectorField & | pMeshFaceCentres_ |
const vectorField & | pMeshFaceAreas_ |
Foam::interpolationCellPointFace.
Definition at line 46 of file interpolationCellPointFace.H.
interpolationCellPointFace | ( | const GeometricField< Type, fvPatchField, volMesh > & | psi | ) |
Construct from components.
Definition at line 43 of file interpolationCellPointFace.C.
|
private |
Definition at line 42 of file findCellPointFaceTet.H.
References correct(), Foam::mag(), Foam::max(), n, phi, and List::size().
|
private |
Definition at line 15 of file findCellPointFaceTriangle.H.
References Foam::mag(), Foam::max(), phi, and List::size().
TypeName | ( | "cellPointFace" | ) |
Runtime type information.
|
virtual |
Interpolate field to the given point in the given cell.
Implements interpolation< Type >.
Definition at line 65 of file interpolationCellPointFace.C.
References GeometricField::boundaryField(), Foam::e, Foam::endl(), forAll, Foam::Info, Foam::mag(), Foam::max(), Foam::min(), n, phi, List::size(), and Foam::tab.
|
private |
Interpolated volfield.
Definition at line 53 of file interpolationCellPointFace.H.
|
private |
Linearly interpolated volfield.
Definition at line 56 of file interpolationCellPointFace.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.