Skip to content

Conversation

@bobmyhill
Copy link
Member

Many of the equations of state in BurnMan are isothermal. In these equations of state, we arbitrarily set entropy, Cp, grueneisen and thermal expansivity to a fixed value. This led to many lines of duplicated code.

This PR implements an IsothermalEquationOfState class that allows a single definition of these functions. All the isothermal equations of state are now derived from this new class.

This PR also removes unused imports from other files.

@bobmyhill bobmyhill merged commit a7fd509 into geodynamics:main May 18, 2025
12 checks passed
@bobmyhill bobmyhill deleted the isothermal_eos branch May 18, 2025 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant