37 #ifndef displacementPointSmoothingMotionSolver_H 38 #define displacementPointSmoothingMotionSolver_H 105 TypeName(
"displacementPointSmoothing");
137 virtual void solve();
Virtual base class for displacement motion solver.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
pointVectorField & pointDisplacement() noexcept
Return reference to the point motion displacement field.
virtual tmp< pointField > curPoints() const
Return point location obtained from the current motion field.
labelHashSet facesToMove_
Set of the faces which are to be moved.
TypeName("displacementPointSmoothing")
Runtime type information.
virtual void solve()
Solve for motion.
displacementPointSmoothingMotionSolver(const polyMesh &, const IOdictionary &)
Construct from a polyMesh and an IOdictionary.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
dictionary meshQualityDict_
Mesh quality dictionary.
scalarList relaxationFactors_
Relaxation factors to use in each iteration.
Updateable mesh geometry and checking routines.
virtual ~displacementPointSmoothingMotionSolver()=default
Destructor.
void markAffectedFaces(const labelHashSet &changedFaces, labelHashSet &affectedFaces)
Mark affected faces.
virtual void setFacesToMove(const dictionary &)
Set all the faces to be moved.
autoPtr< pointSmoother > pointSmoother_
Point smoothing method.
pointField & points0() noexcept
Return reference to the reference ('0') pointField.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Mesh consisting of general polyhedral cells.
const polyMesh & mesh() const
Return reference to mesh.
A class for managing temporary objects.
bool relax()
Relax the points.
const label nPointSmootherIter_
Number of point smoother iterations per timestep.
Quality-based under-relaxation for run-time selectable point smoothing.
pointField relaxedPoints_
Relaxed point field.
A primitive field of type <T> with automated input and output.
polyMeshGeometry meshGeometry_
Part-updatable mesh geometry.