[Carpet] CarpetRegrid2: is it possible to activate new levels (PMR)?
Bruno Giacomazzo
bgiacoma at aei.mpg.de
Mon Dec 10 18:31:17 CET 2007
Christian, Peter and Erik,
thank you very much for your answers.
What I want to do is actually the following: I have three regions
with three refinement levels. At a certain time I want to "switch on" one
more level on region 3 to increase the resolution in that area.
I have seen that the parameter num_levels_3 is STEERABLE and so I
thought that it would have worked simply changing it. I will use the
scalar variable as suggested.
But then what it's the meaning of declaring a variable
STEERABLE=always if changing it doesn't have any effect during the
evolution?
Cheers,
Bruno
On Mon, 10 Dec 2007, Peter Diener wrote:
> 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
>>
>>
> _______________________________________________
> developers mailing list
> developers at lists.carpetcode.org
> http://lists.carpetcode.org/listinfo/developers
>
--
Dr. Bruno Giacomazzo
Max Planck Institute for Gravitational Physics
Albert Einstein Institute
Am Muehlenberg 1
D-14476 Potsdam
Germany
Tel. : +49 331 567 7183
Fax : +49 331 567 7252
cell. : +49 173 826 4488
email : bgiacoma at aei.mpg.de
-------------------------------------------------
There are only 10 types of people in the world:
Those who understand binary, and those who don't
-------------------------------------------------
More information about the developers
mailing list