[Carpet] Buffer zones in old and new Carpet
Ian Hinder
hinder at gravity.psu.edu
Tue Mar 4 03:04:54 CET 2008
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?
--
Ian Hinder
hinder at gravity.psu.edu
http://www.gravity.psu.edu/~hinder
More information about the developers
mailing list