Go to the documentation of this file.
45 #ifndef volBSplinesBase_H
46 #define volBSplinesBase_H
62 public MeshObject<fvMesh, UpdateableMeshObject, volBSplinesBase>
labelList activeDesignVariables_
Active design variables numbering for all boxes.
virtual bool movePoints()
Dummy function required by MeshObject.
NURBS3DVolume & boxRef(const label boxI)
Get non-const reference to a specific box.
Class constructing a number of volumetric B-Splines boxes, read from dynamicMeshDict....
vectorField getAllControlPoints() const
Get control points from all boxes.
label findBoxID(const label cpI) const
Find box of certain control point.
NURBS3DVolume morpher. Includes support functions for gradient computations Base class providing supp...
const NURBS3DVolume & box(const label boxI) const
Get const reference to a specific box.
const labelList & getActiveDesignVariables() const
Get active design variables.
void moveControlPoints(const vectorField &controlPointsMovement)
Move control points. No effect on mesh.
const PtrList< NURBS3DVolume > & boxes() const
Get const reference to the vol. B-splines boxes.
const fvMesh & mesh() const
label getTotalControlPointsNumber() const
Get cumulative number of control points from all boxes.
const vectorField & getControlPoints(const label &iNURB) const
Get reference to control points.
void boundControlPointMovement(vectorField &controlPointsMovement)
Bound control points movement.
label getNumberOfBoxes() const
Get number of boxes.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
PtrList< NURBS3DVolume > & boxesRef()
Get non-const reference to the vol. B-splines boxes.
Mesh data needed to do the Finite Volume discretisation.
PtrList< NURBS3DVolume > volume_
List with volumetric B-splines boxes.
scalar computeMaxBoundaryDisplacement(const vectorField &controlPointsMovement, const labelList &patchesToBeMoved)
labelList getStartCpID() const
Get start CP ID for each box.
virtual void updateMesh(const mapPolyMesh &)
Dummy function required by MeshObject.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
TypeName("volBSplinesBase")
Runtime type information.
void writeControlPoints() const
Write control points to constant and optimisation folders.
virtual ~volBSplinesBase()=default
Destructor.