SOFA plugin: SofaOpenCL  master
Open source framework for multi-physics simuation
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
sofa::defaulttype Namespace Reference

Classes

class  MapMapSparseMatrix
 
class  SolidTypes
 
class  StdVectorTypes
 
class  AbstractTypeInfo
 
struct  BoolTypeInfo
 
struct  BoundingBoxTypeInfo
 
struct  DataTypeInfo
 
struct  DataTypeInfo< bool >
 
struct  DataTypeInfo< char >
 
struct  DataTypeInfo< double >
 
struct  DataTypeInfo< float >
 
struct  DataTypeInfo< int >
 
struct  DataTypeInfo< long >
 
struct  DataTypeInfo< long long >
 
struct  DataTypeInfo< short >
 
struct  DataTypeInfo< sofa::core::objectmodel::Tag >
 
struct  DataTypeInfo< sofa::core::objectmodel::TagSet >
 
struct  DataTypeInfo< sofa::defaulttype::RigidCoord< N, real > >
 
struct  DataTypeInfo< sofa::defaulttype::RigidDeriv< N, real > >
 
struct  DataTypeInfo< sofa::defaulttype::RigidMass< N, real > >
 
struct  DataTypeInfo< sofa::defaulttype::StdRigidTypes< N, real > >
 
struct  DataTypeInfo< sofa::topology::Edge >
 
struct  DataTypeInfo< sofa::topology::Hexahedron >
 
struct  DataTypeInfo< sofa::topology::Pentahedron >
 
struct  DataTypeInfo< sofa::topology::Pyramid >
 
struct  DataTypeInfo< sofa::topology::Quad >
 
struct  DataTypeInfo< sofa::topology::Tetrahedron >
 
struct  DataTypeInfo< sofa::topology::Triangle >
 
struct  DataTypeInfo< sofa::type::fixed_array< T, N > >
 
struct  DataTypeInfo< sofa::type::Mat< L, C, real > >
 
struct  DataTypeInfo< sofa::type::Quat< T > >
 
class  DataTypeInfo< sofa::type::RGBAColor >
 
struct  DataTypeInfo< sofa::type::Vec< N, real > >
 
struct  DataTypeInfo< sofa::type::VecNoInit< N, real > >
 
struct  DataTypeInfo< sofa::type::vector< bool, Alloc > >
 
struct  DataTypeInfo< sofa::type::vector< std::string, Alloc > >
 
struct  DataTypeInfo< sofa::type::vector< T, Alloc > >
 
struct  DataTypeInfo< std::set< T, Compare, Alloc > >
 
struct  DataTypeInfo< std::string >
 
struct  DataTypeInfo< T, std::enable_if_t< std::is_base_of_v< helper::BaseSelectableItem, T > > >
 
struct  DataTypeInfo< type::BoundingBox >
 
struct  DataTypeInfo< unsigned char >
 
struct  DataTypeInfo< unsigned int >
 
struct  DataTypeInfo< unsigned long >
 
struct  DataTypeInfo< unsigned long long >
 
struct  DataTypeInfo< unsigned short >
 
class  DataTypeInfoDynamicWrapper
 
class  DataTypeName
 
struct  DefaultDataTypeInfo
 
class  EigenSparseToMapMapSparseMatrix
 
class  EigenSparseToMapMapSparseMatrix< sofa::defaulttype::RigidDeriv< N, Real > >
 
class  EigenSparseToMapMapSparseMatrix< sofa::type::Vec< N, Real > >
 
struct  EigenSparseToMapMapSparseMatrixVec
 
struct  FixedArrayTypeInfo
 
class  HasGetTypeName
 
struct  IncompleteTypeInfo
 
struct  IntegerTypeInfo
 
class  MapMapSparseMatrixToEigenSparse
 
class  MapMapSparseMatrixToEigenSparse< sofa::defaulttype::RigidDeriv< N, Real > >
 
class  MapMapSparseMatrixToEigenSparse< sofa::type::Vec< N, Real > >
 
class  MapMapSparseMatrixToEigenSparseVec
 
class  NameOnlyTypeInfo
 
class  NoTypeInfo
 
class  RegisterTemplateAlias
 
class  RigidCoord
 
class  RigidCoord< 2, real >
 
class  RigidCoord< 3, real >
 
class  RigidDeriv
 
class  RigidDeriv< 2, real >
 
class  RigidDeriv< 3, real >
 
class  RigidMass
 
class  RigidMass< 2, real >
 
class  RigidMass< 3, real >
 
