[Carpet] CarpetRegrid2: is it possible to activate new levels (PMR)?

Peter Diener diener at cct.lsu.edu
Mon Dec 10 17:42:08 CET 2007


Hi Bruno,

As far as I know, this functionality has been moved from a parameter to
a grid scalar.

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
>
>


More information about the developers mailing list