SOFA API  1a4bb3e7
Open source framework for multi-physics simuation
sofa::component::mass::AddMToMatrixFunctor< defaulttype::RigidDeriv< N, Real >, defaulttype::RigidMass< N, Real >, MatrixType > Struct Template Reference

#include <AddMToMatrixFunctor.h>

Detailed Description

template<sofa::Size N, typename Real, class MatrixType>
struct sofa::component::mass::AddMToMatrixFunctor< defaulttype::RigidDeriv< N, Real >, defaulttype::RigidMass< N, Real >, MatrixType >

Specialization for Rigid types

Public Member Functions

void operator() (MatrixType *mat, const defaulttype::RigidMass< N, Real > &mass, int pos, Real fact)
 

Function details

◆ operator()()

template<sofa::Size N, typename Real , class MatrixType >
void sofa::component::mass::AddMToMatrixFunctor< defaulttype::RigidDeriv< N, Real >, defaulttype::RigidMass< N, Real >, MatrixType >::operator() ( MatrixType *  mat,
const defaulttype::RigidMass< N, Real > &  mass,
int  pos,
Real  fact 
)
inline