Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static autoPtr< T > NewFrom(Args &&... args)
Construct autoPtr from derived type with forwarding arguments.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Six degree of freedom motion for a rigid body.
sixDoFSolver(const dictionary &dict, sixDoFRigidBodyMotion &body)
dictionary dict_
Model dictionary.
sixDoFRigidBodyMotion & body_
The rigid body.
Newmark(const dictionary &dict, sixDoFRigidBodyMotion &body)
Construct from a dictionary and the body.
virtual autoPtr< sixDoFSolver > clone() const
Construct and return a clone.
virtual ~Newmark()
Destructor.
TypeName("Newmark")
Runtime type information.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.