#include <CudaFixedConstraint.h>

Public Types | |
| typedef FixedConstraintInternalData < gpu::cuda::CudaVectorTypes < TCoord, TDeriv, TReal > > | Data |
| typedef gpu::cuda::CudaVectorTypes < TCoord, TDeriv, TReal > | DataTypes |
| typedef FixedConstraint < DataTypes > | Main |
| typedef DataTypes::VecDeriv | VecDeriv |
| typedef DataTypes::Deriv | Deriv |
| typedef DataTypes::Real | Real |
| typedef Main::SetIndex | SetIndex |
Static Public Member Functions | |
| static void | init (Main *m) |
| static void | addConstraint (Main *m, unsigned int index) |
| static void | removeConstraint (Main *m, unsigned int index) |
| static void | projectResponse (Main *m, VecDeriv &dx) |
Data Fields | |
| int | minIndex |
| int | maxIndex |
| gpu::cuda::CudaVector< int > | cudaIndices |
Definition at line 41 of file CudaFixedConstraint.h.
| typedef FixedConstraintInternalData< gpu::cuda::CudaVectorTypes<TCoord,TDeriv,TReal> > sofa::component::constraint::FixedConstraintInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::Data |
Definition at line 44 of file CudaFixedConstraint.h.
| typedef gpu::cuda::CudaVectorTypes<TCoord,TDeriv,TReal> sofa::component::constraint::FixedConstraintInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::DataTypes |
Definition at line 45 of file CudaFixedConstraint.h.
| typedef DataTypes::Deriv sofa::component::constraint::FixedConstraintInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::Deriv |
Definition at line 48 of file CudaFixedConstraint.h.
| typedef FixedConstraint<DataTypes> sofa::component::constraint::FixedConstraintInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::Main |
Definition at line 46 of file CudaFixedConstraint.h.
| typedef DataTypes::Real sofa::component::constraint::FixedConstraintInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::Real |
Definition at line 49 of file CudaFixedConstraint.h.
| typedef Main::SetIndex sofa::component::constraint::FixedConstraintInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::SetIndex |
Definition at line 50 of file CudaFixedConstraint.h.
| typedef DataTypes::VecDeriv sofa::component::constraint::FixedConstraintInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::VecDeriv |
Definition at line 47 of file CudaFixedConstraint.h.
| void sofa::component::constraint::FixedConstraintInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::addConstraint | ( | Main * | m, | |
| unsigned int | index | |||
| ) | [inline, static] |
Definition at line 94 of file CudaFixedConstraint.inl.
References cudaIndices, sofa::gpu::cuda::CudaVector< T >::empty(), maxIndex, minIndex, sofa::gpu::cuda::CudaVector< T >::push_back(), sofa::gpu::cuda::CudaVector< T >::reserve(), and sofa::gpu::cuda::CudaVector< T >::size().
| void sofa::component::constraint::FixedConstraintInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::init | ( | Main * | m | ) | [inline, static] |
Definition at line 62 of file CudaFixedConstraint.inl.
References sofa::component::topology::PointSubset::begin(), sofa::gpu::cuda::CudaVector< T >::clear(), cudaIndices, sofa::component::topology::PointSubset::empty(), sofa::component::topology::PointSubset::end(), maxIndex, minIndex, sofa::gpu::cuda::CudaVector< T >::push_back(), and sofa::gpu::cuda::CudaVector< T >::reserve().
| static void sofa::component::constraint::FixedConstraintInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::projectResponse | ( | Main * | m, | |
| VecDeriv & | dx | |||
| ) | [static] |
| void sofa::component::constraint::FixedConstraintInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::removeConstraint | ( | Main * | m, | |
| unsigned int | index | |||
| ) | [inline, static] |
Definition at line 141 of file CudaFixedConstraint.inl.
References cudaIndices, sofa::gpu::cuda::CudaVector< T >::empty(), maxIndex, minIndex, sofa::gpu::cuda::CudaVector< T >::push_back(), sofa::helper::removeValue(), and sofa::gpu::cuda::CudaVector< T >::reserve().
| gpu::cuda::CudaVector<int> sofa::component::constraint::FixedConstraintInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::cudaIndices |
Definition at line 56 of file CudaFixedConstraint.h.
Referenced by addConstraint(), init(), and removeConstraint().
| int sofa::component::constraint::FixedConstraintInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::maxIndex |
Definition at line 54 of file CudaFixedConstraint.h.
Referenced by addConstraint(), init(), and removeConstraint().
| int sofa::component::constraint::FixedConstraintInternalData< gpu::cuda::CudaVectorTypes< TCoord, TDeriv, TReal > >::minIndex |
Definition at line 53 of file CudaFixedConstraint.h.
Referenced by addConstraint(), init(), and removeConstraint().
1.5.7.1