SOFA API  1c8b807d
Open source framework for multi-physics simuation
sofa::component::linearsystem::LocalMatrixMaps< c, Real > Struct Template Reference

#include <MatrixLinearSystem.h>

Detailed Description

template<Contribution c, class Real>
struct sofa::component::linearsystem::LocalMatrixMaps< c, Real >

Data structure storing local matrix components created during the matrix assembly and associated to each component contributing to the global matrix

Public Attributes

std::map< ComponentType *, std::map< PairMechanicalStates, AssemblingMappedMatrixAccumulator< c, Real > * > > mappedLocalMatrix
 The local matrix (value) that has been created and associated to a mapped component (key) More...
 
std::map< ComponentType *, std::shared_ptr< core::matrixaccumulator::IndexVerificationStrategy > > indexVerificationStrategy
 A verification strategy allowing to verify that the matrix indices provided are valid. More...
 
std::map< ComponentType *, std::map< PairMechanicalStates, BaseAssemblingMatrixAccumulator< c > * > > componentLocalMatrix
 

Public Member Functions

void clear ()
 

Attribute details

◆ componentLocalMatrix

template<Contribution c, class Real >
std::map< ComponentType*, std::map<PairMechanicalStates, BaseAssemblingMatrixAccumulator<c>* > > sofa::component::linearsystem::LocalMatrixMaps< c, Real >::componentLocalMatrix

◆ indexVerificationStrategy

template<Contribution c, class Real >
std::map< ComponentType*, std::shared_ptr<core::matrixaccumulator::IndexVerificationStrategy> > sofa::component::linearsystem::LocalMatrixMaps< c, Real >::indexVerificationStrategy

A verification strategy allowing to verify that the matrix indices provided are valid.

◆ mappedLocalMatrix

template<Contribution c, class Real >
std::map< ComponentType*, std::map<PairMechanicalStates, AssemblingMappedMatrixAccumulator<c, Real>*> > sofa::component::linearsystem::LocalMatrixMaps< c, Real >::mappedLocalMatrix

The local matrix (value) that has been created and associated to a mapped component (key)

Function details

◆ clear()

template<Contribution c, class Real >
void sofa::component::linearsystem::LocalMatrixMaps< c, Real >::clear ( )
inline