39#ifndef Foam_pointToPointPlanarInterpolation_H
40#define Foam_pointToPointPlanarInterpolation_H
95 ClassName(
"pointToPointPlanarInterpolation");
184 return nearestVertex_.size();
190 return nearestVertex_;
196 return nearestVertexWeight_;
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
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.
static autoPtr< T > New(Args &&... args)
Construct autoPtr with forwarding arguments.
A Cartesian coordinate system.
Base class for coordinate system specification, the default coordinate system type is cartesian .
const List< FixedList< scalar, 3 > > & nearestVertexWeight() const noexcept
Interpolation factors to face centres of underlying patch.
tmp< Field< Type > > interpolate(const Field< Type > &sourceFld) const
Interpolate from field on source points to dest points.
static wordList timeNames(const instantList ×)
Helper: extract words of times.
label sourceSize() const noexcept
Number of source points.
label targetSize() const noexcept
Number of target points.
autoPtr< pointToPointPlanarInterpolation > clone() const
Construct and return a clone.
bool nearestOnly() const noexcept
Whether to use nearest point only (avoids triangulation, projection).
tmp< Field< Type > > interpolate(const tmp< Field< Type > > &tsource) const
Interpolate from field on source points to dest points.
const coordSystem::cartesian & referenceCS() const noexcept
Return the Cartesian reference coordinate system.
scalar perturb() const noexcept
Perturbation factor (for triangulation).
pointToPointPlanarInterpolation(const pointToPointPlanarInterpolation &)=default
Copy construct.
const List< FixedList< label, 3 > > & nearestVertex() const noexcept
Interpolation addressing to face centres of underlying patch.
ClassName("pointToPointPlanarInterpolation")
A class for managing temporary objects.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
List< word > wordList
List of word.
List< instant > instantList
List of instants.
vectorField pointField
pointField is a vectorField.