diff options
author | schnetter <> | 2001-07-09 07:00:00 +0000 |
---|---|---|
committer | schnetter <> | 2001-07-09 07:00:00 +0000 |
commit | 4f9bcd9dfec80121a7d5d2eb32636aadbd5851bd (patch) | |
tree | d0e03dbe5c495cc705b0e961c43fb08f935992f8 /Carpet/Carpet/src/variables.cc | |
parent | 7d15598e09630796312a5cdac178eb9658a44dd0 (diff) |
Changed handling of scalars. Scalars are now zero-dimensional arrays.
Changed handling of scalars. Scalars are now zero-dimensional arrays.
Now handling CCTK_GroupDynamicData correctly.
Now using "include header".
Added results of test case.
darcs-hash:20010709070002-07bb3-ba0f4339acb8652e35a884fbdf7e8482b7236f8e.gz
Diffstat (limited to 'Carpet/Carpet/src/variables.cc')
-rw-r--r-- | Carpet/Carpet/src/variables.cc | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/Carpet/Carpet/src/variables.cc b/Carpet/Carpet/src/variables.cc index f884950f1..91ee10bb6 100644 --- a/Carpet/Carpet/src/variables.cc +++ b/Carpet/Carpet/src/variables.cc @@ -5,7 +5,7 @@ #include "carpet.hh" -static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/variables.cc,v 1.1 2001/07/04 12:29:48 schnetter Exp $"; +static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/variables.cc,v 1.2 2001/07/09 09:00:15 schnetter Exp $"; @@ -40,21 +40,20 @@ namespace Carpet { - // Data for scalars - vector<scdesc> scdata; // [group] - - // Data for arrays - // TODO: have replicated arrays - vector<arrdesc> arrdata; // [group] + // Data for grid functions // The grid hierarchy gh<dim>* hh; th* tt; dh<dim>* dd; - int gfsize[dim]; - // Data for grid functions - vector<gfdesc> gfdata; // [group] + // Data for scalars + gh<dim>* hh0; + th* tt0; + dh<dim>* dd0; + + // Data for everything + vector<arrdesc> arrdata; // [group] // Checksums vector<vector<vector<vector<ckdesc> > > > checksums; // [n][rl][tl][c] |