Closed DecBrick closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 86.86%. Comparing base (
3209197
) to head (11852c8
).
Thanks for the PR. My main concern with saving the whole params struct is that if we change the params struct and then load an old solution, the params will be incompatible. We'd need some infrastructure for making all the params from old versions compatible with new ones
Looking into the loading in load_restarts, the only parts of the restart params that are actually loaded into the new simulation params are z_cell and ncharge. As most of the params are reset using the called configuration, rather that loaded from the old values, I don't forsee version conflicts really arising. The main benefit saving the entire params object offers is that one can access the old config for debugging
Oh great. This looks good to me then! I'll tag a new patch version once this merges
Three changes from this commit: