aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetSlab
diff options
context:
space:
mode:
authorschnetter <>2003-11-05 14:18:00 +0000
committerschnetter <>2003-11-05 14:18:00 +0000
commit1072312e58ca8b5d10bcb738a117a5fdf9cd6415 (patch)
tree6ec7af1bc80da935c3d81a134106c992b3fe1449 /Carpet/CarpetSlab
parent6111106e1aa1881ec3e6ca0873cd4f1ec389c228 (diff)
Many changes that accumulated while Cactus and Carpet diverged.
Many changes that accumulated while Cactus and Carpet diverged. Add processor splitting mechanism "along-dir" that splits along a specified direction. Rename group PostRestrict to bin POSTRESTRICT. Prolongate initial data only when desired. This saves much time. Sorry, Ian. Fix bug in time level cycling of grid arrays. (Note: grid arrays should not have time levels.) Fix time_t bug on IRIX. Make sure that there is no integer overflow when there are many refinement levels. Always put parentheses around (maxreflevelfact/reflevelfact). Fix typo in Carpet verbose output. Add debug output in processor splitting. Communicate in three stages: Irecv, (work), Isend, Wait. This might be more efficient. Much more, potentially. Fix bug in processor layout of grid arrays. Sorry, Ian. Make the interpolator interpolate between time levels. Untested. Fix bug in processor communication in interpolator. Sorry, Ian. Rewrite prolongation operators to make them twice as fast. There you are, Ian. Move prolongation operator kind handling from data to gdata. Add official hyperslabbing interfaces to CarpetSlab. Adapt to new cGH * handling. darcs-hash:20031105141838-07bb3-d348d033307d82905893e241be485c4db2ce8ce3.gz
Diffstat (limited to 'Carpet/CarpetSlab')
-rw-r--r--Carpet/CarpetSlab/schedule.ccl2
-rw-r--r--Carpet/CarpetSlab/src/slab.hh17
2 files changed, 16 insertions, 3 deletions
diff --git a/Carpet/CarpetSlab/schedule.ccl b/Carpet/CarpetSlab/schedule.ccl
index e25549779..9aeffc07f 100644
--- a/Carpet/CarpetSlab/schedule.ccl
+++ b/Carpet/CarpetSlab/schedule.ccl
@@ -1,2 +1,2 @@
# Schedule definitions for thorn CarpetSlab
-# $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetSlab/schedule.ccl,v 1.1 2001/03/01 13:40:10 eschnett Exp $
+# $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetSlab/schedule.ccl,v 1.2 2003/11/05 16:18:39 schnetter Exp $
diff --git a/Carpet/CarpetSlab/src/slab.hh b/Carpet/CarpetSlab/src/slab.hh
index 2a3d350de..a6259236d 100644
--- a/Carpet/CarpetSlab/src/slab.hh
+++ b/Carpet/CarpetSlab/src/slab.hh
@@ -1,4 +1,4 @@
-// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetSlab/src/slab.hh,v 1.1 2002/10/24 10:53:48 schnetter Exp $
+// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetSlab/src/slab.hh,v 1.2 2003/11/05 16:18:39 schnetter Exp $
#ifndef CARPETSLAB_HH
#define CARPETSLAB_HH
@@ -9,7 +9,20 @@
namespace CarpetSlab {
- void* GetSlab (cGH* const cgh,
+ // Non-standard interface -- don't use
+ void FillSlab (const cGH* const cgh,
+ const int dest_proc,
+ const int n,
+ const int tl,
+ const int hdim,
+ const int origin[/*vdim*/],
+ const int dirs[/*hdim*/],
+ const int stride[/*hdim*/],
+ const int length[/*hdim*/],
+ void* const hdata);
+
+ // Non-standard interface -- don't use
+ void* GetSlab (const cGH* const cgh,
const int dest_proc,
const int n,
const int tl,