solidBodyMotionFunction Class Referenceabstract

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

Inheritance diagram for solidBodyMotionFunction:
Collaboration diagram for solidBodyMotionFunction:

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...
 
 solidBodyMotionFunction (const solidBodyMotionFunction &)=delete
 Disallow default bitwise copy construction. 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...
 
void operator= (const solidBodyMotionFunction &)=delete
 Disallow default bitwise assignment. 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() [1/2]

solidBodyMotionFunction ( const dictionary SBMFCoeffs,
const Time runTime 
)

Construct from the SBMFCoeffs dictionary and Time.

Definition at line 40 of file solidBodyMotionFunction.C.

◆ solidBodyMotionFunction() [2/2]

Disallow default bitwise copy construction.

◆ ~solidBodyMotionFunction()

Destructor.

Definition at line 58 of file solidBodyMotionFunction.C.

Member Function Documentation

◆ TypeName()

TypeName ( "solidBodyMotionFunction"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
solidBodyMotionFunction  ,
dictionary  ,
(const dictionary &SBMFCoeffs, const Time &runTime ,
(SBMFCoeffs, runTime  
)

◆ clone()

virtual autoPtr<solidBodyMotionFunction> clone ( ) const
pure virtual

◆ New()

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(), Foam::nl, and runTime.

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ transformation()

virtual septernion transformation ( ) const
pure virtual

Return the solid-body motion transformation septernion.

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

◆ read()

bool read ( const dictionary SBMFCoeffs)
pure virtual

Update properties from given dictionary.

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

Definition at line 64 of file solidBodyMotionFunction.C.

References dictionary::optionalSubDict(), and Foam::type().

Referenced by multiMotion::read(), linearMotion::read(), oscillatingLinearMotion::read(), axisRotationMotion::read(), oscillatingRotatingMotion::read(), rotatingMotion::read(), sixDoFMotion::read(), and SDA::read().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeData()

void writeData ( Ostream os) const
virtual

Write in dictionary format.

Definition at line 72 of file solidBodyMotionFunction.C.

◆ operator=()

void operator= ( const solidBodyMotionFunction )
delete

Disallow default bitwise assignment.

Member Data Documentation

◆ SBMFCoeffs_

◆ time_


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