Skip to content

Commit

Permalink
Apply suggestions from code review (update descriptions)
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo <[email protected]>
  • Loading branch information
fredroy and hugtalbot committed Oct 22, 2024
1 parent f926d10 commit 6f53fbb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ type::Vec6 DiagonalMass<Rigid3Types>::getMomentum ( const MechanicalParams* mpar

void registerDiagonalMass(sofa::core::ObjectFactory* factory)
{
factory->registerObjects(core::ObjectRegistrationData("Define a specific mass for each particle.")
factory->registerObjects(core::ObjectRegistrationData("Compute a lumped (diagonalized) mass matrix resulting from the space integration of a density over a domain.")
.add< DiagonalMass<Vec3Types> >()
.add< DiagonalMass<Vec2Types, Vec3Types> >()
.add< DiagonalMass<Vec1Types> >()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Vec6 MeshMatrixMass<Vec3Types>::getMomentum ( const core::MechanicalParams*, con

void registerMeshMatrixMass(sofa::core::ObjectFactory* factory)
{
factory->registerObjects(core::ObjectRegistrationData("Define a specific mass for each particle.")
factory->registerObjects(core::ObjectRegistrationData("Compute a mass matrix resulting from the space integration of a density over a domain.")
.add< MeshMatrixMass<Vec3Types> >()
.add< MeshMatrixMass<Vec2Types> >()
.add< MeshMatrixMass<Vec2Types, Vec3Types> >()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ Vec6 UniformMass<Rigid3Types>::getMomentum ( const MechanicalParams* params,

void registerUniformMass(sofa::core::ObjectFactory* factory)
{
factory->registerObjects(core::ObjectRegistrationData("Define the same mass for all the particles.")
factory->registerObjects(core::ObjectRegistrationData("Compute a mass equally spread over the number of nodes.")
.add< UniformMass<Vec3Types> >()
.add< UniformMass<Vec2Types> >()
.add< UniformMass<Vec1Types> >()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ void FileMessageHandlerComponent::parse ( core::objectmodel::BaseObjectDescripti

void registerFileMessageHandlerComponent(sofa::core::ObjectFactory* factory)
{
factory->registerObjects(core::ObjectRegistrationData("This component dump all the messages into a file.")
factory->registerObjects(core::ObjectRegistrationData("This component dumps all the messages into a file.")
.add< FileMessageHandlerComponent >());
}

Expand Down

0 comments on commit 6f53fbb

Please sign in to comment.