vancesteven / PlanetProfile

Construct 1D interior structure models based on planetary properties. Self-consistent thermodynamics are used for fluid, rock, and mineral phases. Sound speeds, attenuation, and electrical conductivities are computed as outputs.
https://vancesteven.github.io/PlanetProfile/
Other
18 stars 13 forks source link

CALC_NEW options have implementation problems #23

Closed itsmoosh closed 2 years ago

itsmoosh commented 3 years ago

Several of the options involving CALC_NEW flags used the Matlab load() function, which restores a saved .mat file with variables. Each instance of this needs to be limited in scope to only load in the necessary variables, to avoid overwriting other runtime variables.

itsmoosh commented 2 years ago

This was fixed by implementing text file save/reload in merging for the 2.0 release: https://github.com/vancesteven/PlanetProfile/commit/b30ec6b586b60363cfec674ac0e40e332b53d4c0