

Public Member Functions | |
| TypeName ("laplacianConstraint") | |
| Runtime type information. More... | |
| laplacianConstraintPointSmoother (const polyMesh &mesh, const dictionary &dict) | |
| Construct from a dictionary and a polyMesh. More... | |
| virtual | ~laplacianConstraintPointSmoother ()=default |
| Destructor. More... | |
| virtual void | calculate (const labelList &facesToMove, const pointField &oldPoints, const pointField ¤tPoints, const pointField &faceCentres, const vectorField &faceAreas, const pointField &cellCentres, const scalarField &cellVolumes, vectorField &pointDisplacement) const |
| Calculate the point displacement. More... | |
Public Member Functions inherited from pointSmoother | |
| TypeName ("pointSmoother") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, pointSmoother, dictionary,(const polyMesh &mesh, const dictionary &dict),(mesh, dict)) | |
| pointSmoother (const polyMesh &mesh, const dictionary &) | |
| Construct from a dictionary and a point displacement field. More... | |
| virtual | ~pointSmoother ()=default |
| Destructor. More... | |
| const polyMesh & | mesh () const noexcept |
| Access the mesh. More... | |
| void | update (const labelList &facesToMove, const pointField &oldPoints, const pointField ¤tPoints, const pointField &faceCentres, const vectorField &faceAreas, const pointField &cellCentres, const scalarField &cellVolumes, pointVectorField &pointDisplacement, const bool correctBCs=true) const |
| Update the point displacements and apply constraints. More... | |
| void | update (const labelList &facesToMove, const pointField &oldPoints, const pointField ¤tPoints, const polyMeshGeometry &meshGeometry, pointVectorField &pointDisplacement, const bool correctBCs=true) const |
| Update the point displacements and apply constraints. More... | |
| virtual void | calculate (const labelList &facesToMove, const pointField &oldPoints, const pointField ¤tPoints, const polyMeshGeometry &meshGeometry, vectorField &pointDisplacement) const |
| Update the point displacements. More... | |
| virtual tmp< scalarField > | faceQuality (const pointField &points, const pointField &faceCentres, const vectorField &faceAreas, const pointField &cellCentres, const scalarField &cellVolumes) const |
| Check element quality: 1 = best, 0 = invalid. (also negative?) Topology from mesh, point locations supplied. Move to motionSolver level? More... | |
| virtual tmp< scalarField > | cellQuality (const pointField &points, const pointField &faceCentres, const vectorField &faceAreas, const pointField &cellCentres, const scalarField &cellVolumes) const |
| Check element quality: 1 = best, 0 = invalid. Topology from mesh, point locations supplied. Move to motionSolver level? More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from pointSmoother | |
| static autoPtr< pointSmoother > | New (const word &pointSmootherType, const polyMesh &mesh, const dictionary &dict) |
| Construct given type. More... | |
| static autoPtr< pointSmoother > | New (const polyMesh &mesh, const dictionary &dict) |
| Construct with type looked up from dictionary. More... | |
Protected Member Functions inherited from pointSmoother | |
| bool | isInternalOrProcessorFace (const label faceI) const |
| Test if the given face is internal or on a processor boundary. More... | |
| bitSet | pointsToMove (const labelList &facesToMove, const bool moveInternalFaces) const |
| Get list of the points to be moved. More... | |
| template<class weightType > | |
| void | reset (const labelList &facesToMove, Field< weightType > &weights, vectorField &pointDisplacement, const bool resetInternalFaces=true) const |
| Reset the relevant weights and displacements to zero. More... | |
| template<class weightType > | |
| void | average (const labelList &facesToMove, Field< weightType > &weights, vectorField &pointDisplacement) const |
| Average the displacements using the weights provided. More... | |
Definition at line 50 of file laplacianConstraintPointSmoother.H.
| laplacianConstraintPointSmoother | ( | const polyMesh & | mesh, |
| const dictionary & | dict | ||
| ) |
Construct from a dictionary and a polyMesh.
Definition at line 48 of file laplacianConstraintPointSmoother.C.
|
virtualdefault |
Destructor.
| TypeName | ( | "laplacianConstraint" | ) |
Runtime type information.
|
virtual |
Calculate the point displacement.
Implements pointSmoother.
Definition at line 60 of file laplacianConstraintPointSmoother.C.
References Foam::fac::average(), Tuple2< T1, T2 >::first(), UList< T >::first(), forAll, mesh, Foam::constant::atomic::mp, Foam::New(), nPoints, pp(), reset(), and Foam::Zero.
