sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::GPUSpring Struct Reference

#include <CudaSpringForceField.h>

Collaboration diagram for sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::GPUSpring:

Collaboration graph
[legend]

Public Member Functions

 GPUSpring ()
void set (int index, float, float ks, float)

Data Fields

int index
 0 if no spring
float ks

Detailed Description

template<class TCoord, class TDeriv, class TReal>
struct sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::GPUSpring

Definition at line 74 of file CudaSpringForceField.h.


Constructor & Destructor Documentation

template<class TCoord , class TDeriv , class TReal >
sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::GPUSpring::GPUSpring (  )  [inline]

Definition at line 80 of file CudaSpringForceField.h.


Member Function Documentation

template<class TCoord , class TDeriv , class TReal >
void sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::GPUSpring::set ( int  index,
float  ,
float  ks,
float   
) [inline]

Definition at line 81 of file CudaSpringForceField.h.


Field Documentation

template<class TCoord , class TDeriv , class TReal >
int sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::GPUSpring::index

0 if no spring

Definition at line 76 of file CudaSpringForceField.h.

template<class TCoord , class TDeriv , class TReal >
float sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::GPUSpring::ks

Definition at line 78 of file CudaSpringForceField.h.


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

Generated on Sun Nov 23 04:20:21 2008 for Sofa by  doxygen 1.5.7.1