42 controlPointsDefinition,
53 Info<<
"Reading control points from file " <<
endl;
60 dict.dictName() +
"cpsBsplines" +
mesh.time().timeName(),
61 mesh.time().caseConstant(),
70 cpsDict.readEntry(
"controlPoints",
cps_);
74 if (
cps_.
size() != nCPsU*nCPsV*nCPsW)
77 <<
"Number of control points does not agree with " 86 Foam::fromFile::fromFile(NURBS3DVolume& box)
88 controlPointsDefinition(box)
void size(const label n)
Older name for setAddressableSize.
errorManipArg< error, int > exit(error &err, const int errNo=1)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const fvMesh & mesh() const
Get mesh.
const NURBSbasis & basisW() const
Ostream & endl(Ostream &os)
Add newline and flush stream.
const NURBSbasis & basisU() const
Get basis functions.
Ignore writing from objectRegistry::writeObject()
Macros for easy insertion into run-time selection tables.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
const label & nCPs() const
virtual void computeControlPoints()
Compute control points.
vectorField & cps_
The volumetric B-Splines control points.
NURBS3DVolume & box_
The volumetric B-Splines box.
defineTypeNameAndDebug(combustionModel, 0)
const NURBSbasis & basisV() const
Mesh data needed to do the Finite Volume discretisation.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Defines the attributes of an object for which implicit objectRegistry management is supported...
const dictionary & dict() const
Get dictionary.
Do not request registration (bool: false)
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)