SOFA API  cd4ffb93
Open source framework for multi-physics simuation
sofa::core::ListMatrixAccumulator< TMatrixAccumulator > Class Template Reference

#include <MatrixAccumulator.h>

Inheritance diagram for sofa::core::ListMatrixAccumulator< TMatrixAccumulator >:

Detailed Description

template<class TMatrixAccumulator>
class sofa::core::ListMatrixAccumulator< TMatrixAccumulator >

Composite class of MatrixAccumulatorInterface

Public Member Functions

void push_back (TMatrixAccumulator *m)
 
void remove (TMatrixAccumulator *m)
 
bool empty () const
 
void clear () override
 
InternalListMatrixAccumulator::size_type size () const
 
void add (sofa::SignedIndex i, sofa::SignedIndex j, float value) override
 
void add (sofa::SignedIndex i, sofa::SignedIndex j, double value) override
 
void add (sofa::SignedIndex i, sofa::SignedIndex j, const sofa::type::Mat3x3f &value) override
 
void add (sofa::SignedIndex i, sofa::SignedIndex j, const sofa::type::Mat3x3d &value) override
 
const InternalListMatrixAccumulatorgetAccumulators () const
 

Function details

◆ add() [1/4]

template<class TMatrixAccumulator >
void sofa::core::ListMatrixAccumulator< TMatrixAccumulator >::add ( sofa::SignedIndex  i,
sofa::SignedIndex  j,
const sofa::type::Mat3x3d value 
)
inlineoverride

◆ add() [2/4]

template<class TMatrixAccumulator >
void sofa::core::ListMatrixAccumulator< TMatrixAccumulator >::add ( sofa::SignedIndex  i,
sofa::SignedIndex  j,
const sofa::type::Mat3x3f value 
)
inlineoverride

◆ add() [3/4]

template<class TMatrixAccumulator >
void sofa::core::ListMatrixAccumulator< TMatrixAccumulator >::add ( sofa::SignedIndex  i,
sofa::SignedIndex  j,
double  value 
)
inlineoverride

◆ add() [4/4]

template<class TMatrixAccumulator >
void sofa::core::ListMatrixAccumulator< TMatrixAccumulator >::add ( sofa::SignedIndex  i,
sofa::SignedIndex  j,
float  value 
)
inlineoverride

◆ clear()

template<class TMatrixAccumulator >
void sofa::core::ListMatrixAccumulator< TMatrixAccumulator >::clear ( )
inlineoverride

◆ empty()

template<class TMatrixAccumulator >
bool sofa::core::ListMatrixAccumulator< TMatrixAccumulator >::empty ( ) const
inline

◆ getAccumulators()

template<class TMatrixAccumulator >
const InternalListMatrixAccumulator& sofa::core::ListMatrixAccumulator< TMatrixAccumulator >::getAccumulators ( ) const
inline

◆ push_back()

template<class TMatrixAccumulator >
void sofa::core::ListMatrixAccumulator< TMatrixAccumulator >::push_back ( TMatrixAccumulator m)
inline

◆ remove()

template<class TMatrixAccumulator >
void sofa::core::ListMatrixAccumulator< TMatrixAccumulator >::remove ( TMatrixAccumulator m)
inline

◆ size()

template<class TMatrixAccumulator >
InternalListMatrixAccumulator::size_type sofa::core::ListMatrixAccumulator< TMatrixAccumulator >::size ( ) const
inline