SOFA plugin: SofaMatrix  master
Open source framework for multi-physics simuation
sofa::component::linearsystem Namespace Reference

Classes

class  MappingGraph
 
class  MatrixLinearSystem
 
class  AssembleGlobalVectorFromLocalVectorVisitor
 
class  AssemblingMappedMatrixAccumulator
 
class  AssemblingMatrixAccumulator
 
class  BaseAssemblingMatrixAccumulator
 
class  BaseMatrixProjectionMethod
 
struct  CheckNoChangeInInsertionOrder
 
class  ComponentGroupsVisitor
 
class  CompositeLinearSystem
 
class  ConstantLocalMappedMatrix
 
class  ConstantLocalMatrix
 
class  ConstantSparsityPatternSystem
 
class  ConstantSparsityProjectionMethod
 
struct  CreateMatrixDispatcher
 
class  DispatchFromGlobalVectorToLocalVectorVisitor
 
struct  GroupOfComponentsAssociatedToAPairOfMechanicalStates
 
struct  LinearSystemData
 
struct  LocalMatrixMaps
 
struct  MappedMassMatrixObserver
 
class  MappingJacobians
 
class  MatrixFreeSystem
 
class  MatrixProjectionMethod
 
class  SparsityPatternLocalMappedMatrix
 
class  SparsityPatternLocalMatrix
 
class  TypedMatrixLinearSystem
 
class  GlobalSystemMatrixExporter
 Exports the global system matrix of the current context into a file. The exporter allows to write the file under several formats. More...
 

Typedefs

typedef sofa::core::matrixaccumulator::CompositeIndexVerificationStrategy< core::matrixaccumulator::RangeVerification, CheckNoChangeInInsertionOrderStrategyCheckerType
 
typedef sofa::linearalgebra::CompressedRowSparseMatrix< TReal > LocalMappedMatrixType
 

Functions

void registerMatrixLinearSystemBTDMatrix (sofa::core::ObjectFactory *factory)
 
void registerTypedMatrixLinearSystemBTDMatrix (sofa::core::ObjectFactory *factory)
 
void registerMatrixFreeSystemGraphScattered (sofa::core::ObjectFactory *factory)
 
void registerCompositeLinearSystem (sofa::core::ObjectFactory *factory)
 
void registerConstantSparsityPatternSystem (sofa::core::ObjectFactory *factory)
 
void registerConstantSparsityProjectionMethod (sofa::core::ObjectFactory *factory)
 
void registerMatrixLinearSystem (sofa::core::ObjectFactory *factory)
 
void registerMatrixProjectionMethod (sofa::core::ObjectFactory *factory)
 
void init ()
 
SOFA_COMPONENT_LINEARSYSTEM_API void initExternalModule ()
 
SOFA_COMPONENT_LINEARSYSTEM_API const char * getModuleName ()
 
SOFA_COMPONENT_LINEARSYSTEM_API const char * getModuleVersion ()
 
SOFA_COMPONENT_LINEARSYSTEM_API const char * getModuleLicense ()
 
SOFA_COMPONENT_LINEARSYSTEM_API const char * getModuleDescription ()
 
SOFA_COMPONENT_LINEARSYSTEM_API void registerObjects (sofa::core::ObjectFactory *factory)
 
std::ostream & operator<< (std::ostream &os, const GroupOfComponentsAssociatedToAPairOfMechanicalStates &group)
 
sofa::type::vector< core::behavior::BaseMechanicalState * > retrieveAssociatedMechanicalState (const sofa::core::behavior::StateAccessor *component)
 
sofa::type::vector< core::behavior::BaseMechanicalState * > retrieveAssociatedMechanicalState (BaseMapping *component)
 
auto generatePairs (const sofa::type::vector< core::behavior::BaseMechanicalState * > &mstates) -> sofa::type::vector< sofa::type::fixed_array< core::behavior::BaseMechanicalState *, 2 > >
 
void configureCreatedMatrixComponent (typename BaseAssemblingMatrixAccumulator< c >::SPtr mat, typename BaseAssemblingMatrixAccumulator< c >::ComponentType *object, const SReal factor, bool printLog)
 
void computeProjection (const Eigen::Map< Eigen::SparseMatrix< BlockType, Eigen::RowMajor > > KMap, const sofa::type::fixed_array< std::shared_ptr< linearalgebra::CompressedRowSparseMatrix< BlockType >>, 2 > J, Eigen::SparseMatrix< BlockType, Eigen::RowMajor > &JT_K_J)
 
void addToGlobalMatrix (linearalgebra::BaseMatrix *globalMatrix, Eigen::SparseMatrix< BlockType, Eigen::RowMajor > JT_K_J, const type::Vec2u positionInGlobalMatrix)
 
