aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/carpet_public.hh
diff options
context:
space:
mode:
authorschnetter <>2002-06-05 22:23:00 +0000
committerschnetter <>2002-06-05 22:23:00 +0000
commit728d83a25711e9418b478b2ee439cf089b152b0c (patch)
treef27815b385826061e6cabf9c75952cce2bfe46db /Carpet/Carpet/src/carpet_public.hh
parent1f34f1db1e13fdc5ffe43682dfd5544526f430fe (diff)
Arrays and scalars are now treated differently. There is now only one
Arrays and scalars are now treated differently. There is now only one instance of each scalar and array per processor (... and convergence level). That means that all refinement levels and all grid components share the same scalars and arrays. darcs-hash:20020605222334-07bb3-469a6576637a8f90df31f2b23aa6779222910ca6.gz
Diffstat (limited to 'Carpet/Carpet/src/carpet_public.hh')
-rw-r--r--Carpet/Carpet/src/carpet_public.hh12
1 files changed, 4 insertions, 8 deletions
diff --git a/Carpet/Carpet/src/carpet_public.hh b/Carpet/Carpet/src/carpet_public.hh
index b628dd78c..e796ba968 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.17 2002/03/11 13:17:11 schnetter Exp $
+// $Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/carpet_public.hh,v 1.18 2002/06/06 00:23:35 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
@@ -76,15 +76,9 @@ namespace Carpet {
extern th* tt;
extern dh<dim>* dd;
- // Data for scalars
- extern gh<dim>* hh0;
- extern th* tt0;
- extern dh<dim>* dd0;
-
// Data for everything
struct arrdesc {
- // points to hh etc. for GF, and to hh0 etc. for SCALAR
- // is unique for ARRAY
+ // points to hh etc. for GF, and is unique for SCALAR and ARRAY
cGroupDynamicData info;
gh<dim>* hh;
th* tt;
@@ -144,6 +138,8 @@ namespace Carpet {
void SplitRegions (const cGH* cgh, vector<bbox<int,dim> >& bbs,
vector<vect<vect<bool,2>,dim> >& obs);
+ void SplitRegions_AlongZ (const cGH* cgh, vector<bbox<int,dim> >& bbs,
+ vector<vect<vect<bool,2>,dim> >& obs);
void MakeProcessors (const cGH* cgh, const gh<dim>::rexts& bbsss,
gh<dim>::rprocs& pss);