aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/carpet_public.hh
diff options
context:
space:
mode:
authorschnetter <>2003-01-03 13:11:00 +0000
committerschnetter <>2003-01-03 13:11:00 +0000
commit52aae2b8f43f6ac77a5db8c9c8b0d7e2b5b16bb0 (patch)
tree946442dacb4db1674723ce7b048a26425ff881cd /Carpet/Carpet/src/carpet_public.hh
parentba93f9b3ccce3dddff23575c87f67c259f167d88 (diff)
Introduced per-group flag "do_transfer" that specifies whether a group
Introduced per-group flag "do_transfer" that specifies whether a group is to be prolongated and restricted. carpet_public.hh: Declare the flag. SetupGH.cc: Set the flag. Storage.cc: Warn if storage is allocated for a group that is not to be transferred. Comm.cc, Restrict.cc: Don't transfer if the flag says not do. Output a warning instead. darcs-hash:20030103131156-07bb3-ec78e99b49ad9c85718dc46389bfe8c9dde148fa.gz
Diffstat (limited to 'Carpet/Carpet/src/carpet_public.hh')
-rw-r--r--Carpet/Carpet/src/carpet_public.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/Carpet/Carpet/src/carpet_public.hh b/Carpet/Carpet/src/carpet_public.hh
index 8ed6f5b9c..4b59b0b56 100644
--- a/Carpet/Carpet/src/carpet_public.hh
+++ b/Carpet/Carpet/src/carpet_public.hh
@@ -1,4 +1,4 @@
-// $Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/carpet_public.hh,v 1.21 2002/09/25 19:55:06 schnetter Exp $
+// $Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/carpet_public.hh,v 1.22 2003/01/03 14:11:56 schnetter Exp $
// It is assumed that the number of components of all arrays is equal
// to the number of components of the grid functions, and that their
@@ -91,6 +91,7 @@ namespace Carpet {
th* tt;
dh<dim>* dd;
vector<generic_gf<dim>*> data; // [var]
+ bool do_transfer; // prolongate and restrict
};
extern vector<arrdesc> arrdata; // [group]