43 #ifndef pointConstraints_H
44 #define pointConstraints_H
67 TopoChangeableMeshObject,
74 labelList patchPatchPointConstraintPoints_;
86 void makePatchPatchAddressing();
127 return patchPatchPointConstraintPoints_;
133 return patchPatchPointConstraintTensors_;
139 return patchPatchPointConstraints_;
161 template<
class Type,
class CombineOp>
193 const bool overrideValue =
false
202 const bool overrideValue =
false
214 void pointConstraints::constrainCorners<scalar>
220 void pointConstraints::constrainCorners<label>
Templated abstract base-class for demand-driven mesh objects used to automate their allocation to the...
const pointMesh & mesh() const
Application of (multi-)patch point constraints.
virtual bool movePoints()
Correct weighting factors for moving mesh.
const tensorField & patchPatchPointConstraintTensors() const
Special constraints.
ClassName("pointConstraints")
const labelList & patchPatchPointConstraintPoints() const
Mesh points on which to apply special constraints.
void constrain(PointField< Type > &pf, const bool overrideValue=false) const
Apply boundary conditions (single-patch constraints) and.
pointConstraints(const pointMesh &)
Constructor from pointMesh.
virtual void topoChange(const polyTopoChangeMap &)
Update mesh topology using the morph engine.
static void syncUntransformedData(const polyMesh &mesh, List< Type > &pointData, const CombineOp &cop)
Helper: sync data on collocated points only.
virtual void distribute(const polyDistributionMap &)
Update corresponding to the given distribution map.
void operator=(const pointConstraints &)=delete
Disallow default bitwise assignment.
const List< pointConstraint > & patchPatchPointConstraints() const
Actual constraints.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
~pointConstraints()
Destructor.
static void setPatchFields(PointField< Type > &)
Helper: set patchField values from internal values (on.
void constrainCorners(PointField< Type > &pf) const
Apply patch-patch constraints only.
void constrainDisplacement(pointVectorField &displacement, const bool overrideValue=false) const
Apply boundary conditions (single-patch constraints),.
Variant of pointEdgePoint with some transported additional data. WIP - should be templated on data li...
Mesh representing a set of points created from polyMesh.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Mesh consisting of general polyhedral cells.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.