Skip to content

Conversation

@jbisits
Copy link
Owner

@jbisits jbisits commented Nov 1, 2023

Previously there was the choice between TEOS10EquationOfState and a LinearEquationOfState. This PR allows any BoussinesqEquationOfState from SeawaterPolynomials.jl to be used by having eos=BoussinesqEquationOfState=TEOS10EquationOfState() as a function argument with default in DNSModel and removing some of the keyword arguments.

Closes #161

Breaking

DNSModel no longer accepts keyword arguments for a LinearEquationOfState or reference_density. Instead these can be set as eos = BoussinesqEquationOfState and then passed to DNSModel.

@jbisits jbisits added Project 2 Related to project two of my PhD Package dev Package development for TLDNS labels Nov 1, 2023
@jbisits jbisits merged commit f430e9c into main Nov 1, 2023
@jbisits jbisits deleted the allowmoreeos branch November 1, 2023 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Package dev Package development for TLDNS Project 2 Related to project two of my PhD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow any equation of state from SeawaterPolynomials.jl to be used

2 participants