From 3554187cb190c2c7035e3bfe1d3b99bda1ab8301 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Sun, 26 May 2013 17:53:55 -0400 Subject: Requirements: Do not mark current timelevel as invalid after time level cycling The current time level retains its current value during time level cycling. --- Carpet/Requirements/src/all_state.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Carpet/Requirements') diff --git a/Carpet/Requirements/src/all_state.cc b/Carpet/Requirements/src/all_state.cc index 91c3c7ab3..c581e719c 100644 --- a/Carpet/Requirements/src/all_state.cc +++ b/Carpet/Requirements/src/all_state.cc @@ -334,10 +334,12 @@ namespace Requirements { for (int tl=ntl-1; tl>0; --tl) { tls.AT(tl) = tls.AT(tl-1); } +#if 0 // The new time level is uninitialised // TODO: keep it valid to save time, since MoL will // copy it anyway? tls.AT(0) = gridpoint_t(); +#endif } } } -- cgit v1.2.3