53 void Foam::RBD::joints::composite::setLastJoint()
55 last().joint::operator=(*this);
99 last().jcalc(J, state);
107 os << static_cast<const PtrList<joint>&>(*this);
Macros for easy insertion into run-time selection tables.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Joint state returned by jcalc.
Abstract base-class for all rigid-body joints.
virtual void write(Ostream &) const
Write.
Prismatic joint for translation along the specified arbitrary axis.
composite(const PtrList< joint > &joints)
Construct for given PtrList<joint>
virtual void write(Ostream &) const
Write.
virtual autoPtr< joint > clone() const
Clone this joint.
virtual ~composite()
Destructor.
virtual void jcalc(joint::XSvc &J, const rigidBodyModelState &state) const
Update the model state for this joint.
Holds the motion state of rigid-body model.
Basic rigid-body model representing a system of rigid-bodies connected by 1-6 DoF joints.
T & last()
Return reference to the last element of the list.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
defineTypeNameAndDebug(composite, 0)
addToRunTimeSelectionTable(joint, composite, dictionary)
Ostream & writeKeyword(Foam::Ostream &os, const keyType &kw)
Write the keyword to the Ostream with the current level of indentation.