addToRunTimeSelectionTable(rigidBodySolver, CrankNicolson, dictionary)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
Newmark(rigidBodyMotion &body, const dictionary &dict)
Construct for the given body from dictionary.
defineTypeNameAndDebug(CrankNicolson, 0)
Six degree of freedom motion for a rigid body.
virtual void solve(const scalarField &tau, const Field< spatialVector > &fx)
Integrate the rigid-body motion for one time-step.