Skip to content
Snippets Groups Projects
Commit bb0c6049 authored by lisa_julia.nebel_at_tu-dresden.de's avatar lisa_julia.nebel_at_tu-dresden.de
Browse files

Add try{}catch{} around the energy calculation and the solve() call inside the trustregion solver

Throw an exception in the Mooney-Rivlin-Energy-Calculation if det(∇φ) < 0
Then:     In case an excpetion is thrown in either of these two calls, the trustregion solver will not accept the step and continue with a reduced radius
parent d31592de
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !19. Comments created here will be created in the context of that merge request.
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment