File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ def onAnimateEndEvent(self, event):
3030
3131 nb_iterations = records ['AnimateVisitor' ]['Mechanical (meca)' ]['StaticSolver::Solve' ]['nb_iterations' ]
3232 for i in range (int (nb_iterations )):
33- total_time = records ['AnimateVisitor' ]['Mechanical (meca)' ]['StaticSolver::Solve' ]['step_' + str ( i ) ]['total_time' ]
34- CG_iterations = records ['AnimateVisitor' ]['Mechanical (meca)' ]['StaticSolver::Solve' ]['step_' + str ( i ) ]['CG iterations' ]
33+ total_time = records ['AnimateVisitor' ]['Mechanical (meca)' ]['StaticSolver::Solve' ]['NewtonStep' ][ i ]['total_time' ]
34+ CG_iterations = records ['AnimateVisitor' ]['Mechanical (meca)' ]['StaticSolver::Solve' ]['NewtonStep' ][ i ][ 'MBKSolve' ]['CG iterations' ]
3535 print (f" Newton iteration #{ i } took { total_time :.2f} ms using { int (CG_iterations )} CG iterations" )
3636
3737 if not self .use_sofa_profiler_timer :
You can’t perform that action at this time.
0 commit comments