WIP warm starting

This commit is contained in:
jingyuc
2021-08-23 01:17:37 -04:00
parent 368385d5ad
commit d9152b9cf5
9 changed files with 117 additions and 54 deletions

View File

@@ -37,7 +37,7 @@ btScalar btDeformableMultiBodyConstraintSolver::solveDeformableGroupIterations(b
// solver body velocity <- rigid body velocity
writeToSolverBody(bodies, numBodies, infoGlobal);
std::cout << "iter: " << iteration << "\tres: " << m_leastSquaresResidual << '\n';
std::cout << "iter: " << iteration << "\tres: " << m_leastSquaresResidual << '\t';
std::cout << "------------------\n";
// std::cout << infoGlobal.m_leastSquaresResidualThreshold << '\n';
// std::cout << maxIterations << '\n';
@@ -59,6 +59,7 @@ btScalar btDeformableMultiBodyConstraintSolver::solveDeformableGroupIterations(b
break;
}
}
std::cout << "======next step=========\n";
}
return 0.f;
}