SOFA API  b3f2f2a4
Open source framework for multi-physics simuation
sofa::core::behavior::BlocMatrixWriter< TBloc >::CRSMatrixWriter< MReal > Class Template Reference

#include <BlocMatrixWriter.h>

Public Member Functions

 CRSMatrixWriter (sofa::linearalgebra::CompressedRowSparseMatrix< MReal > *m, unsigned int offsetL, unsigned int offsetC)
 
void add (unsigned int bi, unsigned int bj, const MatBloc &b)
 

Constructor details

◆ CRSMatrixWriter()

template<typename TBloc >
template<class MReal >
sofa::core::behavior::BlocMatrixWriter< TBloc >::CRSMatrixWriter< MReal >::CRSMatrixWriter ( sofa::linearalgebra::CompressedRowSparseMatrix< MReal > *  m,
unsigned int  offsetL,
unsigned int  offsetC 
)
inline

Function details

◆ add()

template<typename TBloc >
template<class MReal >
void sofa::core::behavior::BlocMatrixWriter< TBloc >::CRSMatrixWriter< MReal >::add ( unsigned int  bi,
unsigned int  bj,
const MatBloc b 
)
inline