sixDoFRigidBodyMotionConstraint. Body may only rotate around an axis fixed in global space. More...

Inheritance diagram for axis:
Collaboration diagram for axis:

Public Member Functions

 TypeName ("axis")
 Runtime type information. More...
 
 axis (const word &name, const dictionary &sDoFRBMCDict)
 Construct from components. More...
 
virtual autoPtr
< sixDoFRigidBodyMotionConstraint
clone () const
 Construct and return a clone. More...
 
virtual ~axis ()
 Destructor. More...
 
virtual void constrainTranslation (pointConstraint &) const
 Apply and accumulate translational constraints. More...
 
virtual void constrainRotation (pointConstraint &) const
 Apply and accumulate rotational constraints. More...
 
virtual bool read (const dictionary &sDoFRBMCCoeff)
 Update properties from given dictionary. More...
 
virtual void write (Ostream &) const
 Write. More...
 
- Public Member Functions inherited from sixDoFRigidBodyMotionConstraint
 TypeName ("sixDoFRigidBodyMotionConstraint")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, sixDoFRigidBodyMotionConstraint, dictionary,(const word &name, const dictionary &sDoFRBMCDict),(name, sDoFRBMCDict))
 
 sixDoFRigidBodyMotionConstraint (const word &name, const dictionary &sDoFRBMCDict)
 Construct from the sDoFRBMCDict dictionary and Time. More...
 
virtual ~sixDoFRigidBodyMotionConstraint ()
 Destructor. More...
 
const wordname () const
 Return the name. More...
 
const dictionarycoeffDict () const
 

Additional Inherited Members

- Static Public Member Functions inherited from sixDoFRigidBodyMotionConstraint
static autoPtr
< sixDoFRigidBodyMotionConstraint
New (const word &name, const dictionary &sDoFRBMCDict)
 Select constructed from the sDoFRBMCDict dictionary and Time. More...
 
- Protected Attributes inherited from sixDoFRigidBodyMotionConstraint
word name_
 Name of the constraint. More...
 
dictionary sDoFRBMCCoeffs_
 Constraint model specific coefficient dictionary. More...
 

Detailed Description

sixDoFRigidBodyMotionConstraint. Body may only rotate around an axis fixed in global space.

Source files

Definition at line 53 of file sixDoFRigidBodyMotionAxisConstraint.H.

Constructor & Destructor Documentation

axis ( const word name,
const dictionary sDoFRBMCDict 
)

Construct from components.

Definition at line 51 of file sixDoFRigidBodyMotionAxisConstraint.C.

~axis ( )
virtual

Destructor.

Definition at line 65 of file sixDoFRigidBodyMotionAxisConstraint.C.

References axis::~axis().

Referenced by axis::~axis().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Function Documentation

TypeName ( "axis"  )

Runtime type information.

virtual autoPtr<sixDoFRigidBodyMotionConstraint> clone ( ) const
inlinevirtual

Construct and return a clone.

Implements sixDoFRigidBodyMotionConstraint.

Definition at line 80 of file sixDoFRigidBodyMotionAxisConstraint.H.

References axis::clone().

Referenced by axis::clone().

Here is the call graph for this function:

Here is the caller graph for this function:

void constrainTranslation ( pointConstraint pc) const
virtual

Apply and accumulate translational constraints.

Implements sixDoFRigidBodyMotionConstraint.

Definition at line 72 of file sixDoFRigidBodyMotionAxisConstraint.C.

void constrainRotation ( pointConstraint pc) const
virtual

Apply and accumulate rotational constraints.

Implements sixDoFRigidBodyMotionConstraint.

Definition at line 79 of file sixDoFRigidBodyMotionAxisConstraint.C.

References pointConstraint::combine().

Here is the call graph for this function:

bool read ( const dictionary sDoFRBMCCoeff)
virtual

Update properties from given dictionary.

Reimplemented from sixDoFRigidBodyMotionConstraint.

Definition at line 88 of file sixDoFRigidBodyMotionAxisConstraint.C.

References Foam::abort(), FatalErrorIn, and Foam::mag().

Here is the call graph for this function:

void write ( Ostream os) const
virtual

Write.

Reimplemented from sixDoFRigidBodyMotionConstraint.

Definition at line 120 of file sixDoFRigidBodyMotionAxisConstraint.C.

References Ostream::writeKeyword().

Here is the call graph for this function:


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