(self, test_data_path, setup_combustor_tests)
| 2517 | } |
| 2518 | |
| 2519 | def test_integrateWithStep(self, test_data_path, setup_combustor_tests): |
| 2520 | sim = setup_combustor_tests['sim'] |
| 2521 | combustor = setup_combustor_tests['combustor'] |
| 2522 | |
| 2523 | tnow = 0.0 |
| 2524 | tfinal = 0.25 |
| 2525 | data = [] |
| 2526 | while tnow < tfinal: |
| 2527 | tnow = sim.step() |
| 2528 | data.append([tnow, combustor.T] + list(combustor.thermo.X)) |
| 2529 | |
| 2530 | assert tnow >= tfinal |
| 2531 | bad = compareProfiles(test_data_path / self.referenceFile, data, |
| 2532 | rtol=1e-3, atol=1e-9) |
| 2533 | assert not bad, bad |
| 2534 | |
| 2535 | def test_integrateWithAdvance(self, request, test_data_path, setup_combustor_tests): |
| 2536 | sim = setup_combustor_tests['sim'] |
nothing calls this directly
no test coverage detected