#include <CudaSpringForceField.h>

Public Member Functions | |
| GPUSpringSet () | |
| void | init (int v0, int nbv, int nbsperv) |
| void | set (int vertex, int spring, int index, float initpos, float ks, float kd) |
Data Fields | |
| int | vertex0 |
| index of the first vertex connected to a spring | |
| int | nbVertex |
| number of vertices to process to compute all springs | |
| int | nbSpringPerVertex |
| max number of springs connected to a vertex | |
| gpu::cuda::CudaVector< GPUSpring > | springs |
| springs attached to each points (layout per bloc of NBLOC vertices, with first spring of each vertex, then second spring, etc) | |
| gpu::cuda::CudaVector< Real > | dfdx |
| only used for StiffSpringForceField | |
Definition at line 104 of file CudaSpringForceField.h.
| sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::GPUSpringSet::GPUSpringSet | ( | ) | [inline] |
Definition at line 111 of file CudaSpringForceField.h.
| void sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::GPUSpringSet::init | ( | int | v0, | |
| int | nbv, | |||
| int | nbsperv | |||
| ) | [inline] |
| void sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::GPUSpringSet::set | ( | int | vertex, | |
| int | spring, | |||
| int | index, | |||
| float | initpos, | |||
| float | ks, | |||
| float | kd | |||
| ) | [inline] |
| gpu::cuda::CudaVector<Real> sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::GPUSpringSet::dfdx |
| int sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::GPUSpringSet::nbSpringPerVertex |
| int sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::GPUSpringSet::nbVertex |
number of vertices to process to compute all springs
Definition at line 107 of file CudaSpringForceField.h.
| gpu::cuda::CudaVector<GPUSpring> sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::GPUSpringSet::springs |
springs attached to each points (layout per bloc of NBLOC vertices, with first spring of each vertex, then second spring, etc)
Definition at line 109 of file CudaSpringForceField.h.
| int sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::GPUSpringSet::vertex0 |
index of the first vertex connected to a spring
Definition at line 106 of file CudaSpringForceField.h.
1.5.7.1