#include <CudaMechanicalObject.h>

Public Types | |
| typedef gpu::cuda::CudaVectorTypes < TCoord, TDeriv, TReal > | DataTypes |
| typedef MechanicalObject < DataTypes > | Main |
| typedef Main::VecId | VecId |
| typedef Main::VMultiOp | VMultiOp |
| typedef DataTypes::VecCoord | VecCoord |
| typedef DataTypes::VecDeriv | VecDeriv |
| typedef DataTypes::Coord | Coord |
| typedef DataTypes::Deriv | Deriv |
| typedef DataTypes::Real | Real |
| typedef gpu::cuda::CudaKernelsMechanicalObject < DataTypes > | Kernels |
Static Public Member Functions | |
| static void | accumulateForce (Main *m) |
| static void | vAlloc (Main *m, VecId v) |
| static void | vOp (Main *m, VecId v, VecId a, VecId b, double f) |
| static void | vMultiOp (Main *m, const VMultiOp &ops) |
| static double | vDot (Main *m, VecId a, VecId b) |
| static void | resetForce (Main *m) |
Data Fields | |
| VecDeriv | tmpdot |
| Temporary storate for dot product operation. | |
Definition at line 51 of file CudaMechanicalObject.h.
| typedef DataTypes::Coord sofa::component::MechanicalObjectInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::Coord |
Definition at line 60 of file CudaMechanicalObject.h.
| typedef gpu::cuda::CudaVectorTypes<TCoord,TDeriv,TReal> sofa::component::MechanicalObjectInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::DataTypes |
Definition at line 54 of file CudaMechanicalObject.h.
| typedef DataTypes::Deriv sofa::component::MechanicalObjectInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::Deriv |
Definition at line 61 of file CudaMechanicalObject.h.
| typedef gpu::cuda::CudaKernelsMechanicalObject<DataTypes> sofa::component::MechanicalObjectInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::Kernels |
Definition at line 64 of file CudaMechanicalObject.h.
| typedef MechanicalObject<DataTypes> sofa::component::MechanicalObjectInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::Main |
Definition at line 55 of file CudaMechanicalObject.h.
| typedef DataTypes::Real sofa::component::MechanicalObjectInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::Real |
Definition at line 62 of file CudaMechanicalObject.h.
| typedef DataTypes::VecCoord sofa::component::MechanicalObjectInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::VecCoord |
Definition at line 58 of file CudaMechanicalObject.h.
| typedef DataTypes::VecDeriv sofa::component::MechanicalObjectInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::VecDeriv |
Definition at line 59 of file CudaMechanicalObject.h.
| typedef Main::VecId sofa::component::MechanicalObjectInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::VecId |
Definition at line 56 of file CudaMechanicalObject.h.
| typedef Main::VMultiOp sofa::component::MechanicalObjectInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::VMultiOp |
Definition at line 57 of file CudaMechanicalObject.h.
| void sofa::component::MechanicalObjectInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::accumulateForce | ( | Main * | m | ) | [inline, static] |
Definition at line 160 of file CudaMechanicalObject.inl.
| void sofa::component::MechanicalObjectInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::resetForce | ( | Main * | m | ) | [inline, static] |
Definition at line 573 of file CudaMechanicalObject.inl.
References sofa::gpu::cuda::CudaVector< T >::deviceWrite(), and sofa::gpu::cuda::CudaVector< T >::size().
| void sofa::component::MechanicalObjectInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::vAlloc | ( | Main * | m, | |
| VecId | v | |||
| ) | [inline, static] |
Definition at line 169 of file CudaMechanicalObject.inl.
References sofa::gpu::cuda::CudaVector< T >::fastResize().
| double sofa::component::MechanicalObjectInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::vDot | ( | Main * | m, | |
| VecId | a, | |||
| VecId | b | |||
| ) | [inline, static] |
Definition at line 525 of file CudaMechanicalObject.inl.
References sofa::gpu::cuda::CudaVector< T >::deviceRead(), and sofa::gpu::cuda::CudaVector< T >::size().
| void sofa::component::MechanicalObjectInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::vMultiOp | ( | Main * | m, | |
| const VMultiOp & | ops | |||
| ) | [inline, static] |
Definition at line 433 of file CudaMechanicalObject.inl.
References sofa::gpu::cuda::CudaVector< T >::deviceRead(), sofa::gpu::cuda::CudaVector< T >::deviceWrite(), and sofa::gpu::cuda::CudaVector< T >::size().
| void sofa::component::MechanicalObjectInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::vOp | ( | Main * | m, | |
| VecId | v, | |||
| VecId | a, | |||
| VecId | b, | |||
| double | f | |||
| ) | [inline, static] |
Definition at line 190 of file CudaMechanicalObject.inl.
References sofa::gpu::cuda::CudaVector< T >::deviceRead(), sofa::gpu::cuda::CudaVector< T >::deviceWrite(), sofa::gpu::cuda::CudaVector< T >::fastResize(), sofa::gpu::cuda::CudaVector< T >::resize(), and sofa::gpu::cuda::CudaVector< T >::size().
| VecDeriv sofa::component::MechanicalObjectInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::tmpdot |
1.5.7.1