Virtual base class for displacement motion solver. More...
Public Member Functions | |
TypeName ("displacementMotionSolver") | |
Runtime type information. More... | |
displacementMotionSolver (const word &name, const polyMesh &, const dictionary &, const word &type) | |
Construct from mesh and dictionary. More... | |
displacementMotionSolver (const displacementMotionSolver &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~displacementMotionSolver () |
Destructor. More... | |
pointVectorField & | pointDisplacement () |
Return reference to the point motion displacement field. More... | |
const pointVectorField & | pointDisplacement () const |
Return const reference to the point motion displacement field. More... | |
virtual void | mapMesh (const polyMeshMap &) |
Update from another mesh using the given map. More... | |
void | operator= (const displacementMotionSolver &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from points0MotionSolver | |
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 | 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 |
Correct point field for reduced-dimensionality cases. More... | |
virtual bool | solidBody () const |
Is the motion solid body? I.e., are the volumes and area magnitudes. More... | |
virtual void | solve ()=0 |
Solve for motion. More... | |
Protected Attributes | |
pointVectorField | pointDisplacement_ |
Point motion field. More... | |
Protected Attributes inherited from points0MotionSolver | |
pointVectorField | points0_ |
Starting points. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from points0MotionSolver | |
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... | |
Virtual base class for displacement motion solver.
The boundary displacement is set as a boundary condition on the pointDisplacement pointVectorField.
Definition at line 51 of file displacementMotionSolver.H.
displacementMotionSolver | ( | const word & | name, |
const polyMesh & | mesh, | ||
const dictionary & | dict, | ||
const word & | type | ||
) |
Construct from mesh and dictionary.
Definition at line 38 of file displacementMotionSolver.C.
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 64 of file displacementMotionSolver.C.
TypeName | ( | "displacementMotionSolver" | ) |
Runtime type information.
|
inline |
Return reference to the point motion displacement field.
Definition at line 91 of file displacementMotionSolver.H.
References displacementMotionSolver::pointDisplacement_.
|
inline |
Return const reference to the point motion displacement field.
Definition at line 97 of file displacementMotionSolver.H.
References displacementMotionSolver::pointDisplacement_.
|
virtual |
Update from another mesh using the given map.
Reimplemented from points0MotionSolver.
Reimplemented in displacementSBRStressFvMotionSolver, and displacementLaplacianFvMotionSolver.
Definition at line 70 of file displacementMotionSolver.C.
References points0MotionSolver::mapMesh(), and Foam::Zero.
Referenced by displacementLaplacianFvMotionSolver::mapMesh(), and displacementSBRStressFvMotionSolver::mapMesh().
|
delete |
Disallow default bitwise assignment.
|
mutableprotected |
Point motion field.
Definition at line 60 of file displacementMotionSolver.H.
Referenced by displacementMotionSolver::pointDisplacement().