make maxnphi and maxntheta parameters of SphericalSurface steerable

Issue #1034 closed
Roland Haas created an issue

this patch make two parameters of SphericalSurface steerable. Since they control the size of grid arrays that are checkpointed, changing them requires some care, but is fine if eg. a run had no SF turned on initially and one wants to turn them on when recovering from a checkpoint.

Keyword: SphericalSurface

Comments (5)

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

    Please apply.

    Is there a warning / an error when a variable changes size during recovery?

  2. Roland Haas reporter
    • removed comment

    I would expect that CarpetIOHDF5 aborts with "variable read only partially" if one increases these parameters. In my case I set the skip_variables parameter to not recover the radius field (which was fine since the usage case was going from nsurfaces==0 to nsurfaces > 0).

    Applied as rev 50 of SphericalSurfaces.

  3. Log in to comment