37 #ifndef RBD_pointMasses_H
38 #define RBD_pointMasses_H
78 template<
class Type,
class Op>
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Specialisation of rigidBody to construct a pointMasses given the mass and lengths of the sides.
virtual tmp< vectorField > sectionMu1s(const direction axis, const scalarField &distances) const
Return the first moments of the sections of the body between.
virtual void write(Ostream &) const
Write.
virtual tmp< symmTensorField > sectionMu2s(const direction axis, const scalarField &distances) const
Return the second moments of the sections of the body between.
TypeName("pointMasses")
Runtime type information.
virtual autoPtr< rigidBody > clone() const
Return clone of this pointMasses.
pointMasses(const word &name, const dictionary &dict)
Construct from dictionary.
virtual tmp< scalarField > sectionMu0s(const direction axis, const scalarField &distances) const
Return the zeroth moments of the sections of the body between.
virtual ~pointMasses()
Destructor.
const word & name() const
Return name.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A class for managing temporary objects.
A class for handling words, derived from string.