[Carpet] Buffer zones in old and new Carpet

Erik Schnetter schnetter at cct.lsu.edu
Tue Mar 4 03:23:31 CET 2008


On Mar 3, 2008, at 20:04:54, Ian Hinder wrote:

> Erik Schnetter wrote:
>> On Mar 3, 2008, at 18:59:14, Ian Hinder wrote:
>>
>>> Erik Schnetter wrote:
>>>
>>>> We can add a #define CARPET_HAVE_BUFFER_WIDTH to dd.hh.  Please  
>>>> make
>>>> your thorn work before you push this change.
>>>
>>> In what sense do you mean this?
>>
>>
>> I mean that it would not be necessary to add CARPET_HAVE_BUFFER_WIDTH
>> unless you actually use it.  If it turns out that your idea for a  
>> common
>> regridding thorn doesn't work out in the end, then
>> CARPET_HAVE_BUFFER_WIDTH doesn't need to be added to Carpet.
>
> In CarpetRegrid2, the dd object that contains the buffer_width  
> member is
> obtained by
>
>    assert (Carpet::is_singlemap_mode());
>    ...
>    dh const & dd = * Carpet::vdd.at (Carpet::map);
>
> I don't really know what singlemap_mode is, but this assertion fails
> when I call my equivalent code in global mode.  Is there a way to do
> what I am trying to do?


You can replace Carpet::map by 0, and ensure that you don't run a  
multi-patch simulation (which you are probably not doing anyway).

-erik

-- 
Erik Schnetter <schnetter at cct.lsu.edu>   http://www.cct.lsu.edu/~eschnett/

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: 194 bytes
Desc: This is a digitally signed message part
Url : /archives/developers/attachments/20080303/c4f58b84/attachment.pgp 


More information about the developers mailing list