SOFA plugin: SofaOpenCL  master
Open source framework for multi-physics simuation
sofa::component::interactionforcefield::SpringForceFieldInternalData< gpu::opencl::OpenCLVectorTypes< TCoord, TDeriv, TReal > >::GPUSpring2 Struct Reference

#include <OpenCLSpringForceField.h>

Public Attributes

float initpos
 
float kd
 

Public Member Functions

 GPUSpring2 ()
 
void set (int, float initpos, float, float kd)
 

Attribute details

◆ initpos

template<class TCoord , class TDeriv , class TReal >
float sofa::component::interactionforcefield::SpringForceFieldInternalData< gpu::opencl::OpenCLVectorTypes< TCoord, TDeriv, TReal > >::GPUSpring2::initpos

◆ kd

template<class TCoord , class TDeriv , class TReal >
float sofa::component::interactionforcefield::SpringForceFieldInternalData< gpu::opencl::OpenCLVectorTypes< TCoord, TDeriv, TReal > >::GPUSpring2::kd

Constructor details

◆ GPUSpring2()

template<class TCoord , class TDeriv , class TReal >
sofa::component::interactionforcefield::SpringForceFieldInternalData< gpu::opencl::OpenCLVectorTypes< TCoord, TDeriv, TReal > >::GPUSpring2::GPUSpring2 ( )
inline

Function details

◆ set()

template<class TCoord , class TDeriv , class TReal >
void sofa::component::interactionforcefield::SpringForceFieldInternalData< gpu::opencl::OpenCLVectorTypes< TCoord, TDeriv, TReal > >::GPUSpring2::set ( int  ,
float  initpos,
float  ,
float  kd 
)
inline