33 namespace solidBodyMotionFunctions
71 scalar t = time_.value();
75 for (
label i = 1; i < SBMFs_.size(); i++)
77 TR *= SBMFs_[i].transformation();
94 SBMFs_.setSize(SBMFCoeffs_.size());
106 Info<<
"Constructed SBMF " << i <<
" : "
107 << iter().keyword() <<
" of type "
108 << SBMFs_[i].type() <<
endl;
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
Macros for easy insertion into run-time selection tables.
Template class for intrusive linked lists.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Septernion class used to perform translations and rotations in 3D space.
Base class for defining solid-body motions.
static autoPtr< solidBodyMotionFunction > New(const dictionary &SBMFCoeffs, const Time &runTime)
Select constructed from the SBMFCoeffs dictionary and Time.
virtual bool read(const dictionary &SBMFCoeffs)=0
Update properties from given dictionary.
Combination of SolidBodyMotionFvMesh 6DoF motion functions.
multiMotion(const dictionary &SBMFCoeffs, const Time &runTime)
Construct from components.
virtual septernion transformation() const
Return the solid-body motion transformation septernion.
virtual ~multiMotion()
Destructor.
virtual bool read(const dictionary &SBMFCoeffs)
Update properties from given dictionary.
#define DebugInFunction
Report an information message using Foam::Info.
addToRunTimeSelectionTable(solidBodyMotionFunction, axisRotationMotion, dictionary)
defineTypeNameAndDebug(axisRotationMotion, 0)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.