multiRigidBody::bodyMesh Class Reference

Class containing the patches and point motion weighting for each body. More...

Public Member Functions

 bodyMesh (const polyMesh &mesh, const word &name, const dictionary &dict)
 
 bodyMesh (const polyMesh &mesh, const word &name)
 
template<class Type >
Type weight (const Type &pDist) const
 
const wordname ()
 
const wordReListpatches () const
 

Public Attributes

label bodyIndex
 ID of the body in the RBD::rigidBodyMotion. More...
 

Friends

class multiRigidBody
 

Detailed Description

Class containing the patches and point motion weighting for each body.

Definition at line 60 of file multiRigidBody_pointMeshMover.H.

Constructor & Destructor Documentation

◆ bodyMesh() [1/2]

bodyMesh ( const polyMesh mesh,
const word name,
const dictionary dict 
)

Definition at line 114 of file multiRigidBody_pointMeshMover.C.

◆ bodyMesh() [2/2]

bodyMesh ( const polyMesh mesh,
const word name 
)

Definition at line 146 of file multiRigidBody_pointMeshMover.C.

Member Function Documentation

◆ weight()

Type weight ( const Type &  pDist) const
inline

Definition at line 268 of file multiRigidBody_pointMeshMover.C.

References Foam::cos(), Foam::max(), Foam::min(), and Foam::constant::mathematical::pi().

Here is the call graph for this function:

◆ name()

const word& name ( )
inline

Definition at line 115 of file multiRigidBody_pointMeshMover.H.

◆ patches()

const wordReList& patches ( ) const
inline

Definition at line 120 of file multiRigidBody_pointMeshMover.H.

Friends And Related Function Documentation

◆ multiRigidBody

friend class multiRigidBody
friend

Definition at line 97 of file multiRigidBody_pointMeshMover.H.

Member Data Documentation

◆ bodyIndex

label bodyIndex

ID of the body in the RBD::rigidBodyMotion.

Definition at line 95 of file multiRigidBody_pointMeshMover.H.


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