aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/carpet_public.hh
diff options
context:
space:
mode:
authorschnetter <>2002-01-09 12:56:00 +0000
committerschnetter <>2002-01-09 12:56:00 +0000
commitce7a2ac4d79e4955ff4b8e56130a48f5f9a6dd39 (patch)
tree1ddb36d4dca2fb9b0a2d9b297c43963faaf54b93 /Carpet/Carpet/src/carpet_public.hh
parent3feaac23d2df61741d53c6715f322928afac6aeb (diff)
Cleaned up the code to make it work with multiple multigrid levels
Cleaned up the code to make it work with multiple multigrid levels (aka shadow hierarchy). The shadow logic is not yet in place. Added simple recombining to the clusterer. This should lead to fewer grid components. Not very tested. darcs-hash:20020109125624-07bb3-f2d22fa4583bf562101ab521606e6142585622a7.gz
Diffstat (limited to 'Carpet/Carpet/src/carpet_public.hh')
-rw-r--r--Carpet/Carpet/src/carpet_public.hh8
1 files changed, 7 insertions, 1 deletions
diff --git a/Carpet/Carpet/src/carpet_public.hh b/Carpet/Carpet/src/carpet_public.hh
index 8c967501c..5f097ae33 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.12 2002/01/02 17:14:08 schnetter Exp $
+// $Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/carpet_public.hh,v 1.13 2002/01/09 13:56:25 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
@@ -41,6 +41,12 @@ namespace Carpet {
// Refinement factor on finest grid
extern int maxreflevelfact;
+ // Multigrid levels
+ extern int mglevels;
+
+ // Multigrid factor
+ extern int mgfact;
+
// Current iteration per refinement level
extern vector<int> iteration;