aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/gdata.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetLib/src/gdata.cc')
-rw-r--r--Carpet/CarpetLib/src/gdata.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetLib/src/gdata.cc b/Carpet/CarpetLib/src/gdata.cc
index c9f9f8ad2..3d3c06524 100644
--- a/Carpet/CarpetLib/src/gdata.cc
+++ b/Carpet/CarpetLib/src/gdata.cc
@@ -305,7 +305,7 @@ find_source_timelevel (vector <CCTK_REAL> const & times,
CCTK_REAL const max_time = * max_element (times.begin(), times.end());
// TODO: Use a real delta-time from somewhere instead of 1.0
CCTK_REAL const some_time = abs (min_time) + abs (max_time) + 1.0;
- if (op != op_copy) {
+ if (op != op_copy and op != op_accumulate) {
if (time < min_time - eps * some_time or
time > max_time + eps * some_time)
{
@@ -333,7 +333,7 @@ find_source_timelevel (vector <CCTK_REAL> const & times,
}
}
if (timelevel == -1) {
- if (op == op_copy) {
+ if (op == op_copy or op == op_accumulate) {
timelevel = 0;
}
}