#include <MultiMatrixAccessor.h>
Abstract class allowing to find the part of the mechanical matrix associated with a given MechanicalState or pair of MechanicalState (for interaction forces and mappings).
Classes | |
class | InteractionMatrixRef |
Simple structure holding a reference to the submatrix related to the interactions between two MechanicalStates. More... | |
class | MatrixRef |
Simple structure holding a reference to the submatrix related to one MechanicalState. More... | |
Public Member Functions | |
virtual | ~MultiMatrixAccessor () |
virtual void | addMechanicalState (const BaseMechanicalState *mstate) |
virtual void | addMechanicalMapping (BaseMapping *mapping) |
virtual void | addMappedMechanicalState (const BaseMechanicalState *mstate) |
virtual Index | getGlobalDimension () const =0 |
virtual int | getGlobalOffset (const BaseMechanicalState *mstate) const =0 |
virtual MatrixRef | getMatrix (const BaseMechanicalState *mstate) const =0 |
virtual InteractionMatrixRef | getMatrix (const BaseMechanicalState *mstate1, const BaseMechanicalState *mstate2) const =0 |
|
virtual |
|
virtual |
Reimplemented in sofa::core::behavior::DefaultMultiMatrixAccessor.
|
virtual |
Reimplemented in sofa::core::behavior::DefaultMultiMatrixAccessor, and sofa::core::behavior::CRSMultiMatrixAccessor.
|
virtual |
Reimplemented in sofa::core::behavior::DefaultMultiMatrixAccessor.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |