[Carpet] component numbers; CCTK_DELTA_SPACE from one component to another
Jonathan Thornburg
jthorn at aei.mpg.de
Tue May 23 21:28:26 CEST 2006
Hi, Erik,
> > If I do a BEGIN_LOCAL_COMPONENT_LOOP ... END_LOCAL_COMPONENT_LOOP,
> > is it guaranteed that Carpet::component will sequence through the
> > contiguous set of integers from 0 to
> > Carpet::vhh.at(Carpet::map)->components(Carpet::reflevel)-1
> > inclusive? Or is it possible that the local component numbers will
> > be some subset of this?
>
> The global component numbers run from 0 to N-1, where N is often the number of
> processors. The local loop iterates over that subset which is local to a
> processor, i.e., most of the time a single integer in the range 0 to N-1.
Is "that subset which is local to a processor" always a single
continguous interval A <= component_number <= B for some A and B
or might it be a more general subset of [0,N-1]?
thanks, 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