100Foam::controlPointsDefinition::controlPointsDefinition
106 cps_(box.getControlPoints())
120 Info<<
"controlPointsDefinition type : " <<
type <<
endl;
122 auto* ctorPtr = dictionaryConstructorTable(
type);
129 "controlPointsDefinition",
131 *dictionaryConstructorTablePtr_
135 return autoPtr<controlPointsDefinition>(ctorPtr(box));
#define R(A, B, C, D, E, F, K, M)
Macros for easy insertion into run-time selection tables.
NURBS3DVolume morpher. Includes support functions for gradient computations Base class providing supp...
const dictionary & dict() const
Get dictionary.
const Cmpt & x() const noexcept
Access to the vector x component.
const Cmpt & z() const noexcept
Access to the vector z component.
const Cmpt & y() const noexcept
Access to the vector y component.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Abstract base for selecting how to construct the control points of a volumetric B-Splines morpher.
void transformControlPoints(const vector &geometryMin, const vector &geometryMax)
Transform control points using the equivalent position, rotation and scale values from the Paraview c...
static autoPtr< controlPointsDefinition > New(NURBS3DVolume &box)
Return a reference to the selected controlPointsDefinition model.
vectorField & cps_
The volumetric B-Splines control points.
NURBS3DVolume & box_
The volumetric B-Splines box.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
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.
constexpr scalar pi(M_PI)
tensor Rx(const scalar omega)
Rotational transformation tensor about the x-axis by omega radians.
tensor Ry(const scalar omega)
Rotational transformation tensor about the y-axis by omega radians.
dimensionedScalar sin(const dimensionedScalar &ds)
messageStream Info
Information stream (stdout output on master, null elsewhere).
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Ostream & endl(Ostream &os)
Add newline and flush stream.
tensor Rz(const scalar omega)
Rotational transformation tensor about the z-axis by omega radians.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
dimensioned< Type > cmptMultiply(const dimensioned< Type > &, const dimensioned< Type > &)
errorManipArg< error, int > exit(error &err, const int errNo=1)
dimensionedScalar cos(const dimensionedScalar &ds)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.