pmb->loc.level()
differences in writing and reading restart files
#1051
Labels
question
Further information is requested
For the OpenPMD output #1050 I need to create a logical mesh for each level.
For writing, I use https://github.com/parthenon-hpc-lab/parthenon/pull/1050/files#r1562678570
This resulted in following variables in the output file following the standard (with the root level being 0)
For reading I originally mirrored this, but eventually had to remove the
- pm->GetRootLevel();
from calculating the level https://github.com/parthenon-hpc-lab/parthenon/pull/1050/files#r1562680579as on restart
pmb->loc.level()
returned already either0
,1
, or2
butpm->GetRootLevel();
was2
resulting in wrong level indices.@lroberts36 any clue what's going on?
The text was updated successfully, but these errors were encountered: