[Carpet] regridding?

Bela Szilagyi szilagyi at aei.mpg.de
Fri May 5 16:25:57 CEST 2006


Cristian Ott and I have found a feature of Carpet that could be regarded as a 
bug.

Say you are on refinement level 3 out of 3.  You ask for a regrid by setting 
CarpetRegrid::coordinates, and your new parameter value involves a change of 
refinement level 2.

Carpet will regrid and schedule PostRegrid for refinement level 3 but not for 
the coarser levels.

I would propose one of the following:

1. explicitely forbid requests of refinement level changes of a coarser grid 
than the current one

2. delay these requests till evolution gets to the appropriate coarser grid

3. schedule postregrid for the coarser levels as well

4. schedule postregrid for all levels at any regrid event.

5. whatever...



On Friday 05 May 2006 15:07, Bela Szilagyi wrote:
> Should we introduce a parameter that will tell CarpetIOHDF5  that at
> recovery it should read the value of CarpetRegrid::coordinates (and
> possibly other carpetregrid parameters) from the checkpoint file rather
> than from the parameter file?  This would go along the same lines as
>
> CarpetIOHDF5::use_reflevels_from_checkpoint
>
> introduced by Christian Ott.
>
> On Thursday 04 May 2006 17:31, Erik Schnetter wrote:
> > On May 4, 2006, at 09:30:17, Bela Szilagyi wrote:
> > > Can one (or -- is one supposed to) adjust carpet grid structure by
> > > steering
> > > dynamically the parameter CarpetRegrid::coordinates  ?
> >
> > Yes, this is supposed to work.

-- 
Bela Szilagyi
----------------------------------------------------
Max-Planck-Institut für Gravitationsphysik
Albert-Einstein-Institut
Tel: +49 331 567 7632
Fax: +49 331 567 7649
----------------------------------------------------




More information about the developers mailing list