Go to the documentation of this file.
41 controlPointsDefinition,
56 cps_.setSize(nCPsU*nCPsV*nCPsW);
60 scalar spanU(upperBounds.
x() - lowerBounds.
x());
61 scalar spanV(upperBounds.
y() - lowerBounds.
y());
62 scalar spanW(upperBounds.
z() - lowerBounds.
z());
65 for (label iCPw = 0; iCPw < nCPsW; ++iCPw)
67 for (label iCPv = 0; iCPv < nCPsV; ++iCPv)
69 for (label iCPu = 0; iCPu < nCPsU; ++iCPu)
74 lowerBounds.
x() + scalar(iCPu)/scalar(nCPsU - 1)*spanU,
75 lowerBounds.
y() + scalar(iCPv)/scalar(nCPsV - 1)*spanV,
76 lowerBounds.
z() + scalar(iCPw)/scalar(nCPsW - 1)*spanW
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
const dictionary & dict() const
Get dictionary.
const Cmpt & x() const
Access to the vector x component.
const NURBSbasis & basisV() const
NURBS3DVolume morpher. Includes support functions for gradient computations Base class providing supp...
vectorField & cps_
The volumetric B-Splines control points.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
const Cmpt & z() const
Access to the vector z component.
label getCPID(const label i, const label j, const label k) const
Get control point ID from its I-J-K coordinates.
Macros for easy insertion into run-time selection tables.
const label & nCPs() const
Vector< scalar > vector
A scalar version of the templated Vector.
NURBS3DVolume & box_
The volumetric B-Splines box.
const NURBSbasis & basisW() const
const Cmpt & y() const
Access to the vector y component.
virtual void computeControlPoints()
Compute control points.
Abstract base for selecting how to construct the control points of a volumetric B-Splines morpher.
const NURBSbasis & basisU() const
Get basis functions.
defineTypeNameAndDebug(combustionModel, 0)