36 #ifndef pointToPointPlanarInterpolation_H 37 #define pointToPointPlanarInterpolation_H 57 const scalar perturb_;
60 const bool nearestOnly_;
91 ClassName(
"pointToPointPlanarInterpolation");
104 const scalar perturb,
105 const bool nearestOnly =
false 135 return nearestVertex_;
142 return nearestVertexWeight_;
152 const label startSampleTime,
153 const scalar timeVal,
Base class for other coordinate system specifications.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
ClassName("pointToPointPlanarInterpolation")
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
label sourceSize() const
Number of source points.
static wordList timeNames(const instantList &)
Helper: extract words of times.
const List< FixedList< label, 3 > > & nearestVertex() const
const List< FixedList< scalar, 3 > > & nearestVertexWeight() const
Current interpolation factors to face centres of underlying.
static bool findTime(const instantList ×, const label startSampleTime, const scalar timeVal, label &lo, label &hi)
Helper: find time. Return true if successful.
pointToPointPlanarInterpolation(const pointField &sourcePoints, const pointField &destPoints, const scalar perturb, const bool nearestOnly=false)
Construct from 3D locations. Determines local coordinate system.
tmp< Field< Type > > interpolate(const Field< Type > &sourceFld) const
Interpolate from field on source points to dest points.
const coordinateSystem & referenceCS() const
Return the coordinateSystem.
A class for managing temporary objects.
Interpolates between two sets of unstructured points using 2D Delaunay triangulation. Used in e.g. timeVaryingMapped bcs.