44Foam::motionInterpolation::motionInterpolation
53Foam::motionInterpolation::motionInterpolation
75 const word modelType(is);
77 Info<<
"Selecting motion interpolation: " << modelType <<
endl;
79 auto* ctorPtr = IstreamConstructorTable(modelType);
88 *IstreamConstructorTablePtr_
Macros for easy insertion into run-time selection tables.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
static FOAM_NO_DANGLING_REFERENCE const volPointInterpolation & New(const fvMesh &mesh, Args &&... args)
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 keyword and a list of tokens is an 'entry'.
Mesh data needed to do the Finite Volume discretisation.
Base class for interpolation of cell displacement fields, generated by fvMotionSolvers,...
virtual void interpolate(const volScalarField &, pointScalarField &) const
Interpolate the given scalar cell displacement.
static autoPtr< motionInterpolation > New(const fvMesh &mesh)
Select default.
const fvMesh & mesh() const
Return const-reference to the mesh.
virtual ~motionInterpolation()
Destructor.
tmp< GeometricField< Type, pointPatchField, pointMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &) const
Interpolate volField using inverse distance weighting.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, pointPatchField, pointMesh > pointScalarField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
messageStream Info
Information stream (stdout output on master, null elsewhere).
GeometricField< vector, pointPatchField, pointMesh > pointVectorField
Ostream & endl(Ostream &os)
Add newline and flush stream.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.