struct  ScalarTypeInfo
 
struct  SelectableItemDataTypeInfo
 
struct  SetTypeInfo
 
class  StdRigidTypes
 
class  StdRigidTypes< 2, real >
 
class  StdRigidTypes< 3, real >
 
class  TemplateAliases
 
struct  TextTypeInfo
 
class  TypeInfoId
 
class  TypeInfoRegistry
 
class  TypeInfoRegistryTools
 
struct  VectorTypeInfo
 
struct  DataTypeInfo< sofa::gpu::opencl::OpenCLVector< T > >
 
struct  DataTypeInfo< sofa::gpu::opencl::Vec3r1< real > >
 

Typedefs

typedef DataTypeInfoDynamicWrapper< DataTypeInfo< T > > VirtualTypeInfo
 
typedef StdRigidTypes< 2, double > Rigid2dTypes
 
typedef RigidMass< 2, double > Rigid2dMass
 
typedef StdRigidTypes< 2, float > Rigid2fTypes
 
typedef RigidMass< 2, float > Rigid2fMass
 
typedef StdRigidTypes< 2, SReal > Rigid2Types
 
typedef RigidMass< 2, SReal > Rigid2Mass
 
typedef RigidMass< 3, double > Rigid3dMass
 
typedef RigidMass< 3, float > Rigid3fMass
 
typedef StdRigidTypes< 3, SReal > Rigid3Types
 
typedef RigidMass< 3, SReal > Rigid3Mass
 
typedef StdVectorTypes< sofa::type::Vec3d, sofa::type::Vec3d, double > Vec3dTypes
 
typedef StdVectorTypes< sofa::type::Vec2d, sofa::type::Vec2d, double > Vec2dTypes
 
typedef StdVectorTypes< sofa::type::Vec1d, sofa::type::Vec1d, double > Vec1dTypes
 
typedef StdVectorTypes< sofa::type::Vec6d, sofa::type::Vec6d, double > Vec6dTypes
 
typedef StdVectorTypes< sofa::type::Vec3f, sofa::type::Vec3f, float > Vec3fTypes
 
typedef StdVectorTypes< sofa::type::Vec2f, sofa::type::Vec2f, float > Vec2fTypes
 
typedef StdVectorTypes< sofa::type::Vec1f, sofa::type::Vec1f, float > Vec1fTypes
 
typedef StdVectorTypes< sofa::type::Vec6f, sofa::type::Vec6f, float > Vec6fTypes
 
typedef std::function< bool(const std::string &, sofa::linearalgebra::BaseMatrix *, int precision)> MatrixExportFunction
 
typedef StdRigidTypes< 3, double > Rigid3dTypes
 
typedef StdRigidTypes< 3, float > Rigid3fTypes
 
typedef StdRigidTypes< 3, SReal > RigidTypes
 
typedef std::map< std::string, TemplateAliasTemplateAliasesMap
 
typedef TemplateAliasesMap::const_iterator TemplateAliasesMapIterator
 
typedef std::pair< std::string, bool > TemplateAlias
 
typedef StdVectorTypes< type::Vec6, type::Vec6, type::Vec6::value_type > Vec6Types
 
typedef StdVectorTypes< type::Vec3, type::Vec3, type::Vec3::value_type > Vec3Types
 
typedef StdVectorTypes< type::Vec2, type::Vec2, type::Vec2::value_type > Vec2Types
 
typedef StdVectorTypes< type::Vec1, type::Vec1, type::Vec1::value_type > Vec1Types
 

Enumerations

enum class  TypeInfoType { MISSING , NAMEONLY , COMPLETE }
 

Functions

void resetDataTypeVec (Vec &vec)
 
void resetVecTypeVec (vector< Vec< N, ValueType > > &vec)
 
void resetDataTypeVec< vector< Vec< 6, float > > > (vector< Vec< 6, float > > &vec)
 
void resetDataTypeVec< vector< Vec< 6, double > > > (vector< Vec< 6, double > > &vec)
 
void resetDataTypeVec< vector< Vec< 3, float > > > (vector< Vec< 3, float > > &vec)
 
void resetDataTypeVec< vector< Vec< 3, double > > > (vector< Vec< 3, double > > &vec)
 
void resetDataTypeVec< vector< Vec< 2, float > > > (vector< Vec< 2, float > > &vec)
 
void resetDataTypeVec< vector< Vec< 2, double > > > (vector< Vec< 2, double > > &vec)
 
void resetDataTypeVec< vector< Vec< 1, float > > > (vector< Vec< 1, float > > &vec)
 
