From c9eb4dc0022dd46bf3aa2c3512dea42a713a32e8 Mon Sep 17 00:00:00 2001 From: ofmla Date: Fri, 4 Aug 2023 15:25:27 -0300 Subject: [PATCH] examples: move to original confgs of tests --- tests/test_adjoint.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/test_adjoint.py b/tests/test_adjoint.py index 3ec6d7ee321..473e484c0ed 100644 --- a/tests/test_adjoint.py +++ b/tests/test_adjoint.py @@ -30,7 +30,7 @@ class TestAdjoint(object): ('layers', (60, 70), 'OT2', 4, 2, acoustic_setup), ('layers', (60, 70), 'OT4', 2, 2, acoustic_setup), # 2D test with 2 layers and freesurface - ('layers-fs', (200, 80), 'OT2', 4, 2, acoustic_setup), + ('layers-fs', (60, 70), 'OT2', 4, 2, acoustic_setup), # 3D tests with varying time and space orders ('layers', (60, 70, 80), 'OT2', 8, 2, acoustic_setup), ('layers', (60, 70, 80), 'OT2', 6, 2, acoustic_setup), @@ -47,7 +47,7 @@ class TestAdjoint(object): ('layers-tti', (30, 35), 'staggered', 8, 1, tti_setup), ('layers-tti', (30, 35), 'staggered', 4, 1, tti_setup), # 2D TTI test with 2 layers and freesurface - ('layers-tti-fs', (200, 80), 'centered', 4, 2, tti_setup), + ('layers-tti-fs', (30, 35), 'centered', 4, 2, tti_setup), # 3D TTI tests with varying space orders ('layers-tti', (30, 35, 40), 'centered', 8, 2, tti_setup), ('layers-tti', (30, 35, 40), 'centered', 4, 2, tti_setup), @@ -130,7 +130,7 @@ def test_adjoint_F(self, mkey, shape, kernel, space_order, time_order, setup_fun ('layers', (60, 70), 'OT2', 8, 2, acoustic_setup), ('layers', (60, 70), 'OT2', 4, 2, acoustic_setup), # 2D test with 2 layers and freesurface - ('layers-fs', (200, 80), 'OT2', 4, 2, acoustic_setup), + ('layers-fs', (60, 70), 'OT2', 4, 2, acoustic_setup), # 3D tests with varying time and space orders ('layers', (40, 50, 30), 'OT2', 12, 2, acoustic_setup), ('layers', (40, 50, 30), 'OT2', 8, 2, acoustic_setup), @@ -139,7 +139,7 @@ def test_adjoint_F(self, mkey, shape, kernel, space_order, time_order, setup_fun ('layers-tti', (20, 25), 'centered', 8, 2, tti_setup), ('layers-tti', (20, 25), 'centered', 4, 2, tti_setup), # 2D TTI test with 2 layers and freesurface - ('layers-tti-fs', (200, 80), 'centered', 4, 2, tti_setup), + ('layers-tti-fs', (20, 25), 'centered', 4, 2, tti_setup), # 3D TTI tests with varying space orders ('layers-tti', (20, 25, 30), 'centered', 8, 2, tti_setup), ('layers-tti', (20, 25, 30), 'centered', 4, 2, tti_setup), @@ -165,7 +165,7 @@ def test_adjoint_J(self, mkey, shape, kernel, space_order, time_order, setup_fun dot test: < Jx, y> = """ - tn = 750. if mkey[-3:] == "-fs" else 500 # Final time + tn = 500. # Final time nbl = 10 + space_order / 2 spacing = tuple([10.]*len(shape)) # Create solver from preset