[Users] CarpetRegrid2 with nonexistent radii in some centres

Erik Schnetter schnetter at cct.lsu.edu
Tue Sep 24 09:29:02 CDT 2013


On 2013-09-24, at 10:00 , Ian Hinder <ian.hinder at aei.mpg.de> wrote:

> Hi,
> 
> Suppose I want to set up a grid structure for a BBH evolution using CarpetRegrid2, but ensure that the outer levels never change.  What I usually do is set up two box hierarchies centred on the two BHs, but this doesn't guarantee that the outer levels don't change.  Instead, I would like to have three hierarchies, one for the outer levels, and two for the BHs, where the latter only contain boxes on the finest levels.  I would implement this by not setting the coarser radii for the BH hierarchies, and leaving them at -1.  
> 
> I was under the impression that this used to be possible, but there is a check in CarpetRegrid2 which prevents this:
> 
>  -> The radius of refinement level 1 of region 2 is [-1,-1,-1], which is non-negative
> 
> I can't see anything in the code which would make this necessary.  Is it safe to disable this check?


Can you set them to zero instead? This should automatically extend them so that they are large enough for the next finer levels, which is the minimum possible size.

-erik

-- 
Erik Schnetter <schnetter at cct.lsu.edu>
http://www.perimeterinstitute.ca/personal/eschnetter/

My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://pgp.mit.edu/.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20130924/a4720bbf/attachment.bin 


More information about the Users mailing list