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

#include <BlocMatrixWriter.h>

Public Member Functions

 BlocCRSMatrixWriter (sofa::linearalgebra::CompressedRowSparseMatrix< type::Mat< NL, NC, MReal > > *m, unsigned int boffsetL, unsigned int boffsetC)
 
void add (unsigned int bi, unsigned int bj, const MatBloc &b)
 

Constructor details

◆ BlocCRSMatrixWriter()

template<typename TBloc >
template<class MReal >
sofa::core::behavior::BlocMatrixWriter< TBloc >::BlocCRSMatrixWriter< MReal >::BlocCRSMatrixWriter ( sofa::linearalgebra::CompressedRowSparseMatrix< type::Mat< NL, NC, MReal > > *  m,
unsigned int  boffsetL,
unsigned int  boffsetC 
)
inline

Function details

◆ add()

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