[Carpet] component numbers; CCTK_DELTA_SPACE from one component to another

Erik Schnetter schnetter at cct.lsu.edu
Tue May 23 21:07:00 CEST 2006


On May 23, 2006, at 12:53:45, Jonathan Thornburg wrote:

> Hi, Erik,
>
> A couple of related questions:
>
> 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 it necessarily the case that CCTK_DELTA_SPACE() has the same value
> for each component in a given map at a given refinement level?

Yes.

-erik

-- 
Erik Schnetter <schnetter at cct.lsu.edu>

My email is as private as my paper mail.  I therefore support encrypting
and signing email messages.  Get my PGP key from www.keyserver.net.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : /archives/developers/attachments/20060523/a8f87e35/attachment.pgp 


More information about the developers mailing list