#include <CudaSpringForceField.h>

Data Structures | |
| struct | GPUSpring |
| struct | GPUSpring2 |
| struct | GPUSpringSet |
Public Types | |
| typedef gpu::cuda::CudaVectorTypes < TCoord, TDeriv, TReal > | DataTypes |
| typedef SpringForceField < DataTypes > | Main |
| typedef Main::Inherit | Inherit |
| typedef Main::Spring | Spring |
| typedef SpringForceFieldInternalData < DataTypes > | Data |
| typedef DataTypes::VecCoord | VecCoord |
| typedef DataTypes::VecDeriv | VecDeriv |
| typedef DataTypes::Coord | Coord |
| typedef DataTypes::Deriv | Deriv |
| typedef DataTypes::Real | Real |
| typedef gpu::cuda::CudaKernelsSpringForceField < DataTypes > | Kernels |
Static Public Member Functions | |
| static void | init (Main *m, bool stiff) |
| static void | addForce (Main *m, bool stiff, VecDeriv &f1, VecDeriv &f2, const VecCoord &x1, const VecCoord &x2, const VecDeriv &v1, const VecDeriv &v2) |
| static void | addDForce (Main *m, bool stiff, VecDeriv &df1, VecDeriv &df2, const VecDeriv &dx1, const VecDeriv &dx2, double kFactor, double bFactor) |
Data Fields | |
| GPUSpringSet | springs1 |
| springs from model1 to model2 | |
| GPUSpringSet | springs2 |
| springs from model2 to model1 (only used if model1 != model2) | |
Definition at line 57 of file CudaSpringForceField.h.
| typedef DataTypes::Coord sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::Coord |
Definition at line 67 of file CudaSpringForceField.h.
| typedef SpringForceFieldInternalData<DataTypes> sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::Data |
Definition at line 64 of file CudaSpringForceField.h.
| typedef gpu::cuda::CudaVectorTypes<TCoord,TDeriv,TReal> sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::DataTypes |
Definition at line 60 of file CudaSpringForceField.h.
| typedef DataTypes::Deriv sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::Deriv |
Definition at line 68 of file CudaSpringForceField.h.
| typedef Main::Inherit sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::Inherit |
Definition at line 62 of file CudaSpringForceField.h.
| typedef gpu::cuda::CudaKernelsSpringForceField<DataTypes> sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::Kernels |
Definition at line 71 of file CudaSpringForceField.h.
| typedef SpringForceField<DataTypes> sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::Main |
Definition at line 61 of file CudaSpringForceField.h.
| typedef DataTypes::Real sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::Real |
Definition at line 69 of file CudaSpringForceField.h.
| typedef Main::Spring sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::Spring |
Definition at line 63 of file CudaSpringForceField.h.
| typedef DataTypes::VecCoord sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::VecCoord |
Definition at line 65 of file CudaSpringForceField.h.
| typedef DataTypes::VecDeriv sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::VecDeriv |
Definition at line 66 of file CudaSpringForceField.h.
| void sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::addDForce | ( | Main * | m, | |
| bool | stiff, | |||
| VecDeriv & | df1, | |||
| VecDeriv & | df2, | |||
| const VecDeriv & | dx1, | |||
| const VecDeriv & | dx2, | |||
| double | kFactor, | |||
| double | bFactor | |||
| ) | [inline, static] |
Definition at line 283 of file CudaSpringForceField.inl.
References sofa::gpu::cuda::CudaVector< T >::deviceRead(), sofa::gpu::cuda::CudaVector< T >::deviceWrite(), and sofa::gpu::cuda::CudaVector< T >::resize().
| void sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::addForce | ( | Main * | m, | |
| bool | stiff, | |||
| VecDeriv & | f1, | |||
| VecDeriv & | f2, | |||
| const VecCoord & | x1, | |||
| const VecCoord & | x2, | |||
| const VecDeriv & | v1, | |||
| const VecDeriv & | v2 | |||
| ) | [inline, static] |
Definition at line 200 of file CudaSpringForceField.inl.
References sofa::gpu::cuda::CudaVector< T >::deviceRead(), sofa::gpu::cuda::CudaVector< T >::deviceWrite(), and sofa::gpu::cuda::CudaVector< T >::resize().
| void sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::init | ( | Main * | m, | |
| bool | stiff | |||
| ) | [inline, static] |
Definition at line 114 of file CudaSpringForceField.inl.
| GPUSpringSet sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::springs1 |
| GPUSpringSet sofa::component::forcefield::SpringForceFieldInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::springs2 |
springs from model2 to model1 (only used if model1 != model2)
Definition at line 135 of file CudaSpringForceField.h.
1.5.7.1