SOFA plugin: SofaOpenCL  master
Open source framework for multi-physics simuation
sofa::component::projectiveconstraintset::FixedConstraintInternalData< gpu::opencl::OpenCLVectorTypes< TCoord, TDeriv, TReal > > Class Template Reference

#include <OpenCLFixedConstraint.h>

Public Attributes

int minIndex
 
int maxIndex
 
gpu::opencl::OpenCLVector< int > OpenCLIndices
 

Static Public Member Functions

static void init (Main *m)
 
static void addConstraint (Main *m, unsigned int index)
 
static void removeConstraint (Main *m, unsigned int index)
 
static void projectResponse (Main *m, VecDeriv &dx)
 

Attribute details

◆ maxIndex

template<class TCoord , class TDeriv , class TReal >
int sofa::component::projectiveconstraintset::FixedConstraintInternalData< gpu::opencl::OpenCLVectorTypes< TCoord, TDeriv, TReal > >::maxIndex

◆ minIndex

template<class TCoord , class TDeriv , class TReal >
int sofa::component::projectiveconstraintset::FixedConstraintInternalData< gpu::opencl::OpenCLVectorTypes< TCoord, TDeriv, TReal > >::minIndex

◆ OpenCLIndices

template<class TCoord , class TDeriv , class TReal >
gpu::opencl::OpenCLVector<int> sofa::component::projectiveconstraintset::FixedConstraintInternalData< gpu::opencl::OpenCLVectorTypes< TCoord, TDeriv, TReal > >::OpenCLIndices

Function details

◆ addConstraint()

template<class TCoord , class TDeriv , class TReal >
void sofa::component::projectiveconstraintset::FixedConstraintInternalData< gpu::opencl::OpenCLVectorTypes< TCoord, TDeriv, TReal > >::addConstraint ( Main m,
unsigned int  index 
)
static

◆ init()

template<class TCoord , class TDeriv , class TReal >
void sofa::component::projectiveconstraintset::FixedConstraintInternalData< gpu::opencl::OpenCLVectorTypes< TCoord, TDeriv, TReal > >::init ( Main m)
static

◆ projectResponse()

template<class TCoord , class TDeriv , class TReal >
static void sofa::component::projectiveconstraintset::FixedConstraintInternalData< gpu::opencl::OpenCLVectorTypes< TCoord, TDeriv, TReal > >::projectResponse ( Main m,
VecDeriv dx 
)
static

◆ removeConstraint()

template<class TCoord , class TDeriv , class TReal >
void sofa::component::projectiveconstraintset::FixedConstraintInternalData< gpu::opencl::OpenCLVectorTypes< TCoord, TDeriv, TReal > >::removeConstraint ( Main m,
unsigned int  index 
)
static