aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/SetupGH.cc
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-04-04 12:14:53 -0400
committerErik Schnetter <schnetter@gmail.com>2013-04-04 12:14:53 -0400
commitef9e9276df5c348f0c3d382cebd080cd1d78c92e (patch)
tree9aace6dc449cb1eebbb19e8102cfeff471797a34 /Carpet/Carpet/src/SetupGH.cc
parent7a99eee603df1194809db30f916d3eeb730c39ee (diff)
Carpet: Do not restrict variables marked as "don't restrict"
Do not restrict variables marked as op_none or op_sync. Mark grid arrays as op_sync, not op_copy, which would still prolongate and restrict them.
Diffstat (limited to 'Carpet/Carpet/src/SetupGH.cc')
-rw-r--r--Carpet/Carpet/src/SetupGH.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/Carpet/src/SetupGH.cc b/Carpet/Carpet/src/SetupGH.cc
index 23fda6d94..138e0f63a 100644
--- a/Carpet/Carpet/src/SetupGH.cc
+++ b/Carpet/Carpet/src/SetupGH.cc
@@ -2273,7 +2273,7 @@ namespace Carpet {
if (gdata.grouptype != CCTK_GF) {
// Ignore everything but true grid functions
- return op_copy;
+ return op_sync; // was: op_copy -- why?
}
bool const can_transfer = can_transfer_variable_type (cctkGH, group, gdata);