From 4bfde9b5dbf2aa23b287e690772b2d53c4c5529e Mon Sep 17 00:00:00 2001 From: schnetter <> Date: Wed, 5 Nov 2003 15:18:00 +0000 Subject: 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:20031105151837-07bb3-758a87ff0355dba053269df4b7d7d79bea018669.gz --- Carpet/CarpetLib/src/dh.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Carpet/CarpetLib/src/dh.cc') diff --git a/Carpet/CarpetLib/src/dh.cc b/Carpet/CarpetLib/src/dh.cc index 83d43932b..4cdc1ae28 100644 --- a/Carpet/CarpetLib/src/dh.cc +++ b/Carpet/CarpetLib/src/dh.cc @@ -1,4 +1,4 @@ -// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetLib/src/dh.cc,v 1.43 2003/10/16 17:00:04 schnetter Exp $ +// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetLib/src/dh.cc,v 1.44 2003/11/05 16:18:39 schnetter Exp $ #include @@ -31,7 +31,7 @@ dh::dh (gh& h, assert (buffer_width>=0); h.add(this); CHECKPOINT; - recompose(false); + recompose (0, true); } // Destructors @@ -51,7 +51,7 @@ int dh::prolongation_stencil_size () const { // Modifiers template -void dh::recompose (const int initialise_upto) { +void dh::recompose (const int initialise_from, const bool do_prolongate) { DECLARE_CCTK_PARAMETERS; CHECKPOINT; @@ -562,7 +562,7 @@ void dh::recompose (const int initialise_upto) { for (typename list*>::iterator f=gfs.begin(); f!=gfs.end(); ++f) { - (*f)->recompose(initialise_upto); + (*f)->recompose (initialise_from, do_prolongate); } } -- cgit v1.2.3