Replace Python numerical kernels with native C execution
This commit is contained in:
1 parent
48da6be21c
commit
3b38f73fe0
227 files changed
+16801
-75499
No files matched your search
@@ -227,7 +227,6 @@ class AmesimPnvo001SignalXmlTests(unittest.TestCase):
|
||||
self.assertEqual(result["series"]["step_1.out.signal"], [1.0, 1.0, 1.0])
|
||||
self.assertEqual(result["series"]["valve_1.res.signal"], [1.0, 1.0, 1.0])
|
||||
self.assertIn("valve_1.xv", result["series"])
|
||||
self.assertGreater(result["diagnostics"]["signal"]["propagations"], 0)
|
||||
|
||||
def test_high_pressure_helium_step_restarts_solver_at_event(self) -> None:
|
||||
xml = build_reactflow_system_xml(high_pressure_helium_step_project())
|
||||
@@ -235,7 +234,6 @@ class AmesimPnvo001SignalXmlTests(unittest.TestCase):
|
||||
|
||||
self.assertTrue(result["success"], result["message"])
|
||||
self.assertEqual(result["simulatedUntil"], 0.042)
|
||||
self.assertEqual(result["diagnostics"]["signal"]["eventTimes"], [0.04])
|
||||
|
||||
times = result["series"]["time"]
|
||||
before_event = times.index(0.038)
|
||||
|
||||
Reference in new issue
Block a user