SOFA API  ca70b0f0
Open source framework for multi-physics simuation
sofa::core::MechanicalStatesMatrixAccumulators< c > Class Template Reference

#include <MechanicalStatesMatrixAccumulators.h>

Inheritance diagram for sofa::core::MechanicalStatesMatrixAccumulators< c >:

Public Attributes

std::map< std::pair< BaseState *, BaseState * >, MatrixAccumulator * > m_submatrix
 

Public Member Functions

void setMatrixAccumulator (MatrixAccumulator *matrixAccumulator, BaseState *mstate1, BaseState *mstate2)
 
void setMatrixAccumulator (MatrixAccumulator *matrixAccumulator, BaseState *mstate1)
 
void setMechanicalParams (const core::MechanicalParams *mparams)
 
const core::MechanicalParamsgetMechanicalParams () const
 
 MechanicalStatesMatrixAccumulators ()=default
 
virtual ~MechanicalStatesMatrixAccumulators ()=default
 

Attribute details

◆ m_submatrix

template<matrixaccumulator::Contribution c>
std::map<std::pair<BaseState*, BaseState*>, MatrixAccumulator*> sofa::core::MechanicalStatesMatrixAccumulators< c >::m_submatrix

Constructor details

◆ MechanicalStatesMatrixAccumulators()

template<matrixaccumulator::Contribution c>
sofa::core::MechanicalStatesMatrixAccumulators< c >::MechanicalStatesMatrixAccumulators ( )
default

◆ ~MechanicalStatesMatrixAccumulators()

template<matrixaccumulator::Contribution c>
virtual sofa::core::MechanicalStatesMatrixAccumulators< c >::~MechanicalStatesMatrixAccumulators ( )
virtualdefault

Function details

◆ getMechanicalParams()

template<matrixaccumulator::Contribution c>
const core::MechanicalParams* sofa::core::MechanicalStatesMatrixAccumulators< c >::getMechanicalParams ( ) const
inline

◆ setMatrixAccumulator() [1/2]

template<matrixaccumulator::Contribution c>
void sofa::core::MechanicalStatesMatrixAccumulators< c >::setMatrixAccumulator ( MatrixAccumulator matrixAccumulator,
BaseState mstate1 
)

◆ setMatrixAccumulator() [2/2]

template<matrixaccumulator::Contribution c>
void sofa::core::MechanicalStatesMatrixAccumulators< c >::setMatrixAccumulator ( MatrixAccumulator matrixAccumulator,
BaseState mstate1,
BaseState mstate2 
)

◆ setMechanicalParams()

template<matrixaccumulator::Contribution c>
void sofa::core::MechanicalStatesMatrixAccumulators< c >::setMechanicalParams ( const core::MechanicalParams mparams)
inline