From 5510241460fae17179231debed858849ae8eda76 Mon Sep 17 00:00:00 2001 From: Felix MARSOLLIER <marsollier.felix@gmail.com> Date: Fri, 12 Mar 2021 17:28:09 +0100 Subject: [PATCH] Addition of an experiment annotation --- PDE/test_UpwindFirstOrder.mo | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PDE/test_UpwindFirstOrder.mo b/PDE/test_UpwindFirstOrder.mo index 2f0e49a..3037b02 100644 --- a/PDE/test_UpwindFirstOrder.mo +++ b/PDE/test_UpwindFirstOrder.mo @@ -24,9 +24,9 @@ initial equation equation // Vel = pulse.y; - // Boundary conditions transport.u_ghost_left[:] = fill(1.0, 2); - transport.u_ghost_right[:] = fill(2.0, 2); - + transport.u_ghost_right[:] = fill(2.0, 2); + annotation( + experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-6, Interval = 0.002)); end test_UpwindFirstOrder; -- GitLab