Changes

Summary

  1. [Lagrangian.Correction] Add callbacks to check zero compliance  (#4205) (details)
Commit 3af47db8305407e00062838c02ba881370e2eb57 by noreply
[Lagrangian.Correction] Add callbacks to check zero compliance  (#4205)

* Create one single callback checking non-zero values for compliance

* add info message in rigid case

* test compliance vector only if non-rigid using boiler plate snippet

* move in a dedicated file the boiler plate code

* fix compil

* add checks for zero compliance vector in case of rigid body

* minor formatting

* Add comment on rigid compliance vector

* Update Sofa/Component/Constraint/Lagrangian/Correction/src/sofa/component/constraint/lagrangian/correction/UncoupledConstraintCorrection.inl

---------

Co-authored-by: Paul Baksic <30337881+bakpaul@users.noreply.github.com>
The file was modifiedSofa/Component/SolidMechanics/Spring/src/sofa/component/solidmechanics/spring/RestShapeSpringsForceField.inl (diff)
The file was modifiedSofa/Component/Constraint/Lagrangian/Correction/src/sofa/component/constraint/lagrangian/correction/UncoupledConstraintCorrection.inl (diff)
The file was modifiedSofa/Component/Constraint/Lagrangian/Correction/src/sofa/component/constraint/lagrangian/correction/UncoupledConstraintCorrection.cpp (diff)
The file was modifiedSofa/framework/Type/CMakeLists.txt (diff)
The file was addedSofa/framework/Type/src/sofa/type/isRigidType.h