sofa::gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > Class Template Reference

#include <CudaTypes.h>


Data Structures

class  SparseData

Public Types

typedef TCoord Coord
typedef TDeriv Deriv
typedef TReal Real
typedef CudaVector< Coord > VecCoord
typedef CudaVector< Deriv > VecDeriv
typedef CudaVector< Real > VecReal
typedef SparseData< Coord > SparseCoord
typedef SparseData< Deriv > SparseDeriv
typedef CudaVector< SparseCoord > SparseVecCoord
typedef CudaVector< SparseDeriv > SparseVecDeriv
typedef sofa::helper::vector
< SparseVecDeriv > 
VecConst
 All the Constraints applied to a state Vector.

Static Public Member Functions

template<class C , typename T >
static void set (C &c, T x, T y, T z)
template<class C , typename T >
static void get (T &x, T &y, T &z, const C &c)
template<class C , typename T >
static void add (C &c, T x, T y, T z)
template<class C >
static C interpolate (const helper::vector< C > &ancestors, const helper::vector< Real > &coefs)
static const char * Name ()


Detailed Description

template<class TCoord, class TDeriv, class TReal = typename TCoord::value_type>
class sofa::gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal >

Definition at line 654 of file CudaTypes.h.


Member Typedef Documentation

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
typedef TCoord sofa::gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal >::Coord

Definition at line 657 of file CudaTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
typedef TDeriv sofa::gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal >::Deriv

Definition at line 658 of file CudaTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
typedef TReal sofa::gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal >::Real

Definition at line 659 of file CudaTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
typedef SparseData<Coord> sofa::gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal >::SparseCoord

Definition at line 673 of file CudaTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
typedef SparseData<Deriv> sofa::gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal >::SparseDeriv

Definition at line 674 of file CudaTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
typedef CudaVector<SparseCoord> sofa::gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal >::SparseVecCoord

Definition at line 676 of file CudaTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
typedef CudaVector<SparseDeriv> sofa::gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal >::SparseVecDeriv

Definition at line 677 of file CudaTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
typedef sofa::helper::vector<SparseVecDeriv> sofa::gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal >::VecConst

All the Constraints applied to a state Vector.

Definition at line 680 of file CudaTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
typedef CudaVector<Coord> sofa::gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal >::VecCoord

Definition at line 660 of file CudaTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
typedef CudaVector<Deriv> sofa::gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal >::VecDeriv

Definition at line 661 of file CudaTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
typedef CudaVector<Real> sofa::gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal >::VecReal

Definition at line 662 of file CudaTypes.h.


Member Function Documentation

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
template<class C , typename T >
static void sofa::gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal >::add ( C &  c,
T  x,
T  y,
T  z 
) [inline, static]

Definition at line 702 of file CudaTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
template<class C , typename T >
static void sofa::gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal >::get ( T &  x,
T &  y,
T &  z,
const C &  c 
) [inline, static]

Definition at line 694 of file CudaTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
template<class C >
static C sofa::gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal >::interpolate ( const helper::vector< C > &  ancestors,
const helper::vector< Real > &  coefs 
) [inline, static]

Definition at line 713 of file CudaTypes.h.

const char * sofa::gpu::cuda::CudaVec3f1Types::Name (  )  [inline, static]

Definition at line 926 of file CudaTypes.h.

template<class TCoord , class TDeriv , class TReal = typename TCoord::value_type>
template<class C , typename T >
static void sofa::gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal >::set ( C &  c,
T  x,
T  y,
T  z 
) [inline, static]

Definition at line 683 of file CudaTypes.h.


The documentation for this class was generated from the following file:

Generated on Sun Nov 23 04:24:06 2008 for Sofa by  doxygen 1.5.7.1