Loading...
Searching...
No Matches
laplacianConstraintPointSmoother Class Reference

#include <laplacianConstraintPointSmoother.H>

Inheritance diagram for laplacianConstraintPointSmoother:
Collaboration diagram for laplacianConstraintPointSmoother:

Public Member Functions

 TypeName ("laplacianConstraint")
 Runtime type information.
 laplacianConstraintPointSmoother (const polyMesh &mesh, const dictionary &dict)
 Construct from a dictionary and a polyMesh.
virtual ~laplacianConstraintPointSmoother ()=default
 Destructor.
virtual void calculate (const labelList &facesToMove, const pointField &oldPoints, const pointField &currentPoints, const pointField &faceCentres, const vectorField &faceAreas, const pointField &cellCentres, const scalarField &cellVolumes, vectorField &pointDisplacement) const
 Calculate the point displacement.
Public Member Functions inherited from pointSmoother
 TypeName ("pointSmoother")
 Runtime type information.
 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.
virtual ~pointSmoother ()=default
 Destructor.
const polyMeshmesh () const noexcept
 Access the mesh.
void update (const labelList &facesToMove, const pointField &oldPoints, const pointField &currentPoints, 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.
void update (const labelList &facesToMove, const pointField &oldPoints, const pointField &currentPoints, const polyMeshGeometry &meshGeometry, pointVectorField &pointDisplacement, const bool correctBCs=true) const
 Update the point displacements and apply constraints.
virtual void calculate (const labelList &facesToMove, const pointField &oldPoints, const pointField &currentPoints, const polyMeshGeometry &meshGeometry, vectorField &pointDisplacement) const
 Update the point displacements.
virtual tmp< scalarFieldfaceQuality (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?
virtual tmp< scalarFieldcellQuality (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?

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.
static autoPtr< pointSmoother > New (const polyMesh &mesh, const dictionary &dict)
 Construct with type looked up from dictionary.
Protected Member Functions inherited from pointSmoother
bool isInternalOrProcessorFace (const label faceI) const
 Test if the given face is internal or on a processor boundary.
bitSet pointsToMove (const labelList &facesToMove, const bool moveInternalFaces) const
 Get list of the points to be moved.
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.
template<class weightType>
void average (const labelList &facesToMove, Field< weightType > &weights, vectorField &pointDisplacement) const
 Average the displacements using the weights provided.

Detailed Description

Definition at line 50 of file laplacianConstraintPointSmoother.H.

Constructor & Destructor Documentation

◆ laplacianConstraintPointSmoother()

laplacianConstraintPointSmoother ( const polyMesh & mesh,
const dictionary & dict )

Construct from a dictionary and a polyMesh.

Definition at line 46 of file laplacianConstraintPointSmoother.C.

References dict, and pointSmoother::mesh().

Here is the call graph for this function:

◆ ~laplacianConstraintPointSmoother()

virtual ~laplacianConstraintPointSmoother ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "laplacianConstraint" )

Runtime type information.

References dict, and pointSmoother::mesh().

Here is the call graph for this function:

◆ calculate()

void calculate ( const labelList & facesToMove,
const pointField & oldPoints,
const pointField & currentPoints,
const pointField & faceCentres,
const vectorField & faceAreas,
const pointField & cellCentres,
const scalarField & cellVolumes,
vectorField & pointDisplacement ) const
virtual

The documentation for this class was generated from the following files: