Hello,
While using NDSolve for solving 1st order ODE systems, I sometimes experience failures signalled by messages such as, for example, "Repeated Convergence Test Failures". Is there any way to use WhenEvent command to detect any such failures and prevent NDSolve to crash but rather to stop the calculations in a controlled way, so that the results obtained before the failure are not lost?
Lesław