template<core::matrixaccumulator::Contribution c, class TStrategy = sofa::core::matrixaccumulator::NoIndexVerification>
class sofa::component::linearsystem::AssemblingMatrixAccumulator< c, TStrategy >
Local matrix component associated to force fields, masses and mappings
They are associated to components by the assembling matrix system @MatrixLinearSystem. AssemblingMatrixAccumulator is not added to the factory. It is not up to the user to add this component in the scene graph.
@AssemblingMatrixAccumulator inherits from @MatrixAccumulatorInterface and is defined as a child of components. This allows components to add their contributions to the global matrix through their associated local matrices.
This matrix accumulator has a direct link to the global matrix so it can add its contributions directly into it. It also knows where to add in the matrix using an offset parameter, set by the assembling matrix system.
|
| SOFA_CLASS (AssemblingMatrixAccumulator, SOFA_TEMPLATE2(sofa::core::MatrixAccumulatorIndexChecker, BaseAssemblingMatrixAccumulator< c >, TStrategy)) |
|
void | clear () override |
|
| SOFA_CLASS (MatrixAccumulatorIndexChecker, BaseAssemblingMatrixAccumulator< c >) |
|
void | setIndexCheckerStrategy (std::shared_ptr< matrixaccumulator::IndexVerificationStrategy > strategy) override |
|
void | add (const sofa::SignedIndex row, const sofa::SignedIndex col, const float value) override final |
|
void | add (const sofa::SignedIndex row, const sofa::SignedIndex col, double value) override final |
|
void | add (const sofa::SignedIndex row, const sofa::SignedIndex col, const sofa::type::Mat< 2, 2, float > &value) override final |
|
void | add (const sofa::SignedIndex row, const sofa::SignedIndex col, const sofa::type::Mat< 2, 2, double > &value) override final |
|
void | add (const sofa::SignedIndex row, const sofa::SignedIndex col, const sofa::type::Mat< 3, 3, float > &value) override final |
|
void | add (const sofa::SignedIndex row, const sofa::SignedIndex col, const sofa::type::Mat< 3, 3, double > &value) override final |
|
void | add (const sofa::SignedIndex row, const sofa::SignedIndex col, const sofa::type::Mat< 6, 6, float > &value) override final |
|
void | add (const sofa::SignedIndex row, const sofa::SignedIndex col, const sofa::type::Mat< 6, 6, double > &value) override final |
|
|
void | add (const core::matrixaccumulator::no_check_policy &, sofa::SignedIndex row, sofa::SignedIndex col, float value) override |
|
void | add (const core::matrixaccumulator::no_check_policy &, sofa::SignedIndex row, sofa::SignedIndex col, double value) override |
|
void | add (const core::matrixaccumulator::no_check_policy &, sofa::SignedIndex row, sofa::SignedIndex col, const sofa::type::Mat< 3, 3, float > &value) override |
|
void | add (const core::matrixaccumulator::no_check_policy &, sofa::SignedIndex row, sofa::SignedIndex col, const sofa::type::Mat< 3, 3, double > &value) override |
|
void | add (const core::matrixaccumulator::no_check_policy &, sofa::SignedIndex row, sofa::SignedIndex col, const sofa::type::Mat< 6, 6, float > &value) override |
|
void | add (const core::matrixaccumulator::no_check_policy &, sofa::SignedIndex row, sofa::SignedIndex col, const sofa::type::Mat< 6, 6, double > &value) override |
|
virtual void | add (const matrixaccumulator::no_check_policy &, sofa::SignedIndex row, sofa::SignedIndex col, const sofa::type::Mat< 2, 2, float > &value) |
|
virtual void | add (const matrixaccumulator::no_check_policy &, sofa::SignedIndex row, sofa::SignedIndex col, const sofa::type::Mat< 2, 2, double > &value) |
|
void | indexCheckedAdd (sofa::SignedIndex row, sofa::SignedIndex col, const T &value) |
|