From 7d0feb34bd025365735fe32ecd6c0dfbb85766db Mon Sep 17 00:00:00 2001 From: Menno Fraters Date: Sat, 6 Nov 2021 15:58:20 -0700 Subject: [PATCH] Add test for depth method begin at end segment. --- ...depth_method_slab_begin_at_end_segment.dat | 4 ++++ .../depth_method_slab_begin_at_end_segment.wb | 21 +++++++++++++++++++ .../screen-output.log | 5 +++++ 3 files changed, 30 insertions(+) create mode 100644 tests/app/depth_method_slab_begin_at_end_segment.dat create mode 100644 tests/app/depth_method_slab_begin_at_end_segment.wb create mode 100644 tests/app/depth_method_slab_begin_at_end_segment/screen-output.log diff --git a/tests/app/depth_method_slab_begin_at_end_segment.dat b/tests/app/depth_method_slab_begin_at_end_segment.dat new file mode 100644 index 000000000..3a6bc2973 --- /dev/null +++ b/tests/app/depth_method_slab_begin_at_end_segment.dat @@ -0,0 +1,4 @@ +549100 1.62751e+6 0 549100 10 +5.5555e6 1.64208e+6 0 575225 10 +5.55037e+6 1.63356e+6 0 585225 10 +5.5555e6 1.64208e+6 0 595225 10 diff --git a/tests/app/depth_method_slab_begin_at_end_segment.wb b/tests/app/depth_method_slab_begin_at_end_segment.wb new file mode 100644 index 000000000..b11835b0a --- /dev/null +++ b/tests/app/depth_method_slab_begin_at_end_segment.wb @@ -0,0 +1,21 @@ +{ + "version":"0.5", + "coordinate system":{"model":"spherical","depth method":"begin at end segment"}, + "cross section":[[0,0],[45,0]],"surface temperature":273, "force surface temperature":true, + "potential mantle temperature":1673, "thermal expansion coefficient":3.1e-5, + "specific heat":1250, "thermal diffusivity":1.0e-6, + "features": + [ + { "model":"subducting plate", "name":"Slab", + "coordinates":[[25,-5],[25,5]], + "interpolation":"continuous monotone spline", + "dip point":[0,0], + "segments":[{"length":200e3,"thickness":[300e3], "top truncation":[-300e3], "angle":[0,30]}, + {"length":100e3, "thickness":[300e3], "top truncation":[-300e3], "angle":[30,50]}, + {"length":800e3, "thickness":[300e3], "top truncation":[-200e3], "angle":[50,50]}, + {"length":300e3, "thickness":[300e3], "top truncation":[-200e3], "angle":[50,10]}, + {"length":300e3, "thickness":[300e3], "top truncation":[-300e3], "angle":[10,50]}], + "temperature models":[{"model":"uniform", "min distance slab top":-200e3, "temperature":900}] + } + ] +} diff --git a/tests/app/depth_method_slab_begin_at_end_segment/screen-output.log b/tests/app/depth_method_slab_begin_at_end_segment/screen-output.log new file mode 100644 index 000000000..24855b735 --- /dev/null +++ b/tests/app/depth_method_slab_begin_at_end_segment/screen-output.log @@ -0,0 +1,5 @@ +# x y z d g T +549100 1.62751e+6 0 549100 10 1917.06 +5.5555e6 1.64208e+6 0 575225 10 900 +5.55037e+6 1.63356e+6 0 585225 10 900 +5.5555e6 1.64208e+6 0 595225 10 900