void resetDataTypeVec< vector< Vec< 1, double > > > (vector< Vec< 1, double > > &vec)
 
SOFA_DEFAULTTYPE_API void init ()
 
SOFA_DEFAULTTYPE_API bool isInitialized ()
 
SOFA_DEFAULTTYPE_API void cleanup ()
 
SOFA_DEFAULTTYPE_API bool isCleanedUp ()
 
VecDeriv::Real SparseMatrixVecDerivMult (const MatrixRow &row, const VecDeriv &vec)
 
void addMultTransposeEigen (MapMapSparseMatrix< LhsDeriv > &lhs, const Eigen::SparseMatrix< Real, Eigen::RowMajor > &jacobian, const MapMapSparseMatrix< RhsDeriv > &rhs)
 
bool writeMatrixTxt (const std::string &filename, sofa::linearalgebra::BaseMatrix *matrix, int precision)
 
bool writeMatrixCsv (const std::string &filename, sofa::linearalgebra::BaseMatrix *matrix, int precision)
 
constexpr RigidDeriv< 3, real > operator* (RigidDeriv< 3, real > r, real2 a)
 
constexpr RigidDeriv< 3, real > operator/ (RigidDeriv< 3, real > r, real2 a)
 
constexpr RigidDeriv< N, T >::Pos & getLinear (RigidDeriv< N, T > &v)
 
constexpr const RigidDeriv< N, T >::Pos & getLinear (const RigidDeriv< N, T > &v)
 
constexpr RigidDeriv< N, T >::Rot & getAngular (RigidDeriv< N, T > &v)
 
constexpr const RigidDeriv< N, T >::Rot & getAngular (const RigidDeriv< N, T > &v)
 
constexpr RigidDeriv< N, T >::Pos & getVCenter (RigidDeriv< N, T > &v)
 
constexpr const RigidDeriv< N, T >::Pos & getVCenter (const RigidDeriv< N, T > &v)
 
constexpr RigidDeriv< N, T >::Rot & getVOrientation (RigidDeriv< N, T > &v)
 
constexpr const RigidDeriv< N, T >::Rot & getVOrientation (const RigidDeriv< N, T > &v)
 
constexpr type::Vec< 3, T > velocityAtRotatedPoint (const RigidDeriv< 3, R > &v, const type::Vec< 3, T > &p)
 
constexpr RigidDeriv< 3, R > velocityAtRotatedPoint (const RigidDeriv< 3, R > &v, const RigidCoord< 3, T > &p)
 
constexpr RigidDeriv< 2, real > operator* (RigidDeriv< 2, real > r, real2 a)
 
constexpr RigidDeriv< 2, real > operator/ (RigidDeriv< 2, real > r, real2 a)
 
constexpr type::Vec< 2, R > velocityAtRotatedPoint (const RigidDeriv< 2, T > &v, const type::Vec< 2, R > &p)
 
constexpr RigidDeriv< 2, T > velocityAtRotatedPoint (const RigidDeriv< 2, T > &v, const RigidCoord< 2, R > &p)
 
constexpr RigidDeriv< 3, real > operator* (const RigidDeriv< 3, real > &d, const RigidMass< 3, real > &m)
 
constexpr RigidDeriv< 3, real > operator* (const RigidMass< 3, real > &m, const RigidDeriv< 3, real > &d)
 
constexpr RigidDeriv< 3, real > operator/ (const RigidDeriv< 3, real > &d, const RigidMass< 3, real > &m)
 
constexpr RigidDeriv< 2, real > operator* (const RigidDeriv< 2, real > &d, const RigidMass< 2, real > &m)
 
constexpr RigidDeriv< 2, real > operator/ (const RigidDeriv< 2, real > &d, const RigidMass< 2, real > &m)
 
const Vec< 3, T > getVCenter (const Vec< 6, T > &v)
 
const Vec< 3, T > getVOrientation (const Vec< 6, T > &v)
 
TemplateAliasesMapgetTemplateAliasesMap ()
 
constexpr bool isDouble ()
 
constexpr bool isDouble< double > ()
 
constexpr bool isSRealDouble ()
 
constexpr bool isSRealFloat ()
 

Variables

std::unordered_map< std::string, MatrixExportFunctionmatrixExporterMap
 
sofa::helper::OptionsGroup matrixExporterOptionsGroup
 
template class SOFA_DEFAULTTYPE_API SolidTypes< double >
 
template class SOFA_DEFAULTTYPE_API SolidTypes< float >