Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
solidBodyMotionFunction Class Referenceabstract

Base class for defining solid-body motions. More...

Inheritance diagram for solidBodyMotionFunction:
Inheritance graph
[legend]
Collaboration diagram for solidBodyMotionFunction:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("solidBodyMotionFunction")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, solidBodyMotionFunction, dictionary,(const dictionary &SBMFCoeffs, const Time &runTime),(SBMFCoeffs, runTime))
 
 solidBodyMotionFunction (const dictionary &SBMFCoeffs, const Time &runTime)
 Construct from the SBMFCoeffs dictionary and Time. More...
 
virtual autoPtr< solidBodyMotionFunctionclone () const =0
 Construct and return a clone. More...
 
virtual ~solidBodyMotionFunction ()
 Destructor. More...
 
virtual septernion transformation () const =0
 Return the solid-body motion transformation septernion. More...
 
virtual bool read (const dictionary &SBMFCoeffs)=0
 Update properties from given dictionary. More...
 
virtual void writeData (Ostream &) const
 Write in dictionary format. More...
 

Static Public Member Functions

static autoPtr< solidBodyMotionFunctionNew (const dictionary &SBMFCoeffs, const Time &runTime)
 Select constructed from the SBMFCoeffs dictionary and Time. More...
 

Protected Attributes

dictionary SBMFCoeffs_
 
const Timetime_
 

Detailed Description

Base class for defining solid-body motions.

Source files

Definition at line 60 of file solidBodyMotionFunction.H.

Constructor & Destructor Documentation

solidBodyMotionFunction ( const dictionary SBMFCoeffs,
const Time runTime 
)

Construct from the SBMFCoeffs dictionary and Time.

Definition at line 40 of file solidBodyMotionFunction.C.

Destructor.

Definition at line 58 of file solidBodyMotionFunction.C.

Member Function Documentation

TypeName ( "solidBodyMotionFunction"  )

Runtime type information.

declareRunTimeSelectionTable ( autoPtr  ,
solidBodyMotionFunction  ,
dictionary  ,
(const dictionary &SBMFCoeffs, const Time &runTime)  ,
(SBMFCoeffs, runTime)   
)
virtual autoPtr<solidBodyMotionFunction> clone ( ) const
pure virtual
Foam::autoPtr< Foam::solidBodyMotionFunction > New ( const dictionary SBMFCoeffs,
const Time runTime 
)
static

Select constructed from the SBMFCoeffs dictionary and Time.

Definition at line 31 of file solidBodyMotionFunctionNew.C.

References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, dictionary::lookup(), and Foam::nl.

Referenced by multiSolidBodyMotionFvMesh::multiSolidBodyMotionFvMesh(), and multiMotion::read().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual septernion transformation ( ) const
pure virtual

Return the solid-body motion transformation septernion.

Implemented in SDA, tabulated6DoFMotion, rotatingMotion, oscillatingRotatingMotion, axisRotationMotion, oscillatingLinearMotion, linearMotion, and multiMotion.

bool read ( const dictionary SBMFCoeffs)
pure virtual
void writeData ( Ostream os) const
virtual

Write in dictionary format.

Definition at line 72 of file solidBodyMotionFunction.C.

Member Data Documentation

dictionary SBMFCoeffs_
protected
const Time& time_
protected

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