[Carpet] cost of repeated calls on CCTK_SyncGroup()

Jonathan Thornburg jthorn at aei.mpg.de
Tue Jun 13 18:13:26 CEST 2006


Hi, Erik,

> Consider also alternatives, such as using hyperslabbing to move data about, or
> copying a region of data (if you only work on a small region of a set of grid
> functions) into a temporary array, maybe a 3D grid function.
> 
> Carpet offers aliased functions EnableProlongating and QueryProlongating to
> enable and disable prolongation.  You could use these.  Make sure to restore
> the previous state afterwards, because MoL also uses these functions when
> there are buffer zones.
> 
> If you need a certain functionality, we can also easily add a new aliased
> function that you can call.

Ok, thanks for the tips!

ciao,

-- 
-- Jonathan Thornburg <jthorn at aei.mpg.de>      
   Max-Planck-Institut fuer Gravitationsphysik (Albert-Einstein-Institut),
   Golm, Germany, "Old Europe"     http://www.aei.mpg.de/~jthorn/home.html      
   "Washing one's hands of the conflict between the powerful and the
    powerless means to side with the powerful, not to be neutral."
                                      -- quote by Freire / poster by Oxfam




More information about the developers mailing list