#include <MatrixAccumulator.h>
Decorator allowing to check the row and column indices before the matrix accumulation
Public Attributes | |
std::shared_ptr< matrixaccumulator::IndexVerificationStrategy > | indexVerificationStrategy |
Public Member Functions | |
SOFA_CLASS (MatrixAccumulatorIndexChecker, TBaseMatrixAccumulator) | |
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 |
Protected Member Functions | |
virtual void | add (const matrixaccumulator::no_check_policy &, sofa::SignedIndex row, sofa::SignedIndex col, float value) |
virtual void | add (const matrixaccumulator::no_check_policy &, sofa::SignedIndex row, sofa::SignedIndex col, double value) |
virtual void | add (const matrixaccumulator::no_check_policy &, sofa::SignedIndex row, sofa::SignedIndex col, const sofa::type::Mat< 3, 3, float > &value) |
virtual void | add (const matrixaccumulator::no_check_policy &, sofa::SignedIndex row, sofa::SignedIndex col, const sofa::type::Mat< 3, 3, double > &value) |
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) |
virtual void | add (const matrixaccumulator::no_check_policy &, sofa::SignedIndex row, sofa::SignedIndex col, const sofa::type::Mat< 6, 6, float > &value) |
virtual void | add (const matrixaccumulator::no_check_policy &, sofa::SignedIndex row, sofa::SignedIndex col, const sofa::type::Mat< 6, 6, double > &value) |
template<typename T > | |
void | indexCheckedAdd (sofa::SignedIndex row, sofa::SignedIndex col, const T &value) |
std::shared_ptr<matrixaccumulator::IndexVerificationStrategy> sofa::core::MatrixAccumulatorIndexChecker< TBaseMatrixAccumulator, TStrategy >::indexVerificationStrategy |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
Reimplemented in sofa::component::linearsystem::ConstantLocalMappedMatrix< c, TBlockType >, sofa::component::linearsystem::SparsityPatternLocalMatrix< c, TStrategy >, sofa::component::linearsystem::SparsityPatternLocalMappedMatrix< c, TBlockType >, sofa::component::linearsystem::ConstantLocalMatrix< TMatrix, c, TStrategy >, sofa::component::linearsystem::ConstantLocalMatrix< linearalgebra::CompressedRowSparseMatrix< TBlockType >, c >, sofa::component::linearsystem::AssemblingMatrixAccumulator< c, TStrategy >, sofa::component::linearsystem::AssemblingMatrixAccumulator< c, sofa::core::matrixaccumulator::NoIndexVerification >, and sofa::component::linearsystem::AssemblingMappedMatrixAccumulator< c, TBlockType >.
|
inlineprotectedvirtual |
Reimplemented in sofa::component::linearsystem::ConstantLocalMappedMatrix< c, TBlockType >, sofa::component::linearsystem::SparsityPatternLocalMatrix< c, TStrategy >, sofa::component::linearsystem::SparsityPatternLocalMappedMatrix< c, TBlockType >, sofa::component::linearsystem::ConstantLocalMatrix< TMatrix, c, TStrategy >, sofa::component::linearsystem::ConstantLocalMatrix< linearalgebra::CompressedRowSparseMatrix< TBlockType >, c >, sofa::component::linearsystem::AssemblingMatrixAccumulator< c, TStrategy >, sofa::component::linearsystem::AssemblingMatrixAccumulator< c, sofa::core::matrixaccumulator::NoIndexVerification >, and sofa::component::linearsystem::AssemblingMappedMatrixAccumulator< c, TBlockType >.
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
Reimplemented in sofa::component::linearsystem::ConstantLocalMappedMatrix< c, TBlockType >, sofa::component::linearsystem::SparsityPatternLocalMatrix< c, TStrategy >, sofa::component::linearsystem::SparsityPatternLocalMappedMatrix< c, TBlockType >, sofa::component::linearsystem::ConstantLocalMatrix< TMatrix, c, TStrategy >, sofa::component::linearsystem::ConstantLocalMatrix< linearalgebra::CompressedRowSparseMatrix< TBlockType >, c >, sofa::component::linearsystem::AssemblingMatrixAccumulator< c, TStrategy >, sofa::component::linearsystem::AssemblingMatrixAccumulator< c, sofa::core::matrixaccumulator::NoIndexVerification >, and sofa::component::linearsystem::AssemblingMappedMatrixAccumulator< c, TBlockType >.
|
inlineprotectedvirtual |
Reimplemented in sofa::component::linearsystem::ConstantLocalMappedMatrix< c, TBlockType >, sofa::component::linearsystem::SparsityPatternLocalMatrix< c, TStrategy >, sofa::component::linearsystem::SparsityPatternLocalMappedMatrix< c, TBlockType >, sofa::component::linearsystem::ConstantLocalMatrix< TMatrix, c, TStrategy >, sofa::component::linearsystem::ConstantLocalMatrix< linearalgebra::CompressedRowSparseMatrix< TBlockType >, c >, sofa::component::linearsystem::AssemblingMatrixAccumulator< c, TStrategy >, sofa::component::linearsystem::AssemblingMatrixAccumulator< c, sofa::core::matrixaccumulator::NoIndexVerification >, and sofa::component::linearsystem::AssemblingMappedMatrixAccumulator< c, TBlockType >.
|
inlinefinaloverride |
|
inlinefinaloverride |
|
inlinefinaloverride |
|
inlinefinaloverride |
|
inlinefinaloverride |
|
inlinefinaloverride |
|
inlinefinaloverride |
|
inlinefinaloverride |
|
inlineprotected |
|
inlineoverride |
sofa::core::MatrixAccumulatorIndexChecker< TBaseMatrixAccumulator, TStrategy >::SOFA_CLASS | ( | MatrixAccumulatorIndexChecker< TBaseMatrixAccumulator, TStrategy > | , |
TBaseMatrixAccumulator | |||
) |