#include <BlocMatrixWriter.h>
This class is a helper to efficiently implement addKToMatrix in forcefields (and is could later be used for mapping, etc.) See TriangularFEMForceFieldOptim for an example.
| Classes | |
| class | BaseMatrixWriter | 
| class | BlocBaseMatrixWriter | 
| class | BlocCRSMatrixWriter | 
| class | CRSMatrixWriter | 
| struct | DispatcherForceField_addKToMatrix | 
| Public Member Functions | |
| template<class Dispatcher > | |
| void | apply (Dispatcher &dispatch, sofa::linearalgebra::BaseMatrix *m, unsigned int offsetL, unsigned int offsetC) | 
| template<class FF > | |
| void | addKToMatrix (FF *main, const sofa::core::MechanicalParams *mparams, sofa::core::behavior::MultiMatrixAccessor::MatrixRef r) | 
| 
 | inline | 
| 
 | inline |