multiSolidBody Class Reference

Solid-body motion of the mesh parts specified by a run-time selectable motion functions. More...

Inheritance diagram for multiSolidBody:
Collaboration diagram for multiSolidBody:

Public Member Functions

 TypeName ("multiSolidBody")
 Runtime type information. More...
 
 multiSolidBody (const polyMesh &, const dictionary &)
 Construct from mesh and dictionary. More...
 
 multiSolidBody (const multiSolidBody &)=delete
 Disallow default bitwise copy construction. More...
 
 ~multiSolidBody ()
 Destructor. More...
 
virtual tmp< pointFieldnewPoints ()
 Return point location obtained from the current motion field. More...
 
virtual bool solidBodyMotion () const
 This is a solid body motion. 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 void mapMesh (const polyMeshMap &)
 Update from another mesh using the given map. More...
 
void operator= (const multiSolidBody &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from displacementPoints0
 TypeName ("displacementPoints0")
 Runtime type information. More...
 
 displacementPoints0 (const polyMesh &, const dictionary &, const word &type)
 Construct from mesh and dictionary. More...
 
 displacementPoints0 (const displacementPoints0 &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~displacementPoints0 ()
 Destructor. More...
 
pointFieldpoints0 ()
 Return reference to the reference field. More...
 
const pointFieldpoints0 () const
 Return reference to the reference field. More...
 
virtual void movePoints (const pointField &)
 Update local data for geometry changes. More...
 
virtual bool write () const
 Write points0 if the mesh topology changed. More...
 
void operator= (const displacementPoints0 &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from pointMeshMover
 TypeName ("pointMeshMover")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, pointMeshMover, dictionary,(const polyMesh &mesh, const dictionary &dict),(mesh, dict))
 
 pointMeshMover (const polyMesh &mesh, const word &type)
 Construct from polyMesh and dictionary and type. More...
 
virtual autoPtr< pointMeshMoverclone () const
 Clone function. More...
 
virtual ~pointMeshMover ()
 Destructor. More...
 
const polyMeshpoly () const
 Return reference to mesh. More...
 
virtual void twoDCorrectPoints (pointField &) const
 Correct point field for reduced-dimensionality cases. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from displacementPoints0
static pointVectorField readPoints0 (const polyMesh &mesh)
 
- Static Public Member Functions inherited from pointMeshMover
static autoPtr< pointMeshMoverNew (const polyMesh &, const dictionary &)
 Select constructed from polyMesh and dictionary. More...
 
- Protected Attributes inherited from displacementPoints0
pointVectorField points0_
 Starting points. More...
 

Detailed Description

Solid-body motion of the mesh parts specified by a run-time selectable motion functions.

Source files

Definition at line 52 of file multiSolidBody_pointMeshMover.H.

Constructor & Destructor Documentation

◆ multiSolidBody() [1/2]

◆ multiSolidBody() [2/2]

multiSolidBody ( const multiSolidBody )
delete

Disallow default bitwise copy construction.

◆ ~multiSolidBody()

Destructor.

Definition at line 175 of file multiSolidBody_pointMeshMover.C.

Member Function Documentation

◆ TypeName()

TypeName ( "multiSolidBody"  )

Runtime type information.

◆ newPoints()

Foam::tmp< Foam::pointField > newPoints ( )
virtual

Return point location obtained from the current motion field.

Implements pointMeshMover.

Definition at line 181 of file multiSolidBody_pointMeshMover.C.

References forAll, points, tmp< T >::ref(), and Foam::transformPoints().

Here is the call graph for this function:

◆ solidBodyMotion()

virtual bool solidBodyMotion ( ) const
inlinevirtual

This is a solid body motion.

Reimplemented from pointMeshMover.

Definition at line 102 of file multiSolidBody_pointMeshMover.H.

◆ topoChange()

void topoChange ( const polyTopoChangeMap map)
virtual

Update local data for topology changes.

Reimplemented from displacementPoints0.

Definition at line 202 of file multiSolidBody_pointMeshMover.C.

References IOobject::AUTO_WRITE, Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, polyTopoChangeMap::pointMap(), points, and polyTopoChangeMap::reversePointMap().

Here is the call graph for this function:

◆ distribute()

void distribute ( const polyDistributionMap map)
virtual

Update corresponding to the given distribution map.

Reimplemented from displacementPoints0.

Definition at line 252 of file multiSolidBody_pointMeshMover.C.

References displacementPoints0::distribute().

Here is the call graph for this function:

◆ mapMesh()

void mapMesh ( const polyMeshMap map)
virtual

Update from another mesh using the given map.

Implements displacementPoints0.

Definition at line 263 of file multiSolidBody_pointMeshMover.C.

References IOobject::AUTO_WRITE, forAll, and displacementPoints0::mapMesh().

Here is the call graph for this function:

◆ operator=()

void operator= ( const multiSolidBody )
delete

Disallow default bitwise assignment.


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