Skip to content
Snippets Groups Projects
Commit 2a47a7f4 authored by Lacroix Martin's avatar Lacroix Martin Committed by Adrien Crovato
Browse files

Update CUPyDO Interface

parent 183dc3c4
No related branches found
Tags v1.2.0
No related merge requests found
Pipeline #16589 passed
......@@ -53,8 +53,9 @@ class Dart(FluidSolver):
"""
status = self.solver.run()
if status > 1:
raise RuntimeError('DART solver diverged!\n')
return False
self.__setCurrentState()
return True
def __setCurrentState(self):
"""Compute nodal forces from nodal normalized forces
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment