[Carpet] [Carpet-experimental-darcs] Carpet: Add aliased function GetCoordRange

Erik Schnetter schnetter at cct.lsu.edu
Fri Jun 15 19:12:34 CEST 2007


I'm sorry about the misleading patch description.  I changed the  
patch later, but apparently didn't udpate the description.

Here is the declaration of GetCoordRange:

# Access coordinate information (on the coarse level)
CCTK_INT FUNCTION GetCoordRange        \
     (CCTK_POINTER_TO_CONST IN  cctkGH, \
      CCTK_INT              IN  m,      \
      CCTK_INT              IN  ml,     \
      CCTK_INT              IN  size,   \
      CCTK_INT        ARRAY OUT gsh,    \
      CCTK_REAL       ARRAY OUT lower,  \
      CCTK_REAL       ARRAY OUT upper,  \
      CCTK_REAL       ARRAY OUT delta)

It always returns information about the coarse level.  The coarse  
level is probably just what you mean by "base grid extent".  Since it  
always returns coarse grid information, it doesn't make sense to  
return different results for global or local mode.  Ignore the "given  
refinement level" in the description; that was when there was an  
additional "rl" argument, which wasn't useful, so I took it out again.

-erik

On Jun 15, 2007, at 11:50:14, Bela Szilagyi wrote:

> Does the interpolator know that, when called in global mode, it  
> should take
> into account the basegrid extent rather than whatever is reported  
> by the new
> GetCoordRange function?
>
> Or is the GetCoordRange return value dependent on whether we are in  
> global or
> level mode?
>
> Also, what is the meaning of a coordinate range (i.e., a box-shaped
> specification) when the grid-layout on a given refinement level is not
> box-shaped?
>
>
> On Thursday 14 June 2007 02:51:12 Carpet-Repository wrote:
>> The Carpet repository at ~darcs/carpet-experimental received a new  
>> patch:
>>
>>    Carpet: Add aliased function GetCoordRange
>>
>> This patch was recorded by Erik Schnetter <schnetter at cct.lsu.edu> at
>> 2007-06-14 00:49:19.
>>
>> The long comment for this patch reads:
>>
>>  =
>>
>>  GetCoordRange returns the lower and upper coordinates, the grid
>>  spacing, and the number of grid points for a given refinement  
>> level on
>>  a given patch.
>> _______________________________________________
>> carpet-experimental-darcs mailing list
>> carpet-experimental-darcs at lists.carpetcode.org
>> https://lists.carpetcode.org/listinfo/carpet-experimental-darcs
>
>
>
>
>
> Bela Szilagyi
> ----------------------------------------------------
> Max-Planck-Institut für Gravitationsphysik
> Albert-Einstein-Institut
> Tel: +49 331 567 7189
> Fax: +49 331 567 7252
> ----------------------------------------------------
>


-- 
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/20070615/301f7d28/attachment.pgp 


More information about the developers mailing list