Skip to content

Conversation

@Manangka
Copy link
Contributor

@Manangka Manangka commented Dec 23, 2025

This PR refactors the Isotherms in the MST and IST packages
It doesn't contain any functional changes,

The 3 isotherms are moved to their own files and they all implement the IsothermType interface.
A Isotherm factory and Isotherm enum module is added as well

By making these changes a lot of if-else and select case blocks of logic can be simplified.
The main reason for this PR is to prepare the code base for the next PR in which a new formulation for the sorption term in the mst package will be added

I cleaned up most of the code related to the isotherm. However there are 2 areas that need more attention but which i consider out of scope:

  • the sorpteddecay formulation
  • the ist formulation

@Manangka Manangka marked this pull request as ready for review December 23, 2025 13:55
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