SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::component::linearsolver::BlocMatrixWriter< TBloc >::BlocCRSMatrixWriter< MReal > Class Template Reference

#include <BlocMatrixWriter.h>

Public Member Functions

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

Constructor details

template<typename TBloc >
template<class MReal >
sofa::component::linearsolver::BlocMatrixWriter< TBloc >::BlocCRSMatrixWriter< MReal >::BlocCRSMatrixWriter ( sofa::component::linearsolver::CompressedRowSparseMatrix< defaulttype::Mat< NL, NC, MReal > > *  m,
unsigned int  boffsetL,
unsigned int  boffsetC 
)
inline

Function details

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