Newton Dynamics  4.00
ndDynamicsUpdateCuda Class Reference
Inheritance diagram for ndDynamicsUpdateCuda:
ndDynamicsUpdate ndClassAlloc

Public Member Functions

 ndDynamicsUpdateCuda (ndWorld *const world)
 
virtual const char * GetStringId () const
 
void SortJoints ()
 
void SortIslands ()
 
void BuildIsland ()
 
void InitWeights ()
 
void InitBodyArray ()
 
void InitSkeletons ()
 
void CalculateForces ()
 
void IntegrateBodies ()
 
void UpdateSkeletons ()
 
void FinishGpuUpdate ()
 
void InitJacobianMatrix ()
 
void UpdateForceFeedback ()
 
void CalculateJointsForce ()
 
void IntegrateBodiesVelocity ()
 
void CalculateJointsAcceleration ()
 
void IntegrateUnconstrainedBodies ()
 
void DeviceUpdate ()
 
void DetermineSleepStates ()
 
void GetJacobianDerivatives (ndConstraint *const joint)
 
 ndDynamicsUpdateCuda (ndWorld *const world)
 
virtual const char * GetStringId () const
 
void SortJoints ()
 
void SortIslands ()
 
void BuildIsland ()
 
void InitWeights ()
 
void InitBodyArray ()
 
void InitSkeletons ()
 
void CalculateForces ()
 
void IntegrateBodies ()
 
void UpdateSkeletons ()
 
void FinishGpuUpdate ()
 
void InitJacobianMatrix ()
 
void UpdateForceFeedback ()
 
void CalculateJointsForce ()
 
void IntegrateBodiesVelocity ()
 
void CalculateJointsAcceleration ()
 
void IntegrateUnconstrainedBodies ()
 
void DeviceUpdate ()
 
void DetermineSleepStates ()
 
void GetJacobianDerivatives (ndConstraint *const joint)
 
- Public Member Functions inherited from ndDynamicsUpdate
 ndDynamicsUpdate (ndWorld *const world)
 
ndInt32 GetUnconstrainedBodyCount () const
 
void ClearBuffer (void *const buffer, ndInt32 sizeInByte) const
 
void ClearJacobianBuffer (ndInt32 count, ndJacobian *const dst) const
 
ndVector GetVelocTol () const
 
ndFloat32 GetTimestepRK () const
 
ndArray< ndIsland > & GetIslands ()
 
ndArray< ndJacobian > & GetInternalForces ()
 
ndArray< ndLeftHandSide > & GetLeftHandSide ()
 
ndArray< ndInt32 > & GetJointForceIndexBuffer ()
 
ndArray< ndRightHandSide > & GetRightHandSide ()
 
ndArray< ndJacobian > & GetTempInternalForces ()
 
ndArray< ndBodyKinematic * > & GetBodyIslandOrder ()
 
ndArray< ndJointBodyPairIndex > & GetJointBodyPairIndexBuffer ()
 
- Public Member Functions inherited from ndClassAlloc
 ndClassAlloc ()
 Empty default constructor.
 
 ~ndClassAlloc ()
 Empty.
 

Public Attributes

ndCudaContextm_context
 

Protected Member Functions

virtual void Update ()
 
virtual void Update ()
 
- Protected Member Functions inherited from ndDynamicsUpdate
void Clear ()
 
void SortJointsScan ()
 
void SortBodyJointScan ()
 
ndBodyKinematicFindRootAndSplit (ndBodyKinematic *const body)
 

Additional Inherited Members

- Static Public Member Functions inherited from ndClassAlloc
D_OPERATOR_NEW_AND_DELETE static D_CORE_API void * Malloc (size_t size)
 Generic allocation for any function subclass from ndClassAlloc.
 
static D_CORE_API void Free (void *const ptr)
 Generic destruction for any function subclass from ndClassAlloc.
 
- Protected Attributes inherited from ndDynamicsUpdate
ndVector m_velocTol
 
ndArray< ndIslandm_islands
 
ndArray< ndInt32 > m_jointForcesIndex
 
ndArray< ndJacobianm_internalForces
 
ndArray< ndLeftHandSidem_leftHandSide
 
ndArray< ndRightHandSidem_rightHandSide
 
ndArray< ndJacobianm_tempInternalForces
 
ndArray< ndBodyKinematic * > m_bodyIslandOrder
 
ndArray< ndJointBodyPairIndexm_jointBodyPairIndexBuffer
 
ndWorldm_world
 
ndFloat32 m_timestep
 
ndFloat32 m_invTimestep
 
ndFloat32 m_firstPassCoef
 
ndFloat32 m_invStepRK
 
ndFloat32 m_timestepRK
 
ndFloat32 m_invTimestepRK
 
ndUnsigned32 m_solverPasses
 
ndInt32 m_activeJointCount
 
ndInt32 m_unConstrainedBodyCount