do not output grid structure to files in SetupGH

Create issue
Issue #908 closed
Roland Haas created an issue

instead wait until WRAGH at which point IOUtils has had time to initialize itself and we can query IO_TruncateOutputFiles with confidence.


Comments (4)

  1. Roland Haas reporter
    • changed status to open
    • changed component to Carpet
    • removed comment

    please ignore the second patch. There was a hickup in my network connection and pressing relaod caused this.

  2. Erik Schnetter
    • changed status to open
    • removed comment

    Carpet outputs its grid structure not in schedule groups, but instead in routines directly called e.g. from Initialise or Evolve. This would also simplify the patch. Could you add the call to output the grid structure to some location in Right after the call to "CallSetup" should be good.

  3. Roland Haas reporter
    • changed status to resolved
    • removed comment

    Will do. It seems as if there already is the required code in it's behind an "#if 0" though (and currently just before CallSetup). I'll see what happens if I activate that code. The code is commented out in the initial commit "Import Carpet".

    I applied the change described above as hash 9ecc30e65127 "Carpet: output grid structures to file in Initialize instead of in SetupGH" of Carpet.

  4. Log in to comment