Basic piecewise-constant interpolation method. Interpolates to a point by using the value in the cell containing the point, unless the point is on a boundary face in which case the boundary value will be used. More...


Public Member Functions | |
| TypeName ("cellPatchConstrained") | |
| Runtime type information. More... | |
| cellPatchConstrained (const VolField< Type > &psi) | |
| Construct from components. More... | |
| cellPatchConstrained (const cellPatchConstrained< Type > &i) | |
| Copy construct. More... | |
| virtual autoPtr< interpolation< Type > > | clone () const |
| Clone. 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... | |
| Type | interpolate (const barycentric &coordinates, const tetIndices &tetIs, const label facei=-1) const |
| Interpolate field to the given coordinates in the tetrahedron. More... | |
Basic piecewise-constant interpolation method. Interpolates to a point by using the value in the cell containing the point, unless the point is on a boundary face in which case the boundary value will be used.
Definition at line 53 of file cellPatchConstrained.H.
| cellPatchConstrained | ( | const VolField< Type > & | psi | ) |
Construct from components.
Definition at line 32 of file cellPatchConstrained.C.
| cellPatchConstrained | ( | const cellPatchConstrained< Type > & | i | ) |
Copy construct.
Definition at line 42 of file cellPatchConstrained.C.
| TypeName | ( | "cellPatchConstrained< Type >" | ) |
Runtime type information.
|
inlinevirtual |
Clone.
Definition at line 72 of file cellPatchConstrained.H.
Interpolate field to the given point in the given cell.
Definition at line 54 of file cellPatchConstrained.C.
References polyMesh::boundary(), mesh, primitiveMesh::nInternalFaces(), patchi, polyBoundaryMesh::patchIndices(), and fvMesh::poly().

|
inline |
Interpolate field to the given coordinates in the tetrahedron.
defined by the given indices. This is an optimisation which skips calculating the position, as cell interpolation doesn't need it.
Definition at line 97 of file cellPatchConstrained.H.