38#ifndef pointToPointPlanarInterpolation_H
39#define pointToPointPlanarInterpolation_H
59 const scalar perturb_;
62 const bool nearestOnly_;
95 ClassName(
"pointToPointPlanarInterpolation");
165 return nearestVertex_;
172 return nearestVertexWeight_;
182 const label startSampleTime,
183 const scalar timeVal,
A 1D vector of objects of type <T> with a fixed length <N>.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A Cartesian coordinate system.
Base class for coordinate system specification, the default coordinate system type is cartesian .
Interpolates between two sets of unstructured points using 2D Delaunay triangulation....
static bool findTime(const instantList ×, const label startSampleTime, const scalar timeVal, label &lo, label &hi)
Helper: find time. Return true if successful.
tmp< Field< Type > > interpolate(const Field< Type > &sourceFld) const
Interpolate from field on source points to dest points.
scalar perturb() const
Perturbation factor (for triangulation)
const List< FixedList< scalar, 3 > > & nearestVertexWeight() const
Current interpolation factors to face centres of underlying.
autoPtr< pointToPointPlanarInterpolation > clone() const
Construct and return a clone.
const coordSystem::cartesian & referenceCS() const
Return the Cartesian reference coordinate system.
const List< FixedList< label, 3 > > & nearestVertex() const
ClassName("pointToPointPlanarInterpolation")
static wordList timeNames(const instantList &)
Helper: extract words of times.
label sourceSize() const
Number of source points.
bool nearestOnly() const
Whether to use nearest point only (avoids triangulation, projection)
A class for managing temporary objects.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
List< word > wordList
A List of words.
List< instant > instantList
List of instants.