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>
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 btThreadSupportInterface * | m_solverThreadSupport |
struct btConstraintSolverIO * | m_solverIO |
class btBarrier * | m_barrier |
class btCriticalSection * | m_criticalSection |
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.
btParallelConstraintSolver::btParallelConstraintSolver | ( | class btThreadSupportInterface * | solverThreadSupport | ) |
Definition at line 1144 of file btParallelConstraintSolver.cpp.
btParallelConstraintSolver::~btParallelConstraintSolver | ( | ) | [virtual] |
Definition at line 1156 of file btParallelConstraintSolver.cpp.
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.
class btBarrier* btParallelConstraintSolver::m_barrier [protected] |
Definition at line 272 of file btParallelConstraintSolver.h.
class btCriticalSection* btParallelConstraintSolver::m_criticalSection [protected] |
Definition at line 273 of file btParallelConstraintSolver.h.
struct btParallelSolverMemoryCache* btParallelConstraintSolver::m_memoryCache [protected] |
Definition at line 267 of file btParallelConstraintSolver.h.
struct btConstraintSolverIO* btParallelConstraintSolver::m_solverIO [protected] |
Definition at line 271 of file btParallelConstraintSolver.h.
class btThreadSupportInterface* btParallelConstraintSolver::m_solverThreadSupport [protected] |
Definition at line 269 of file btParallelConstraintSolver.h.