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

Mass of pore fluid salt and water content can be negative #55

Open itsmoosh opened 1 year ago

itsmoosh commented 1 year ago

Some conditions where porosity is not modeled can result in negative values for masses in pore fluid salt or water content. These values should probably just be set to NaN when porosity is not modeled, or explicitly zeroed out.