Interpolates between two sets of unstructured points using 2D Delaunay triangulation. Used in e.g. timeVaryingMapped bcs. More...
Public Member Functions | |
ClassName ("pointToPointPlanarInterpolation") | |
pointToPointPlanarInterpolation (const pointField &sourcePoints, const pointField &destPoints, const scalar perturb, const bool nearestOnly=false) | |
pointToPointPlanarInterpolation (const coordinateSystem &referenceCS, const pointField &sourcePoints, const pointField &destPoints, const scalar perturb) | |
pointToPointPlanarInterpolation (const scalar perturb, const bool nearestOnly, const coordinateSystem &referenceCS, const label sourceSize, const List< FixedList< label, 3 >> &nearestVertex, const List< FixedList< scalar, 3 >> &nearestVertexWeight) | |
autoPtr< pointToPointPlanarInterpolation > | clone () const |
scalar | perturb () const |
bool | nearestOnly () const |
const coordSystem::cartesian & | referenceCS () const |
label | sourceSize () const |
const List< FixedList< label, 3 > > & | nearestVertex () const |
const List< FixedList< scalar, 3 > > & | nearestVertexWeight () const |
template<class Type > | |
tmp< Field< Type > > | interpolate (const Field< Type > &sourceFld) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | interpolate (const Field< Type > &sourceFld) const |
Static Public Member Functions | |
static wordList | timeNames (const instantList &) |
static bool | findTime (const instantList ×, const label startSampleTime, const scalar timeVal, label &lo, label &hi) |
Interpolates between two sets of unstructured points using 2D Delaunay triangulation. Used in e.g. timeVaryingMapped bcs.
Definition at line 49 of file pointToPointPlanarInterpolation.H.
pointToPointPlanarInterpolation | ( | const pointField & | sourcePoints, |
const pointField & | destPoints, | ||
const scalar | perturb, | ||
const bool | nearestOnly = false |
||
) |
Definition at line 308 of file pointToPointPlanarInterpolation.C.
pointToPointPlanarInterpolation | ( | const coordinateSystem & | referenceCS, |
const pointField & | sourcePoints, | ||
const pointField & | destPoints, | ||
const scalar | perturb | ||
) |
Definition at line 329 of file pointToPointPlanarInterpolation.C.
pointToPointPlanarInterpolation | ( | const scalar | perturb, |
const bool | nearestOnly, | ||
const coordinateSystem & | referenceCS, | ||
const label | sourceSize, | ||
const List< FixedList< label, 3 >> & | nearestVertex, | ||
const List< FixedList< scalar, 3 >> & | nearestVertexWeight | ||
) |
Definition at line 346 of file pointToPointPlanarInterpolation.C.
ClassName | ( | "pointToPointPlanarInterpolation" | ) |
Foam::autoPtr< Foam::pointToPointPlanarInterpolation > clone | ( | ) | const |
Definition at line 365 of file pointToPointPlanarInterpolation.C.
References autoPtr::New().
|
inline |
Definition at line 134 of file pointToPointPlanarInterpolation.H.
|
inline |
Definition at line 140 of file pointToPointPlanarInterpolation.H.
|
inline |
Definition at line 146 of file pointToPointPlanarInterpolation.H.
|
inline |
Definition at line 152 of file pointToPointPlanarInterpolation.H.
Definition at line 158 of file pointToPointPlanarInterpolation.H.
Definition at line 165 of file pointToPointPlanarInterpolation.H.
|
static |
Definition at line 382 of file pointToPointPlanarInterpolation.C.
References forAll, and Foam::PtrListOps::names().
|
static |
Definition at line 397 of file pointToPointPlanarInterpolation.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), and Foam::Pout.
Foam::tmp<Foam::Field<Type> > interpolate | ( | const Field< Type > & | sourceFld | ) | const |
Definition at line 27 of file pointToPointPlanarInterpolationTemplates.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, fld, forAll, and tmp::ref().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.