diff --git a/torax/tests/sim_test.py b/torax/tests/sim_test.py index 71386126e..a5949aa82 100644 --- a/torax/tests/sim_test.py +++ b/torax/tests/sim_test.py @@ -258,6 +258,13 @@ class SimTest(sim_test_case.SimTestCase): 'test_iterhybrid_predictor_corrector_tglfnn_ukaea', 'test_iterhybrid_predictor_corrector_tglfnn_ukaea.py', ), + # Predictor-corrector solver with TGLFNNukaea transport with rotation + ( + 'test_iterhybrid_predictor_corrector_tglfnn_ukaea_rotation', + 'test_iterhybrid_predictor_corrector_tglfnn_ukaea_rotation.py', + _ALL_PROFILES, + 1e-6, + ), # Predictor-corrector solver with rotation ( 'test_iterhybrid_predictor_corrector_rotation', diff --git a/torax/tests/test_data/test_iterhybrid_predictor_corrector_tglfnn_ukaea_rotation.nc b/torax/tests/test_data/test_iterhybrid_predictor_corrector_tglfnn_ukaea_rotation.nc index e83affe13..0aea29ec4 100644 Binary files a/torax/tests/test_data/test_iterhybrid_predictor_corrector_tglfnn_ukaea_rotation.nc and b/torax/tests/test_data/test_iterhybrid_predictor_corrector_tglfnn_ukaea_rotation.nc differ diff --git a/torax/tests/test_data/test_iterhybrid_predictor_corrector_tglfnn_ukaea_rotation.py b/torax/tests/test_data/test_iterhybrid_predictor_corrector_tglfnn_ukaea_rotation.py index e9df8ab48..c3d4db9f3 100644 --- a/torax/tests/test_data/test_iterhybrid_predictor_corrector_tglfnn_ukaea_rotation.py +++ b/torax/tests/test_data/test_iterhybrid_predictor_corrector_tglfnn_ukaea_rotation.py @@ -32,3 +32,7 @@ 0.0: 1.8 * _omega_ref, 1.0: 0.0, } + +# Reduce the final time since numerical difference across platforms can +# cause significant divergences over time. +CONFIG['numerics']['t_final'] = 1.0