rigidBodyDynamics: Generalized the interface to the restraints
Now internal forces and restraints may be applied between bodies within the articulated structure.
This commit is contained in:
@ -101,8 +101,13 @@ public:
|
||||
|
||||
// Member Functions
|
||||
|
||||
//- Return the external force applied to the body by this restraint
|
||||
virtual spatialVector restrain() const;
|
||||
//- Accumulate the retraint internal joint forces into the tau field and
|
||||
// external forces into the fx field
|
||||
virtual void restrain
|
||||
(
|
||||
scalarField& tau,
|
||||
Field<spatialVector>& fx
|
||||
) const;
|
||||
|
||||
//- Update properties from given dictionary
|
||||
virtual bool read(const dictionary& dict);
|
||||
|
||||
Reference in New Issue
Block a user