From d08272da3baf6f604efc1c103567221e80af235b Mon Sep 17 00:00:00 2001 From: wenrongc <73961126+wenrongcao@users.noreply.github.com> Date: Thu, 2 Jan 2025 12:00:48 -0800 Subject: [PATCH] add output path in test_erosion.jl add: Output(out_dir="test_erosion_folder")) in the test --- test/test_erosion.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/test_erosion.jl b/test/test_erosion.jl index ae0a68a1..0596a20a 100644 --- a/test/test_erosion.jl +++ b/test/test_erosion.jl @@ -9,7 +9,8 @@ using GeophysicalModelGenerator # Main model setup model = Model(Grid(nel=(32,1,32), x=[-50,50], z=[-50,20], y=[-1,1] ), Scaling(GEO_units(stress=1000MPa, viscosity=1e20Pa*s)), - Time(dt=1e-2, dt_min=1e-5, dt_max=1e-1, nstep_out=5, nstep_max=200, time_end=5)) + Time(dt=1e-2, dt_min=1e-5, dt_max=1e-1, nstep_out=5, nstep_max=200, time_end=5), + Output(out_dir="erosion_test_folder")) # add an air phase, phase =0 add_box!(model; xlim = (-50, 50), @@ -54,4 +55,4 @@ using GeophysicalModelGenerator end -end \ No newline at end of file +end