39 #ifndef Foam_pointToPointPlanarInterpolation_H 40 #define Foam_pointToPointPlanarInterpolation_H 95 ClassName(
"pointToPointPlanarInterpolation");
190 return nearestVertex_;
196 return nearestVertexWeight_;
Base class for coordinate system specification, the default coordinate system type is cartesian ...
static wordList timeNames(const instantList ×)
Helper: extract words of times.
void size(const label n)
Older name for setAddressableSize.
ClassName("pointToPointPlanarInterpolation")
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const List< FixedList< scalar, 3 > > & nearestVertexWeight() const noexcept
Interpolation factors to face centres of underlying patch.
scalar perturb() const noexcept
Perturbation factor (for triangulation)
A Cartesian coordinate system.
label targetSize() const noexcept
Number of target points.
label sourceSize() const noexcept
Number of source points.
bool nearestOnly() const noexcept
Whether to use nearest point only (avoids triangulation, projection)
tmp< Field< Type > > interpolate(const Field< Type > &sourceFld) const
Interpolate from field on source points to dest points.
const List< FixedList< label, 3 > > & nearestVertex() const noexcept
Interpolation addressing to face centres of underlying patch.
autoPtr< pointToPointPlanarInterpolation > clone() const
Construct and return a clone.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
A class for managing temporary objects.
static autoPtr< T > New(Args &&... args)
Construct autoPtr with forwarding arguments.
const coordSystem::cartesian & referenceCS() const noexcept
Return the Cartesian reference coordinate system.
pointToPointPlanarInterpolation(const pointToPointPlanarInterpolation &)=default
Copy construct.
Interpolates between two sets of unstructured points using 2D Delaunay triangulation. Used in e.g. timeVaryingMapped bcs.