Virtual base class for displacement motion solvers. More...


Public Member Functions | |
| TypeName ("points0MotionSolver") | |
| Runtime type information. More... | |
| points0MotionSolver (const polyMesh &, const dictionary &, const word &type) | |
| Construct from mesh and dictionary. More... | |
| points0MotionSolver (const points0MotionSolver &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~points0MotionSolver () |
| Destructor. More... | |
| pointField & | points0 () |
| Return reference to the reference field. More... | |
| const pointField & | points0 () const |
| Return reference to the reference field. More... | |
| virtual void | movePoints (const pointField &) |
| Update local data for geometry changes. More... | |
| virtual void | updateMesh (const mapPolyMesh &) |
| Update local data for topology changes. More... | |
| void | operator= (const points0MotionSolver &)=delete |
| Disallow default bitwise assignment. More... | |
Public Member Functions inherited from motionSolver | |
| TypeName ("motionSolver") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, motionSolver, dictionary,(const polyMesh &mesh, const dictionary &dict),(mesh, dict)) | |
| motionSolver (const polyMesh &mesh, const dictionary &, const word &type) | |
| Construct from polyMesh and dictionary and type. More... | |
| virtual autoPtr< motionSolver > | clone () const |
| Clone function. More... | |
| virtual | ~motionSolver () |
| Destructor. More... | |
| const polyMesh & | mesh () const |
| Return reference to mesh. More... | |
| const dictionary & | coeffDict () const |
| Const access to the coefficients dictionary. More... | |
| virtual tmp< pointField > | newPoints () |
| Provide new points for motion. Solves for motion. More... | |
| virtual tmp< pointField > | curPoints () const =0 |
| Provide current points for motion. Uses current motion field. More... | |
| virtual void | twoDCorrectPoints (pointField &) const |
| virtual void | solve ()=0 |
| Solve for motion. More... | |
| virtual bool | write () const |
| Optionally write motion state information for restart. More... | |
Protected Attributes | |
| pointIOField | points0_ |
| Starting points. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from motionSolver | |
| static autoPtr< motionSolver > | New (const polyMesh &, const dictionary &) |
| Select constructed from polyMesh and dictionary. More... | |
Virtual base class for displacement motion solvers.
Definition at line 52 of file points0MotionSolver.H.
| points0MotionSolver | ( | const polyMesh & | mesh, |
| const dictionary & | dict, | ||
| const word & | type | ||
| ) |
Construct from mesh and dictionary.
Definition at line 39 of file points0MotionSolver.C.
References TimePaths::constant(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, mesh, polyMesh::meshSubDir, IOobject::MUST_READ, IOobject::NO_WRITE, primitiveMesh::nPoints(), and objectRegistry::time().

|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 74 of file points0MotionSolver.C.
| TypeName | ( | "points0MotionSolver" | ) |
Runtime type information.
|
inline |
Return reference to the reference field.
Definition at line 91 of file points0MotionSolver.H.
References points0MotionSolver::points0_.
Referenced by rigidBodyMeshMotion::curPoints(), rigidBodyMeshMotion::rigidBodyMeshMotion(), rigidBodyMeshMotionSolver::solve(), and rigidBodyMeshMotion::solve().

|
inline |
Return reference to the reference field.
Definition at line 97 of file points0MotionSolver.H.
References points0MotionSolver::movePoints(), points0MotionSolver::operator=(), points0MotionSolver::points0_, and points0MotionSolver::updateMesh().

|
virtual |
Update local data for geometry changes.
Implements motionSolver.
Reimplemented in displacementMeshMoverMotionSolver.
Definition at line 80 of file points0MotionSolver.C.
Referenced by displacementMeshMoverMotionSolver::movePoints(), and points0MotionSolver::points0().

|
virtual |
Update local data for topology changes.
Implements motionSolver.
Reimplemented in displacementLayeredMotionMotionSolver, displacementLaplacianFvMotionSolver, displacementSBRStressFvMotionSolver, and displacementMeshMoverMotionSolver.
Definition at line 84 of file points0MotionSolver.C.
References IOobject::AUTO_WRITE, Foam::cmptDivide(), Foam::cmptMultiply(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, mapPolyMesh::hasMotionPoints(), mesh, mapPolyMesh::pointMap(), points, polyMesh::points(), mapPolyMesh::preMotionPoints(), mapPolyMesh::reversePointMap(), List< T >::size(), boundBox::span(), fvMesh::time(), Time::timeName(), and motionSolver::updateMesh().
Referenced by points0MotionSolver::points0(), displacementMeshMoverMotionSolver::updateMesh(), displacementSBRStressFvMotionSolver::updateMesh(), displacementLaplacianFvMotionSolver::updateMesh(), and displacementLayeredMotionMotionSolver::updateMesh().


|
delete |
Disallow default bitwise assignment.
Referenced by points0MotionSolver::points0().

|
protected |
Starting points.
Definition at line 61 of file points0MotionSolver.H.
Referenced by points0MotionSolver::points0().