[Carpet] memory allocation in global loop-local mode?

Bela Szilagyi szilagyi at aei.mpg.de
Sat Aug 26 11:47:18 CEST 2006


I'll go with the option below.

We may want to document somehwere this "feature".  Maybe in the all-new (but 
still unfinished) writeup of what-happens-when. (i.e., scheduling.tex)



On Saturday 26 August 2006 00:53, Erik Schnetter wrote:
> The second scheme can be written as a single scheduled routine, as  
> you did.  Your routine would need to be slightly modified:
>
> void
> dostuff (CCTK_ARGUMENTS)
> {
>         CCTK_GroupStorageIncrease;
>         {
>                 DECLARE_CCTK_ARGUMENTS;
>                 do stuff;
>         }
>         CCTK_GroupStorageDecrease;
> }

-- 
Bela Szilagyi

Max-Planck-Institut für Gravitationsphysik
Albert-Einstein-Institut
Tel: +49 331 567 7632
Fax: +49 331 567 7649


More information about the developers mailing list