void registerGlobalSystemMatrixExporter (sofa::core::ObjectFactory *factory)
 

Variables

template struct SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API LinearSystemData< GraphScatteredMatrix, GraphScatteredVector >
 
template class SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API MatrixFreeSystem< GraphScatteredMatrix, GraphScatteredVector >
 
template class SOFA_COMPONENT_LINEARSOLVER_ITERATIVE_API TypedMatrixLinearSystem< GraphScatteredMatrix, GraphScatteredVector >
 
template class SOFA_COMPONENT_LINEARSYSTEM_API CompositeLinearSystem< FullMatrix< SReal >, FullVector< SReal > >
 
template class SOFA_COMPONENT_LINEARSYSTEM_API CompositeLinearSystem< SparseMatrix< SReal >, FullVector< SReal > >
 
template class SOFA_COMPONENT_LINEARSYSTEM_API CompositeLinearSystem< CompressedRowSparseMatrix< SReal >, FullVector< SReal > >
 
template class SOFA_COMPONENT_LINEARSYSTEM_API CompositeLinearSystem< DiagonalMatrix< SReal >, FullVector< SReal > >
 
template class SOFA_COMPONENT_LINEARSYSTEM_API CompositeLinearSystem< BlockDiagonalMatrix< 3, SReal >, FullVector< SReal > >
 
template class SOFA_COMPONENT_LINEARSYSTEM_API CompositeLinearSystem< RotationMatrix< SReal >, FullVector< SReal > >
 
template struct SOFA_COMPONENT_LINEARSYSTEM_API MappedMassMatrixObserver< SReal >
 
template class SOFA_COMPONENT_LINEARSYSTEM_API MatrixLinearSystem< FullMatrix< SReal >, FullVector< SReal > >
 
template class SOFA_COMPONENT_LINEARSYSTEM_API MatrixLinearSystem< SparseMatrix< SReal >, FullVector< SReal > >
 
template class SOFA_COMPONENT_LINEARSYSTEM_API MatrixLinearSystem< CompressedRowSparseMatrix< SReal >, FullVector< SReal > >
 
template class SOFA_COMPONENT_LINEARSYSTEM_API MatrixLinearSystem< DiagonalMatrix< SReal >, FullVector< SReal > >
 
template class SOFA_COMPONENT_LINEARSYSTEM_API MatrixLinearSystem< BlockDiagonalMatrix< 3, SReal >, FullVector< SReal > >
 
template class SOFA_COMPONENT_LINEARSYSTEM_API MatrixLinearSystem< RotationMatrix< SReal >, FullVector< SReal > >
 
template class SOFA_COMPONENT_LINEARSYSTEM_API TypedMatrixLinearSystem< FullMatrix< double >, FullVector< double > >
 
template class SOFA_COMPONENT_LINEARSYSTEM_API TypedMatrixLinearSystem< FullMatrix< float >, FullVector< float > >
 
template class SOFA_COMPONENT_LINEARSYSTEM_API TypedMatrixLinearSystem< SparseMatrix< double >, FullVector< double > >
 
template class SOFA_COMPONENT_LINEARSYSTEM_API TypedMatrixLinearSystem< SparseMatrix< float >, FullVector< float > >
 
template class SOFA_COMPONENT_LINEARSYSTEM_API TypedMatrixLinearSystem< CompressedRowSparseMatrix< double >, FullVector< double > >
 
template class SOFA_COMPONENT_LINEARSYSTEM_API TypedMatrixLinearSystem< CompressedRowSparseMatrix< float >, FullVector< float > >
 
template class SOFA_COMPONENT_LINEARSYSTEM_API TypedMatrixLinearSystem< DiagonalMatrix< double >, FullVector< double > >
 
template class SOFA_COMPONENT_LINEARSYSTEM_API TypedMatrixLinearSystem< DiagonalMatrix< float >, FullVector< float > >
 
template class SOFA_COMPONENT_LINEARSYSTEM_API TypedMatrixLinearSystem< BlockDiagonalMatrix< 3, double >, FullVector< double > >
 
template class SOFA_COMPONENT_LINEARSYSTEM_API TypedMatrixLinearSystem< BlockDiagonalMatrix< 3, float >, FullVector< float > >
 
template class SOFA_COMPONENT_LINEARSYSTEM_API TypedMatrixLinearSystem< RotationMatrix< double >, FullVector< double > >
 
template class SOFA_COMPONENT_LINEARSYSTEM_API TypedMatrixLinearSystem< RotationMatrix< float >, FullVector< float > >
 

Function Documentation

◆ registerGlobalSystemMatrixExporter()

void sofa::component::linearsystem::registerGlobalSystemMatrixExporter ( sofa::core::ObjectFactory factory)