#include <OpenCLSpringForceField.h>
|  | 
|  | GPUSpringSet () | 
|  | 
| void | init (int v0, int nbv, int nbsperv) | 
|  | 
| void | set (int vertex, int spring, int index, float initpos, float ks, float kd) | 
|  | 
◆ dfdx
template<class TCoord , class TDeriv , class TReal > 
      
 
only used for StiffSpringForceField 
 
 
◆ nbSpringPerVertex
template<class TCoord , class TDeriv , class TReal > 
      
        
          | int sofa::component::interactionforcefield::SpringForceFieldInternalData< gpu::opencl::OpenCLVectorTypes< TCoord, TDeriv, TReal > >::GPUSpringSet::nbSpringPerVertex | 
      
 
max number of springs connected to a vertex 
 
 
◆ nbVertex
template<class TCoord , class TDeriv , class TReal > 
      
        
          | int sofa::component::interactionforcefield::SpringForceFieldInternalData< gpu::opencl::OpenCLVectorTypes< TCoord, TDeriv, TReal > >::GPUSpringSet::nbVertex | 
      
 
number of vertices to process to compute all springs 
 
 
◆ springs
template<class TCoord , class TDeriv , class TReal > 
      
 
springs attached to each points (layout per block of NBLOC vertices, with first spring of each vertex, then second spring, etc) 
 
 
◆ vertex0
template<class TCoord , class TDeriv , class TReal > 
      
        
          | int sofa::component::interactionforcefield::SpringForceFieldInternalData< gpu::opencl::OpenCLVectorTypes< TCoord, TDeriv, TReal > >::GPUSpringSet::vertex0 | 
      
 
index of the first vertex connected to a spring 
 
 
◆ GPUSpringSet()
template<class TCoord , class TDeriv , class TReal > 
  
  | 
        
          | sofa::component::interactionforcefield::SpringForceFieldInternalData< gpu::opencl::OpenCLVectorTypes< TCoord, TDeriv, TReal > >::GPUSpringSet::GPUSpringSet | ( |  | ) |  |  | inline | 
 
 
◆ init()
template<class TCoord , class TDeriv , class TReal > 
  
  | 
        
          | void sofa::component::interactionforcefield::SpringForceFieldInternalData< gpu::opencl::OpenCLVectorTypes< TCoord, TDeriv, TReal > >::GPUSpringSet::init | ( | int | v0, |  
          |  |  | int | nbv, |  
          |  |  | int | nbsperv |  
          |  | ) |  |  |  | inline | 
 
 
◆ set()
template<class TCoord , class TDeriv , class TReal > 
  
  | 
        
          | void sofa::component::interactionforcefield::SpringForceFieldInternalData< gpu::opencl::OpenCLVectorTypes< TCoord, TDeriv, TReal > >::GPUSpringSet::set | ( | int | vertex, |  
          |  |  | int | spring, |  
          |  |  | int | index, |  
          |  |  | float | initpos, |  
          |  |  | float | ks, |  
          |  |  | float | kd |  
          |  | ) |  |  |  | inline |