54 return localSystemCoordinates;
60 label globalPointIndex
78 Foam::NURBS3DVolumeCartesian::NURBS3DVolumeCartesian
82 bool computeParamCoors
89 if (computeParamCoors)
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Calculation of adjoint based sensitivities at wall faces.
void updateLocalCoordinateSystem(const vectorField &cartesianPoints)
Update coordinates in the local system based on the cartesian points.
vector transformPointToCartesian(const vector &localCoordinates) const
Transform a point from its coordinate system to a cartesian system.
tensor transformationTensorDxDb(label globalPointIndex)
Transformation tensor for dxdb, from local coordinate system to cartesian.
NURBS3DVolume morpher. Includes support functions for gradient computations Base class providing supp...
vectorField localSystemCoordinates_
Coordinates in the local system for which CPs are defined.
const pointVectorField & getParametricCoordinates()
Get parametric coordinates.
void writeCps(const fileName &="cpsFile", const bool transform=true) const
Write control points on a cartesian coordinates system for visualization.
NURBS3DVolume(const dictionary &dict, const fvMesh &mesh, bool computeParamCoors=true)
Construct from dictionary.
const dictionary & dict() const
Get dictionary.
const fvMesh & mesh() const
Get mesh.
void determineActiveDesignVariablesAndPoints()
Create lists with active design variables and control points.
static word timeName(const scalar t, const int precision=precision_)
Return a time name for the given scalar time value formatted with the given precision.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
const Time & time() const
Return the top-level database.
virtual const pointField & points() const
Return raw points.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
Field< vector > vectorField
Specialisation of Field<T> for vector.