SOFA API  1a4bb3e7
Open source framework for multi-physics simuation
sofa::component::linearsystem::ConstantLocalMappedMatrix< c, TBlockType > Class Template Reference

#include <ConstantLocalMappedMatrix.h>

Inheritance diagram for sofa::component::linearsystem::ConstantLocalMappedMatrix< c, TBlockType >:

Public Member Functions

 SOFA_CLASS2 (ConstantLocalMappedMatrix, SOFA_TEMPLATE2(ConstantLocalMatrix, linearalgebra::CompressedRowSparseMatrix< TBlockType >, c), SOFA_TEMPLATE2(AssemblingMappedMatrixAccumulator, c, TBlockType))
 
- Public Member Functions inherited from sofa::component::linearsystem::ConstantLocalMatrix< linearalgebra::CompressedRowSparseMatrix< TBlockType >, c >
 SOFA_CLASS (ConstantLocalMatrix, SOFA_TEMPLATE2(AssemblingMatrixAccumulator, c, sofa::core::matrixaccumulator::NoIndexVerification))
 
- Public Member Functions inherited from sofa::component::linearsystem::AssemblingMatrixAccumulator< c, sofa::core::matrixaccumulator::NoIndexVerification >
 SOFA_CLASS (AssemblingMatrixAccumulator, SOFA_TEMPLATE2(sofa::core::MatrixAccumulatorIndexChecker, BaseAssemblingMatrixAccumulator< c >, sofa::core::matrixaccumulator::NoIndexVerification))
 
void clear () override
 
- Public Member Functions inherited from sofa::core::MatrixAccumulatorIndexChecker< BaseAssemblingMatrixAccumulator< c >, sofa::core::matrixaccumulator::NoIndexVerification >
 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
 
- Public Member Functions inherited from sofa::component::linearsystem::AssemblingMappedMatrixAccumulator< c, TBlockType >
 SOFA_CLASS (AssemblingMappedMatrixAccumulator, AssemblingMatrixAccumulator< c >)
 
void clear () override
 
void shareMatrix (const std::shared_ptr< LocalMappedMatrixType< TBlockType > > &m)
 
const std::shared_ptr< LocalMappedMatrixType< TBlockType > > & getMatrix () const
 
- Public Member Functions inherited from sofa::component::linearsystem::AssemblingMatrixAccumulator< c, TStrategy >
 SOFA_CLASS (AssemblingMatrixAccumulator, SOFA_TEMPLATE2(sofa::core::MatrixAccumulatorIndexChecker, BaseAssemblingMatrixAccumulator< c >, TStrategy))
 
void clear () override
 

Protected Member Functions

void add (const no_check_policy &, sofa::SignedIndex row, sofa::SignedIndex col, float value) override
 
void add (const no_check_policy &, sofa::SignedIndex row, sofa::SignedIndex col, double value) override
 
void add (const no_check_policy &, sofa::SignedIndex row, sofa::SignedIndex col, const sofa::type::Mat< 3, 3, float > &value) override
 
void add (const no_check_policy &, sofa::SignedIndex row, sofa::SignedIndex col, const sofa::type::Mat< 3, 3, double > &value) override
 
- Protected Member Functions inherited from sofa::component::linearsystem::ConstantLocalMatrix< linearalgebra::CompressedRowSparseMatrix< TBlockType >, c >
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
 
- Protected Member Functions inherited from sofa::component::linearsystem::AssemblingMatrixAccumulator< c, sofa::core::matrixaccumulator::NoIndexVerification >
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
 
- Protected Member Functions inherited from sofa::core::MatrixAccumulatorIndexChecker< BaseAssemblingMatrixAccumulator< c >, sofa::core::matrixaccumulator::NoIndexVerification >
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)
 
- Protected Member Functions inherited from sofa::component::linearsystem::AssemblingMappedMatrixAccumulator< c, TBlockType >
 AssemblingMappedMatrixAccumulator ()
 
