[Carpet] CarpetRegrid2: is it possible to activate new levels (PMR)?
Erik Schnetter
schnetter at cct.lsu.edu
Mon Dec 10 18:25:12 CET 2007
On Dec 10, 2007, at 09:42:08, Peter Diener wrote:
> Hi Bruno,
>
> As far as I know, this functionality has been moved from a
> parameter to
> a grid scalar.
This is correct. Steering parameters can lead to problems with
checkpoint and restart, since a steerable parameter will be set from
the parameter file upon restart (if it is set there), not from the
value stored in the checkpoint file. This can lead to surprises.
-erik
> In CarpetRegrid2's interface.ccl you'll find the definition of a
> public
> grid scalar:
>
> CCTK_INT num_levels[10] TYPE=scalar
> {
> num_levels
> } "Number of refinement levels"
>
> That you can modify. Of course you'll have to set the new region's
> position and radius as well by setting the corresponding grid scalars.
>
> Cheers,
>
> Peter
>
> On Mon, 10 Dec 2007, Christian D. Ott wrote:
>
>>
>> Hi Bruno,
>>
>> On Mon, Dec 10, 2007 at 03:25:21PM +0100, Bruno Giacomazzo wrote:
>>> I'm using the experimental version of Carpet and I would like to
>>> know if CarpetRegrid2 can add new levels during the evolution.
>>> CarpetRegrid had this function through the use of
>>> activate_levels_on_regrid, but I was not able to find something
>>> similar in
>>> CarpetRegrid2.
>>>
>>> Actually I have seen that the parameter num_levels_* is
>>> STEERABLE=always. Has anybody tried to change it during evolution?
>>
>> I don't know the answer to your question, yet I do know that you can
>> continue using CarpetRegrid with carpet-experimental. Personally, I
>> find it more convenient to stick with CarpetRegrid as I am used to
>> it.
>> Any particular reason you need CarpetRegrid2 to do PMR?
>>
>> - Christian
>>
>> _______________________________________________
>> developers mailing list
>> developers at lists.carpetcode.org
>> http://lists.carpetcode.org/listinfo/developers
>>
>>
> _______________________________________________
> developers mailing list
> developers at lists.carpetcode.org
> http://lists.carpetcode.org/listinfo/developers
>
--
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/20071210/13f39c75/attachment.pgp
More information about the developers
mailing list