Skip to content

Commit

Permalink
remove inconsistent comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alxbilger committed Jan 9, 2025
1 parent b582fe0 commit 373aa69
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 44 deletions.
6 changes: 0 additions & 6 deletions src/Cosserat/constraint/CosseratActuatorConstraint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ using namespace sofa::defaulttype;
using namespace sofa::helper;
using namespace sofa::core;

//////////////////////////////////////////// FACTORY //////////////////////////////////////////////
// Registering the component
// see: http://wiki.sofa-framework.org/wiki/ObjectFactory
// 1-RegisterObject("description") + .add<> : Register the component
// 2-.add<>(true) : Set default template

void registerCosseratActuatorConstraint(sofa::core::ObjectFactory* factory)
{
factory->registerObjects(sofa::core::ObjectRegistrationData("Simulate cable actuation.")
Expand Down
8 changes: 1 addition & 7 deletions src/Cosserat/constraint/CosseratNeedleSlidingConstraint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,11 @@ using sofa::defaulttype::Rigid3Types;
using namespace sofa::helper;
using namespace sofa::core;

//////////////////////////////////////////// FACTORY //////////////////////////////////////////////
// Registering the component
// see: http://wiki.sofa-framework.org/wiki/ObjectFactory
// 1-RegisterObject("description") + .add<> : Register the component
// 2-.add<>(true) : Set default template

void registerCosseratNeedleSlidingConstraint(
sofa::core::ObjectFactory *factory) {
factory->registerObjects(sofa::core::ObjectRegistrationData("Simulate sliding contraints for needle insertion.")
.add<sofa::component::constraintset::CosseratNeedleSlidingConstraint<sofa::defaulttype::Vec3Types>>(true));

}

} // namespace sofa
} // namespace sofa
12 changes: 0 additions & 12 deletions src/Cosserat/constraint/QPSlidingConstraint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,6 @@ void SlidingForceConstraintResolution::resolution(int line, double **w,
namespace Cosserat
{

//////////////////////////////////////////// FACTORY //////////////////////////////////////////////
// Registering the component
// see: http://wiki.sofa-framework.org/wiki/ObjectFactory
// 1-RegisterObject("description") + .add<> : Register the component
// 2-.add<>(true) : Set default template

void registerQPSlidingConstraint(sofa::core::ObjectFactory* factory)
{
factory->registerObjects(sofa::core::ObjectRegistrationData("Simulate cable actuation.")
.add< sofa::component::constraintset::QPSlidingConstraint<sofa::defaulttype::Vec3Types> >(true));
}


////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down
8 changes: 0 additions & 8 deletions src/Cosserat/forcefield/BeamHookeLawForceField.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,6 @@ template class BeamHookeLawForceField<Vec6Types>;

namespace Cosserat
{
//////////////////////////////////////////// FACTORY //////////////////////////////////////////////
// Registering the component
// see: http://wiki.sofa-framework.org/wiki/ObjectFactory
// 1-RegisterObject("description") + .add<> : Register the component
// 2-.add<>(true) : Set default template




void registerBeamHookeLawForceField(sofa::core::ObjectFactory* factory)
{
Expand Down
6 changes: 0 additions & 6 deletions src/Cosserat/forcefield/BeamHookeLawForceFieldRigid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ using namespace sofa::defaulttype;
namespace Cosserat
{

//////////////////////////////////////////// FACTORY //////////////////////////////////////////////
// Registering the component
// see: http://wiki.sofa-framework.org/wiki/ObjectFactory
// 1-RegisterObject("description") + .add<> : Register the component
// 2-.add<>(true) : Set default template

void registerBeamHookeLawForceFieldRigid(sofa::core::ObjectFactory *factory) {
factory->registerObjects(
sofa::core::ObjectRegistrationData(
Expand Down
6 changes: 1 addition & 5 deletions src/Cosserat/forcefield/CosseratInternalActuation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@

namespace Cosserat
{
//////////////////////////////////////////// FACTORY //////////////////////////////////////////////
// Registering the component
// see: http://wiki.sofa-framework.org/wiki/ObjectFactory
// 1-RegisterObject("description") + .add<> : Register the component
// 2-.add<>(true) : Set default template

using namespace sofa::defaulttype;

void registerCosseratInternalActuation(sofa::core::ObjectFactory *factory) {
Expand Down

0 comments on commit 373aa69

Please sign in to comment.