The parameter verbosity_regrid can be set in setrun.py to specify output desired about each regridding. It is supposed to be independent of verbosity, but was being reset to method(4), which is verbosity in the code.
In addition to fixing that, I improved the output it produces, so that it prints the time of regridding too. So now if verbosity == 0 and it is not printing other info each time step it can still print more useful regridding info.
If this looks ok I will make the same changes in geoclaw.
Sample output with verbosity == 0 and verbosity_regrid == 3:
Storage allocated...
bndList allocated...
Gridding level 1 at t = 0.000000E+00: 1 grids with 2500 cells
Gridding level 2 at t = 0.000000E+00: 4 grids with 4356 cells
Gridding level 3 at t = 0.000000E+00: 12 grids with 6400 cells
max threads set to 4
Done reading data, starting computation ...
Total mass at initial time: 0.32500000000001256
AMRCLAW: Frame 0 output files done at time t = 0.000000D+00
Regridding level 3 at t = 0.160000E-01: 12 grids with 7200 cells
Regridding level 2 at t = 0.340000E-01: 4 grids with 7800 cells
Regridding level 3 at t = 0.340000E-01: 12 grids with 7200 cells
Regridding level 3 at t = 0.520000E-01: 12 grids with 7600 cells
Regridding level 2 at t = 0.700000E-01: 4 grids with 6240 cells
Regridding level 3 at t = 0.700000E-01: 12 grids with 7600 cells
Regridding level 3 at t = 0.880000E-01: 12 grids with 8000 cells
Regridding level 2 at t = 0.106000E+00: 4 grids with 6240 cells
Regridding level 3 at t = 0.106000E+00: 12 grids with 7600 cells
Regridding level 3 at t = 0.124000E+00: 12 grids with 7600 cells
Regridding level 2 at t = 0.142000E+00: 4 grids with 6240 cells
Regridding level 3 at t = 0.142000E+00: 12 grids with 8000 cells
Regridding level 3 at t = 0.160000E+00: 12 grids with 8000 cells
Regridding level 2 at t = 0.178000E+00: 4 grids with 6240 cells
Regridding level 3 at t = 0.178000E+00: 12 grids with 8000 cells
Regridding level 3 at t = 0.196000E+00: 12 grids with 8000 cells
AMRCLAW: Frame 1 output files done at time t = 0.200000D+00
The parameter
verbosity_regrid
can be set insetrun.py
to specify output desired about each regridding. It is supposed to be independent ofverbosity
, but was being reset tomethod(4)
, which isverbosity
in the code.In addition to fixing that, I improved the output it produces, so that it prints the time of regridding too. So now if
verbosity == 0
and it is not printing other info each time step it can still print more useful regridding info.If this looks ok I will make the same changes in geoclaw.
Sample output with
verbosity == 0
andverbosity_regrid == 3
: