Skip to content

Commit 7683447

Browse files
committed
tests: add convolution test with finer grid
1 parent 4e99477 commit 7683447

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

packages/treetime-convolution/src/testing/test_suites/gaussian_exponential.rs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,22 @@ impl TestSuite for GaussianExponentialTestSuite {
3939
analytical_caution: "none".to_owned(),
4040
slowness: 0.0,
4141
a_f: 0.5,
42-
input_grid_domain: (-1.0, 40.0),
42+
input_grid_domain: (-5.0, 40.0),
4343
input_grid_n_points: 101,
4444
output_grid_domain: (-5.0, 25.0),
4545
output_grid_n_points: 101,
46+
},
47+
GaussianExponentialTestCase {
48+
name: "python_notebook_case_fine".to_owned(),
49+
description: "Parameters from conv_gauss_exp.ipynb: a_f=0.5".to_owned(),
50+
stress_type: "reference implementation validation".to_owned(),
51+
analytical_caution: "none".to_owned(),
52+
slowness: 0.0,
53+
a_f: 0.5,
54+
input_grid_domain: (-5.0, 40.0),
55+
input_grid_n_points: 501,
56+
output_grid_domain: (-5.0, 25.0),
57+
output_grid_n_points: 101,
4658
}]
4759
}
4860
}

0 commit comments

Comments
 (0)