- Protected Member Functions inherited from sofa::component::linearsystem::AssemblingMatrixAccumulator< c, TStrategy >
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
 

Additional Inherited Members

- Public Attributes inherited from sofa::component::linearsystem::ConstantLocalMatrix< linearalgebra::CompressedRowSparseMatrix< TBlockType >, c >
sofa::type::vector< std::size_t > compressedInsertionOrderList
 list of indices in the compressed values More...
 
std::size_t currentId
 
- Public Attributes inherited from sofa::core::MatrixAccumulatorIndexChecker< BaseAssemblingMatrixAccumulator< c >, sofa::core::matrixaccumulator::NoIndexVerification >
std::shared_ptr< matrixaccumulator::IndexVerificationStrategyindexVerificationStrategy
 
- Static Public Attributes inherited from sofa::component::linearsystem::AssemblingMatrixAccumulator< c, sofa::core::matrixaccumulator::NoIndexVerification >
static constexpr core::matrixaccumulator::Contribution contribution
 
- Static Public Attributes inherited from sofa::component::linearsystem::AssemblingMatrixAccumulator< c, TStrategy >
static constexpr core::matrixaccumulator::Contribution contribution = c
 
- Protected Attributes inherited from sofa::component::linearsystem::AssemblingMappedMatrixAccumulator< c, TBlockType >
std::shared_ptr< LocalMappedMatrixType< TBlockType > > m_mappedMatrix
 
- Static Public Member Functions inherited from sofa::component::linearsystem::AssemblingMatrixAccumulator< c, sofa::core::matrixaccumulator::NoIndexVerification >
static std::string GetCustomTemplateName ()
 
- Static Public Member Functions inherited from sofa::component::linearsystem::AssemblingMatrixAccumulator< c, TStrategy >
static std::string GetCustomTemplateName ()
 

Function details

◆ add() [1/4]

template<core::matrixaccumulator::Contribution c, class TBlockType >
void sofa::component::linearsystem::ConstantLocalMappedMatrix< c, TBlockType >::add ( const no_check_policy ,
sofa::SignedIndex  row,
sofa::SignedIndex  col,
const sofa::type::Mat< 3, 3, double > &  value 
)
overrideprotectedvirtual

◆ add() [2/4]

template<core::matrixaccumulator::Contribution c, class TBlockType >
void sofa::component::linearsystem::ConstantLocalMappedMatrix< c, TBlockType >::add ( const no_check_policy ,
sofa::SignedIndex  row,
sofa::SignedIndex  col,
const sofa::type::Mat< 3, 3, float > &  value 
)
overrideprotectedvirtual

◆ add() [3/4]

template<core::matrixaccumulator::Contribution c, class TBlockType >
void sofa::component::linearsystem::ConstantLocalMappedMatrix< c, TBlockType >::add ( const no_check_policy ,
sofa::SignedIndex  row,
sofa::SignedIndex  col,
double  value 
)
overrideprotectedvirtual

◆ add() [4/4]

template<core::matrixaccumulator::Contribution c, class TBlockType >
void sofa::component::linearsystem::ConstantLocalMappedMatrix< c, TBlockType >::add ( const no_check_policy ,
sofa::SignedIndex  row,
sofa::SignedIndex  col,
float  value 
)
overrideprotectedvirtual

◆ SOFA_CLASS2()

template<core::matrixaccumulator::Contribution c, class TBlockType >
sofa::component::linearsystem::ConstantLocalMappedMatrix< c, TBlockType >::SOFA_CLASS2 ( ConstantLocalMappedMatrix< c, TBlockType >  ,
SOFA_TEMPLATE2(ConstantLocalMatrix, linearalgebra::CompressedRowSparseMatrix< TBlockType >, c)  ,
SOFA_TEMPLATE2(AssemblingMappedMatrixAccumulator, c, TBlockType)   
)