35namespace solidBodyMotionFunctions
67 scalar t = time_.value();
71 for (label i = 1; i < SBMFs_.size(); i++)
73 TR *= SBMFs_[i].transformation();
90 SBMFs_.setSize(SBMFCoeffs_.size());
92 for (
const entry& dEntry : SBMFCoeffs_)
102 Info<<
"Constructed SBMF " << i <<
" : "
103 << dEntry.keyword() <<
" of type "
104 << SBMFs_[i].type() <<
endl;
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
virtual bool read()
Re-read model coefficients if they have changed.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A keyword and a list of tokens is an 'entry'.
Septernion class used to perform translations and rotations in 3D space.
Base class for defining solid-body motions.
Combination of SolidBodyMotionFvMesh 6DoF motion functions.
virtual septernion transformation() const
Return the solid-body motion transformation septernion.
virtual bool read(const dictionary &SBMFCoeffs)
Update properties from given dictionary.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define DebugInFunction
Report an information message using Foam::Info.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.