Public Member Functions | Protected Attributes

btParallelConstraintSolver Class Reference

The btParallelConstraintSolver performs computations on constraint rows in parallel Using the cross-platform threading it supports Windows, Linux, Mac OSX and PlayStation 3 Cell SPUs. More...

#include <btParallelConstraintSolver.h>

Inheritance diagram for btParallelConstraintSolver:
Inheritance graph
[legend]
Collaboration diagram for btParallelConstraintSolver:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 btParallelConstraintSolver (class btThreadSupportInterface *solverThreadSupport)
virtual ~btParallelConstraintSolver ()
virtual btScalar solveGroup (btCollisionObject **bodies, int numBodies, btPersistentManifold **manifold, int numManifolds, btTypedConstraint **constraints, int numConstraints, const btContactSolverInfo &info, btIDebugDraw *debugDrawer, btStackAlloc *stackAlloc, btDispatcher *dispatcher)
 btSequentialImpulseConstraintSolver Sequentially applies impulses

Protected Attributes

struct
btParallelSolverMemoryCache
m_memoryCache
class btThreadSupportInterfacem_solverThreadSupport
struct btConstraintSolverIOm_solverIO
class btBarrierm_barrier
class btCriticalSectionm_criticalSection

Detailed Description

The btParallelConstraintSolver performs computations on constraint rows in parallel Using the cross-platform threading it supports Windows, Linux, Mac OSX and PlayStation 3 Cell SPUs.

Definition at line 263 of file btParallelConstraintSolver.h.


Constructor & Destructor Documentation

btParallelConstraintSolver::btParallelConstraintSolver ( class btThreadSupportInterface solverThreadSupport  ) 

Definition at line 1144 of file btParallelConstraintSolver.cpp.

btParallelConstraintSolver::~btParallelConstraintSolver (  )  [virtual]

Definition at line 1156 of file btParallelConstraintSolver.cpp.


Member Function Documentation

btScalar btParallelConstraintSolver::solveGroup ( btCollisionObject **  bodies,
int  numBodies,
btPersistentManifold **  manifold,
int  numManifolds,
btTypedConstraint **  constraints,
int  numConstraints,
const btContactSolverInfo info,
btIDebugDraw debugDrawer,
btStackAlloc stackAlloc,
btDispatcher dispatcher 
) [virtual]

btSequentialImpulseConstraintSolver Sequentially applies impulses

setup the btSolverConstraints

the size of btSolverConstraint needs be a multiple of btScalar

finalize the constraint setup

fix rhs todo: add force/torque accelerators

Reimplemented from btSequentialImpulseConstraintSolver.

Definition at line 1166 of file btParallelConstraintSolver.cpp.


Member Data Documentation

Definition at line 272 of file btParallelConstraintSolver.h.

Definition at line 273 of file btParallelConstraintSolver.h.

Definition at line 267 of file btParallelConstraintSolver.h.

Definition at line 271 of file btParallelConstraintSolver.h.

Definition at line 269 of file btParallelConstraintSolver.h.


The documentation for this class was generated from the following files: