SOFA plugin: SofaOpenCL  master
Open source framework for multi-physics simuation
sofa::gpu::opencl::OpenCLRigidTypes< 3, real > Class Template Reference

#include <OpenCLTypes.h>

Static Public Member Functions

static const CPosgetCPos (const Coord &c)
 
static void setCPos (Coord &c, const CPos &v)
 
static const CRotgetCRot (const Coord &c)
 
static void setCRot (Coord &c, const CRot &v)
 
static const DPosgetDPos (const Deriv &d)
 
static void setDPos (Deriv &d, const DPos &v)
 
static const DRotgetDRot (const Deriv &d)
 
static void setDRot (Deriv &d, const DRot &v)
 
template<typename T >
static void set (Coord &r, T x, T y, T z)
 
template<typename T >
static void get (T &x, T &y, T &z, const Coord &r)
 
template<typename T >
static void add (Coord &r, T x, T y, T z)
 
template<typename T >
static void set (Deriv &r, T x, T y, T z)
 
template<typename T >
static void get (T &x, T &y, T &z, const Deriv &r)
 
template<typename T >
static void add (Deriv &r, T x, T y, T z)
 
static Coord interpolate (const type::vector< Coord > &ancestors, const type::vector< Real > &coefs)
 
static Deriv interpolate (const type::vector< Deriv > &ancestors, const type::vector< Real > &coefs)
 
static const char * Name ()
 

Function details

◆ add() [1/2]

template<typename real >
template<typename T >
static void sofa::gpu::opencl::OpenCLRigidTypes< 3, real >::add ( Coord r,
x,
y,
z 
)
inlinestatic

◆ add() [2/2]

template<typename real >
template<typename T >
static void sofa::gpu::opencl::OpenCLRigidTypes< 3, real >::add ( Deriv r,
x,
y,
z 
)
inlinestatic

◆ get() [1/2]

template<typename real >
template<typename T >
static void sofa::gpu::opencl::OpenCLRigidTypes< 3, real >::get ( T &  x,
T &  y,
T &  z,
const Coord r 
)
inlinestatic

◆ get() [2/2]

template<typename real >
template<typename T >
static void sofa::gpu::opencl::OpenCLRigidTypes< 3, real >::get ( T &  x,
T &  y,
T &  z,
const Deriv r 
)
inlinestatic

◆ getCPos()

template<typename real >
static const CPos& sofa::gpu::opencl::OpenCLRigidTypes< 3, real >::getCPos ( const Coord c)
inlinestatic

◆ getCRot()

template<typename real >
static const CRot& sofa::gpu::opencl::OpenCLRigidTypes< 3, real >::getCRot ( const Coord c)
inlinestatic

◆ getDPos()

template<typename real >
static const DPos& sofa::gpu::opencl::OpenCLRigidTypes< 3, real >::getDPos ( const Deriv d)
inlinestatic

◆ getDRot()

template<typename real >
static const DRot& sofa::gpu::opencl::OpenCLRigidTypes< 3, real >::getDRot ( const Deriv d)
inlinestatic

◆ interpolate() [1/2]

template<typename real >
static Coord sofa::gpu::opencl::OpenCLRigidTypes< 3, real >::interpolate ( const type::vector< Coord > &  ancestors,
const type::vector< Real > &  coefs 
)
inlinestatic

◆ interpolate() [2/2]

template<typename real >
static Deriv sofa::gpu::opencl::OpenCLRigidTypes< 3, real >::interpolate ( const type::vector< Deriv > &  ancestors,
const type::vector< Real > &  coefs 
)
inlinestatic

◆ Name()

template<typename real >
static const char* sofa::gpu::opencl::OpenCLRigidTypes< 3, real >::Name ( )
static

◆ set() [1/2]

template<typename real >
template<typename T >
static void sofa::gpu::opencl::OpenCLRigidTypes< 3, real >::set ( Coord r,
x,
y,
z 
)
inlinestatic

◆ set() [2/2]

template<typename real >
template<typename T >
static void sofa::gpu::opencl::OpenCLRigidTypes< 3, real >::set ( Deriv r,
x,
y,
z 
)
inlinestatic

◆ setCPos()

template<typename real >
static void sofa::gpu::opencl::OpenCLRigidTypes< 3, real >::setCPos ( Coord c,
const CPos v 
)
inlinestatic

◆ setCRot()

template<typename real >
static void sofa::gpu::opencl::OpenCLRigidTypes< 3, real >::setCRot ( Coord c,
const CRot v 
)
inlinestatic

◆ setDPos()

template<typename real >
static void sofa::gpu::opencl::OpenCLRigidTypes< 3, real >::setDPos ( Deriv d,
const DPos v 
)
inlinestatic

◆ setDRot()

template<typename real >
static void sofa::gpu::opencl::OpenCLRigidTypes< 3, real >::setDRot ( Deriv d,
const DRot v 
)
inlinestatic

Enum details

◆ anonymous enum

template<typename real >
anonymous enum
Enumerator
spatial_dimensions 

◆ anonymous enum

template<typename real >
anonymous enum
Enumerator
coord_total_size 

◆ anonymous enum

template<typename real >
anonymous enum
Enumerator
deriv_total_size