| 153 | |
| 154 | |
| 155 | void MultiThreadStepper::substep(StepperTask& completionTask) |
| 156 | { |
| 157 | // setup any tasks that should run in parallel to simulate() |
| 158 | mSample->onSubstepSetup(mSubStepSize, &completionTask); |
| 159 | |
| 160 | // step |
| 161 | { |
| 162 | mSimulateTask.setContinuation(&completionTask); |
| 163 | mSimulateTask.removeReference(); |
| 164 | } |
| 165 | // parallel sample tasks are started in mSolveTask (after solve was called which acquires a write lock). |
| 166 | } |
| 167 | |
| 168 | void FixedStepper::substepStrategy(const PxReal stepSize, PxU32& substepCount, PxReal& substepSize) |
| 169 | { |
nothing calls this directly
no test coverage detected