71 0, ::
cos(rotation.x()), -::
sin(rotation.x()),
72 0, ::
sin(rotation.x()), ::
cos(rotation.x())
76 ::
cos(rotation.y()), 0, ::
sin(rotation.y()),
78 -::
sin(rotation.y()), 0, ::
cos(rotation.y())
82 ::
cos(rotation.z()), -::
sin(rotation.z()), 0,
83 ::
sin(rotation.z()), ::
cos(rotation.z()), 0,
100 Foam::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));
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Ostream & endl(Ostream &os)
Add newline and flush stream.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T. FatalIOError if not found, or if the number of tokens is incorrect.
NURBS3DVolume morpher. Includes support functions for gradient computations Base class providing supp...
Macros for easy insertion into run-time selection tables.
tensor Rz(const scalar omega)
Rotational transformation tensor about the z-axis by omega radians.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
dimensionedScalar cos(const dimensionedScalar &ds)
A class for handling words, derived from Foam::string.
vectorField & cps_
The volumetric B-Splines control points.
void transformControlPoints(const vector &geometryMin, const vector &geometryMax)
Transform control points using the equivalent position, rotation and scale values from the Paraview c...
constexpr scalar pi(M_PI)
dimensioned< Type > cmptMultiply(const dimensioned< Type > &, const dimensioned< Type > &)
NURBS3DVolume & box_
The volumetric B-Splines box.
dimensionedScalar sin(const dimensionedScalar &ds)
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
tensor Ry(const scalar omega)
Rotational transformation tensor about the y-axis by omega radians.
#define R(A, B, C, D, E, F, K, M)
messageStream Info
Information stream (stdout output on master, null elsewhere)
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...
Tensor of scalars, i.e. Tensor<scalar>.
tensor Rx(const scalar omega)
Rotational transformation tensor about the x-axis by omega radians.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
const dictionary & dict() const
Get dictionary.
static autoPtr< controlPointsDefinition > New(NURBS3DVolume &box)
Return a reference to the selected controlPointsDefinition model.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...