SOFA API  8225a6f5
Open source framework for multi-physics simuation
sofa::component::mapping::mappedmatrix Namespace Reference

Classes

class  MappingGeometricStiffnessForceField
 
class  MechanicalMatrixMapper
 This component allows to map mechanical matrices (Stiffness, Mass) through a mapping. More...
 

Functions

SOFA_EXPORT_DYNAMIC_LIBRARY void initExternalModule ()
 
const SOFA_EXPORT_DYNAMIC_LIBRARY char * getModuleName ()
 
const SOFA_EXPORT_DYNAMIC_LIBRARY char * getModuleVersion ()
 
void init ()
 
template<class T >
void copyKToEigenFormat (CompressedRowSparseMatrix< T > *K, Eigen::SparseMatrix< double, Eigen::ColMajor > &Keig)
 

Variables

int GeometricStiffnessForceFieldClass
 
int MechanicalMatrixMapperClass
 
template class SOFA_COMPONENT_MAPPING_MAPPEDMATRIX_API MechanicalMatrixMapper< Rigid3Types, Rigid3Types >
 
template class SOFA_COMPONENT_MAPPING_MAPPEDMATRIX_API MechanicalMatrixMapper< Vec3Types, Rigid3Types >
 
template class SOFA_COMPONENT_MAPPING_MAPPEDMATRIX_API MechanicalMatrixMapper< Vec3Types, Vec3Types >
 
template class SOFA_COMPONENT_MAPPING_MAPPEDMATRIX_API MechanicalMatrixMapper< Vec1Types, Rigid3Types >
 
template class SOFA_COMPONENT_MAPPING_MAPPEDMATRIX_API MechanicalMatrixMapper< Vec1Types, Vec3Types >
 
template class SOFA_COMPONENT_MAPPING_MAPPEDMATRIX_API MechanicalMatrixMapper< Vec1Types, Vec1Types >
 
template class SOFA_COMPONENT_MAPPING_MAPPEDMATRIX_API MechanicalMatrixMapper< Rigid3Types, Vec1Types >
 

Function Documentation

◆ copyKToEigenFormat()

template<class T >
void sofa::component::mapping::mappedmatrix::copyKToEigenFormat ( CompressedRowSparseMatrix< T > *  K,
Eigen::SparseMatrix< double, Eigen::ColMajor > &  Keig 
)

◆ getModuleName()

const char * sofa::component::mapping::mappedmatrix::getModuleName ( )

◆ getModuleVersion()

const char * sofa::component::mapping::mappedmatrix::getModuleVersion ( )

◆ init()

SOFA_COMPONENT_MAPPING_MAPPEDMATRIX_API void sofa::component::mapping::mappedmatrix::init ( )

◆ initExternalModule()

void sofa::component::mapping::mappedmatrix::initExternalModule ( )

Variable Documentation

◆ GeometricStiffnessForceFieldClass

int sofa::component::mapping::mappedmatrix::GeometricStiffnessForceFieldClass
Initial value:
= sofa::core::RegisterObject("A ForceField that assembles the geometric stiffness stored in a Mapping")
.add<MappingGeometricStiffnessForceField<sofa::defaulttype::Vec3Types> >()
.add<MappingGeometricStiffnessForceField<sofa::defaulttype::Rigid3Types> >()

◆ MechanicalMatrixMapper< Rigid3Types, Rigid3Types >

template class SOFA_COMPONENT_MAPPING_MAPPEDMATRIX_API sofa::component::mapping::mappedmatrix::MechanicalMatrixMapper< Rigid3Types, Rigid3Types >

◆ MechanicalMatrixMapper< Rigid3Types, Vec1Types >

template class SOFA_COMPONENT_MAPPING_MAPPEDMATRIX_API sofa::component::mapping::mappedmatrix::MechanicalMatrixMapper< Rigid3Types, Vec1Types >

◆ MechanicalMatrixMapper< Vec1Types, Rigid3Types >

template class SOFA_COMPONENT_MAPPING_MAPPEDMATRIX_API sofa::component::mapping::mappedmatrix::MechanicalMatrixMapper< Vec1Types, Rigid3Types >

◆ MechanicalMatrixMapper< Vec1Types, Vec1Types >

template class SOFA_COMPONENT_MAPPING_MAPPEDMATRIX_API sofa::component::mapping::mappedmatrix::MechanicalMatrixMapper< Vec1Types, Vec1Types >

◆ MechanicalMatrixMapper< Vec1Types, Vec3Types >

template class SOFA_COMPONENT_MAPPING_MAPPEDMATRIX_API sofa::component::mapping::mappedmatrix::MechanicalMatrixMapper< Vec1Types, Vec3Types >

◆ MechanicalMatrixMapper< Vec3Types, Rigid3Types >

template class SOFA_COMPONENT_MAPPING_MAPPEDMATRIX_API sofa::component::mapping::mappedmatrix::MechanicalMatrixMapper< Vec3Types, Rigid3Types >

◆ MechanicalMatrixMapper< Vec3Types, Vec3Types >

template class SOFA_COMPONENT_MAPPING_MAPPEDMATRIX_API sofa::component::mapping::mappedmatrix::MechanicalMatrixMapper< Vec3Types, Vec3Types >

◆ MechanicalMatrixMapperClass

int sofa::component::mapping::mappedmatrix::MechanicalMatrixMapperClass
Initial value:
= core::RegisterObject("This component allows to map the stiffness (and mass) matrix through a mapping.")
.add< MechanicalMatrixMapper<Rigid3Types, Rigid3Types> >()
.add< MechanicalMatrixMapper<Vec3Types, Rigid3Types> >()
.add< MechanicalMatrixMapper<Vec3Types, Vec3Types> >()
.add< MechanicalMatrixMapper<Vec1Types, Rigid3Types> >()
.add< MechanicalMatrixMapper<Vec1Types, Vec3Types> >()
.add< MechanicalMatrixMapper<Vec1Types, Vec1Types> >()
.add< MechanicalMatrixMapper<Rigid3Types, Vec1Types> >(true)
sofa::core::RegisterObject::add
RegisterObject & add(bool defaultTemplate=false)
Definition: ObjectFactory.h:370
sofa::core::RegisterObject
Helper class used to register a class in the ObjectFactory.
Definition: ObjectFactory.h:338