Stop Printing 'UMFPACK V5.7.6 (May 4, 2016) : ERROR: out of memory'


17
views
0
17 days ago by
My code is currently written so that it catches the RuntimeError that occurs when the Newton Solver diverges. However this does not stop the code from printing this line, which makes me think that it is a regular print statement instead of an actual exception. I've looked all over for how to stop from printing this line, but I can't find anything. Any ideas?
try:
    solver.solve()
except RuntimeError:
    break​
Community: FEniCS Project
Please login to add an answer/comment or follow this question.

Similar posts:
Search »