From 45165ffd52d70b8dbff3389746f0815bebe4a375 Mon Sep 17 00:00:00 2001 From: Philipp Grete Date: Mon, 9 Sep 2024 11:43:36 +0200 Subject: [PATCH] Fix interface --- .../test_suites/diffusion_linwave3d/diffusion_linwave3d.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tst/regression/test_suites/diffusion_linwave3d/diffusion_linwave3d.py b/tst/regression/test_suites/diffusion_linwave3d/diffusion_linwave3d.py index 5f0a05a3..74629477 100644 --- a/tst/regression/test_suites/diffusion_linwave3d/diffusion_linwave3d.py +++ b/tst/regression/test_suites/diffusion_linwave3d/diffusion_linwave3d.py @@ -114,11 +114,11 @@ def Analyse(self, parameters): "[Decaying 3D Linear Wave]: " "Mesh size {} x {} x {}".format(2 * nx, nx, nx) ) - filename = os.path.join(parameters.output_path, f"{nx}.hst") + filename = os.path.join(parameters.output_path, f"{nx}.out2.hst") hst_data = np.genfromtxt(filename, names=True, skip_header=1) tt = hst_data["1time"] - max_vy = hst_data["11MaxAbsV2"] + max_vy = hst_data["13MaxAbsV2"] # estimate the decay rate from simulation, using weighted least-squares (WLS) yy = np.log(np.abs(max_vy)) plt.plot(tt, yy)