CudaSpringForceField.h File Reference

#include "CudaTypes.h"
#include <sofa/component/forcefield/SpringForceField.h>
#include <sofa/component/forcefield/StiffSpringForceField.h>
#include <sofa/component/forcefield/MeshSpringForceField.h>

Include dependency graph for CudaSpringForceField.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Data Structures

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

Namespaces

namespace  sofa
 Main SOFA namespace.
namespace  sofa::gpu
namespace  sofa::gpu::cuda
namespace  sofa::component
 Implementation of components.
namespace  sofa::component::forcefield

Defines

#define CudaSpringForceField_DeclMethods(T)

Functions

 sofa::component::forcefield::CudaSpringForceField_DeclMethods (gpu::cuda::CudaVec3fTypes)


Define Documentation

#define CudaSpringForceField_DeclMethods ( T   ) 

Value:

template<> void SpringForceField< T >::init(); \
    template<> void SpringForceField< T >::addForce(VecDeriv& f1, VecDeriv& f2, const VecCoord& x1, const VecCoord& x2, const VecDeriv& v1, const VecDeriv& v2); \
    template<> void StiffSpringForceField< T >::init(); \
    template<> void StiffSpringForceField< T >::addForce(VecDeriv& f1, VecDeriv& f2, const VecCoord& x1, const VecCoord& x2, const VecDeriv& v1, const VecDeriv& v2); \
    template<> void StiffSpringForceField< T >::addDForce(VecDeriv& df1, VecDeriv& df2, const VecDeriv& dx1, const VecDeriv& dx2, double kFactor, double bFactor);

Definition at line 147 of file CudaSpringForceField.h.


Generated on Sun Nov 23 04:11:56 2008 for Sofa by  doxygen 1.5.7.1