update examples to test different time stepping schemes (namely explicit, implicit and implicit with line search)/

This commit is contained in:
Xuchen Han
2019-09-19 17:09:52 -07:00
parent 2f9184acc9
commit be7383cc03
6 changed files with 29 additions and 26 deletions

View File

@@ -24,7 +24,7 @@ btDeformableBodySolver::btDeformableBodySolver()
, m_cg(20)
, m_maxNewtonIterations(3)
, m_newtonTolerance(1e-4)
, m_lineSearch(false)
, m_lineSearch(true)
{
m_objective = new btDeformableBackwardEulerObjective(m_softBodies, m_backupVelocity);
}