SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::component::mass::AddMToMatrixFunctor< Deriv, MassType > Class Template Reference

#include <AddMToMatrixFunctor.h>

Public Member Functions

void operator() (defaulttype::BaseMatrix *mat, const MassType &mass, int pos, double fact)
 
void operator() (defaulttype::BaseMatrix *mat, const MassType &mass, int posRow, int posColumn, double fact)
 Method to add non-diagonal terms. More...
 

Function details

template<class Deriv , class MassType >
void sofa::component::mass::AddMToMatrixFunctor< Deriv, MassType >::operator() ( defaulttype::BaseMatrix mat,
const MassType &  mass,
int  pos,
double  fact 
)
inline
template<class Deriv , class MassType >
void sofa::component::mass::AddMToMatrixFunctor< Deriv, MassType >::operator() ( defaulttype::BaseMatrix mat,
const MassType &  mass,
int  posRow,
int  posColumn,
double  fact 
)
inline

Method to add non-diagonal terms.