Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ template< class T > class MechanicalState;
namespace sofa::component::solidmechanics::spring
{

/**
* @brief This class describes a simple elastic springs ForceField between DOFs positions and rest positions.
*
* Springs are applied to given degrees of freedom between their current positions and their rest shape positions.
* An external MechanicalState reference can also be passed to the ForceField as rest shape position.
*/
template<class DataTypes>
class AngularSpringForceField : public core::behavior::ForceField<DataTypes>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ using namespace sofa::defaulttype;

void registerSpringForceField(sofa::core::ObjectFactory* factory)
{
factory->registerObjects(core::ObjectRegistrationData("Springs.")
factory->registerObjects(core::ObjectRegistrationData("A spring-based force field between two mechanical states, applying Hookean elastic forces with damping.")
.add< SpringForceField<Vec3Types> >()
.add< SpringForceField<Vec2Types> >()
.add< SpringForceField<Vec1Types> >()
Expand Down
Loading