Changes

Summary

  1. [LinearSystem] Detect changes in sparsity pattern when using ConstantSparsityPatternSystem (#4428) (details)
Commit 5c46269e8c21d3d26e09e40634c06209c8be7eac by noreply
[LinearSystem] Detect changes in sparsity pattern when using ConstantSparsityPatternSystem (#4428)

* [LinearSystem] Detect changes in sparsity pattern when using ConstantSparsityPatternSystem

* Move the index checking in the index checking strategy

* Skip insertion in matrix if an error occurs

* Remove dynamic_cast

* Fix test

* check if object is not mapped
The file was modifiedSofa/Component/LinearSystem/src/sofa/component/linearsystem/MatrixLinearSystem.inl (diff)
The file was modifiedSofa/Component/LinearSystem/src/sofa/component/linearsystem/matrixaccumulators/ConstantLocalMappedMatrix.h (diff)
The file was modifiedexamples/Component/LinearSystem/ConstantSparsityPatternSystem.scn (diff)
The file was modifiedSofa/Component/LinearSystem/src/sofa/component/linearsystem/ConstantSparsityPatternSystem.h (diff)
The file was modifiedSofa/Component/LinearSystem/src/sofa/component/linearsystem/MatrixLinearSystem.h (diff)
The file was modifiedSofa/framework/Core/src/sofa/core/MatrixAccumulator.cpp (diff)
The file was modifiedSofa/framework/Core/test/MatrixAccumulator_test.cpp (diff)
The file was modifiedSofa/Component/LinearSystem/src/sofa/component/linearsystem/ConstantSparsityPatternSystem.inl (diff)
The file was modifiedSofa/Component/LinearSystem/src/sofa/component/linearsystem/matrixaccumulators/ConstantLocalMatrix.h (diff)
The file was modifiedSofa/framework/Core/src/sofa/core/MatrixAccumulator.h (diff)