45#ifndef pointConstraints_H
46#define pointConstraints_H
68 public MeshObject<pointMesh, UpdateableMeshObject, pointConstraints>
85 labelList patchPatchPointConstraintPoints_;
95 void makePatchPatchAddressing();
98 pointConstraints(
const pointConstraints&) =
delete;
101 void operator=(
const pointConstraints&) =
delete;
113 explicit pointConstraints(
const pointMesh&);
127 return patchPatchPointConstraintPoints_;
133 return patchPatchPointConstraintTensors_;
139 return patchPatchPointConstraints_;
155 template<
class Type,
class CombineOp>
187 const bool overrideValue =
false
196 const bool overrideValue =
false
Generic GeometricField class.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
MeshObject(const pointMesh &mesh)
const pointMesh & mesh() const noexcept
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
bool movePoints()
Correct weighting factors for moving mesh.
void constrain(GeometricField< Type, pointPatchField, pointMesh > &pf, const bool overrideValue=false) const
Apply boundary conditions (single-patch constraints) and.
static void setPatchFields(GeometricField< Type, pointPatchField, pointMesh > &)
Helper: set patchField values from internal values (on.
ClassName("pointConstraints")
const tensorField & patchPatchPointConstraintTensors() const
Special constraints.
static void syncUntransformedData(const polyMesh &mesh, List< Type > &pointData, const CombineOp &cop)
Helper: sync data on collocated points only.
const List< pointConstraint > & patchPatchPointConstraints() const
Actual constraints.
~pointConstraints()
Destructor.
void constrainCorners(GeometricField< Type, pointPatchField, pointMesh > &pf) const
Apply patch-patch constraints only.
void constrainDisplacement(pointVectorField &displacement, const bool overrideValue=false) const
Apply boundary conditions (single-patch constraints),.
void updateMesh(const mapPolyMesh &)
Update mesh topology using the morph engine.
const labelList & patchPatchPointConstraintPoints() const
Mesh points on which to apply special constraints.
Mesh representing a set of points created from polyMesh.
Mesh consisting of general polyhedral cells.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
List< label > labelList
A List of labels.
GeometricField< vector, pointPatchField, pointMesh > pointVectorField
Field< tensor > tensorField
Specialisation of Field<T> for tensor.
Forwards and collection of common point field types.