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


Public Member Functions | |
| TypeName ("points0MotionSolver") | |
| Runtime type information. More... | |
| points0MotionSolver (const word &name, 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 | topoChange (const polyTopoChangeMap &) |
| Update local data for topology changes. More... | |
| virtual void | mapMesh (const polyMeshMap &) |
| Update from another mesh using the given map. More... | |
| virtual void | distribute (const polyDistributionMap &) |
| Update corresponding to the given distribution map. More... | |
| virtual bool | write () const |
| Write points0 if the mesh topology changed. 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 word &name, const polyMesh &mesh, const dictionary &dict),(name, mesh, dict)) | |
| motionSolver (const word &name, 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 word & | name () const |
| Return name. More... | |
| const word & | keyword () const |
| Return keyword. 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... | |
Static Public Member Functions | |
| static pointVectorField | readPoints0 (const polyMesh &mesh) |
Static Public Member Functions inherited from motionSolver | |
| static autoPtr< motionSolver > | New (const word &name, const polyMesh &, const dictionary &) |
| Select constructed from polyMesh and dictionary. More... | |
Protected Attributes | |
| pointVectorField | points0_ |
| Starting points. More... | |
Virtual base class for displacement motion solvers.
Definition at line 51 of file points0MotionSolver.H.
| points0MotionSolver | ( | const word & | name, |
| const polyMesh & | mesh, | ||
| const dictionary & | dict, | ||
| const word & | type | ||
| ) |
Construct from mesh and dictionary.
Definition at line 112 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().
Referenced by points0MotionSolver::readPoints0().


|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 145 of file points0MotionSolver.C.
| TypeName | ( | "points0MotionSolver" | ) |
Runtime type information.
|
static |
Definition at line 37 of file points0MotionSolver.C.
References TimePaths::constant(), Foam::dimLength, Time::findInstance(), mesh, polyMesh::meshSubDir, IOobject::MUST_READ, MeshObject< polyMesh, PatchMeshObject, pointMesh >::New(), IOobject::NO_READ, IOobject::NO_WRITE, points, points0MotionSolver::points0MotionSolver(), GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef(), IOobject::READ_IF_PRESENT, objectRegistry::time(), and Foam::Zero.

|
inline |
Return reference to the reference field.
Definition at line 94 of file points0MotionSolver.H.
References points0MotionSolver::points0_.
Referenced by rigidBodyMeshMotion::curPoints(), rigidBodyMeshMotion::rigidBodyMeshMotion(), rigidBodyMeshMotionSolver::solve(), rigidBodyMeshMotion::solve(), and rigidBodyMeshMotion::topoChange().

|
inline |
Return reference to the reference field.
Definition at line 100 of file points0MotionSolver.H.
References points0MotionSolver::distribute(), points0MotionSolver::mapMesh(), points0MotionSolver::movePoints(), points0MotionSolver::operator=(), points0MotionSolver::points0_, points0MotionSolver::topoChange(), and points0MotionSolver::write().

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

|
virtual |
Update local data for topology changes.
Implements motionSolver.
Reimplemented in rigidBodyMeshMotion, displacementLayeredMotionMotionSolver, displacementLaplacianFvMotionSolver, displacementSBRStressFvMotionSolver, solidBodyMotionSolver, and displacementMeshMoverMotionSolver.
Definition at line 155 of file points0MotionSolver.C.
References NotImplemented.
Referenced by points0MotionSolver::points0(), displacementMeshMoverMotionSolver::topoChange(), displacementSBRStressFvMotionSolver::topoChange(), displacementLaplacianFvMotionSolver::topoChange(), and displacementLayeredMotionMotionSolver::topoChange().

|
virtual |
Update from another mesh using the given map.
Implements motionSolver.
Reimplemented in displacementLaplacianFvMotionSolver, displacementSBRStressFvMotionSolver, and displacementMotionSolver.
Definition at line 161 of file points0MotionSolver.C.
References points0MotionSolver::distribute(), mesh, and polyMesh::points().
Referenced by displacementMotionSolver::mapMesh(), and points0MotionSolver::points0().


|
virtual |
Update corresponding to the given distribution map.
Implements motionSolver.
Definition at line 168 of file points0MotionSolver.C.
Referenced by points0MotionSolver::mapMesh(), and points0MotionSolver::points0().

|
virtual |
Write points0 if the mesh topology changed.
Reimplemented from motionSolver.
Reimplemented in rigidBodyMeshMotion, and sixDoFRigidBodyMotionSolver.
Definition at line 174 of file points0MotionSolver.C.
References mesh, fvMesh::time(), Time::timeName(), and motionSolver::write().
Referenced by points0MotionSolver::points0(), sixDoFRigidBodyMotionSolver::write(), and rigidBodyMeshMotion::write().


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

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