41 controlPointsDefinition,
61 scalar spanU(upperCpBounds.x() - lowerCpBounds.x());
62 scalar spanV(upperCpBounds.y() - lowerCpBounds.y());
63 scalar spanW(upperCpBounds.z() - lowerCpBounds.z());
66 for (label iCPw = 0; iCPw < nCPsW; ++iCPw)
68 for (label iCPv = 0; iCPv < nCPsV; ++iCPv)
70 for (label iCPu = 0; iCPu < nCPsU; ++iCPu)
75 lowerCpBounds.x() + scalar(iCPu)/scalar(nCPsU - 1)*spanU,
76 lowerCpBounds.y() + scalar(iCPv)/scalar(nCPsV - 1)*spanV,
77 lowerCpBounds.z() + scalar(iCPw)/scalar(nCPsW - 1)*spanW
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const NURBSbasis & basisW() const
const NURBSbasis & basisU() const
Get basis functions.
NURBS3DVolume morpher. Includes support functions for gradient computations Base class providing supp...
Macros for easy insertion into run-time selection tables.
const label & nCPs() const
void setSize(const label n)
Alias for resize()
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...
label getCPID(const label i, const label j, const label k) const
Get control point ID from its I-J-K coordinates.
NURBS3DVolume & box_
The volumetric B-Splines box.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
defineTypeNameAndDebug(combustionModel, 0)
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
const NURBSbasis & basisV() const
Abstract base for selecting how to construct the control points of a volumetric B-Splines morpher...
const dictionary & dict() const
Get dictionary.