#include <AddMToMatrixFunctor.h>
Helper struct to add entries in a matrix, based on the type of Mass (MassType).
This class is specialized for Rigid types.
The default implementation assumes it deals with Vec types: Deriv is a Vec type, and MassType is a floating point.
Public Member Functions | |
void | operator() (MatrixType *mat, MassType mass, int pos, MassType fact) |
void | operator() (MatrixType *mat, MassType mass, int posRow, int posColumn, MassType fact) |
Method to add non-diagonal terms. More... | |
|
inline |
|
inline |
Method to add non-diagonal terms.