Skip to content

Commit d1c8ced

Browse files
committed
update version
1 parent 8da6f2e commit d1c8ced

12 files changed

Lines changed: 28 additions & 16 deletions

File tree

Matlab/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SeaFreeze
22

3-
V1.1.0 (Matlab version)
3+
V1.1.1 (Matlab version)
44

55
The SeaFreeze package computes thermodynamic and elastic properties of water, ice polymorphs (Ih, II, III, V, VI, VII and X) and aqueous NaCl solutions in the 0-100 GPa and 220-10000 K range, with the study of icy worlds and their oceans in mind. It is based on Gibbs Local Basis Function (LBF) parametrizations (https://github.com/jmichaelb/LocalBasisFunction) for each phase. The formalism is described in Brown (2018), Journaux et al. (2020), and in the liquid water Gibbs parametrization by Bollengier, Brown, and Shaw (2019).
66

@@ -27,7 +27,7 @@ addpath(genpath('/path/to/SeaFreeze/Matlab'))
2727
All spline data files ship inside `Matlab/splines/` — no extra downloads required. You can verify the install with:
2828

2929
```matlab
30-
SeaFreeze_version % should print '1.1.0'
30+
SeaFreeze_version % should print '1.1.1'
3131
```
3232

3333
## Running SeaFreeze
@@ -196,7 +196,7 @@ out = SF_getprop({P,T,m}, 'NaClaq', {'rho','aw'});
196196
Return the current version string:
197197
```matlab
198198
SeaFreeze_version
199-
% '1.1.0'
199+
% '1.1.1'
200200
```
201201

202202
### `SF_WhichPhase`

Matlab/SF_WPD.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
function fig = SF_WPD(varargin)
22
% SF_WPD Draw the H2O Water Phase Diagram.
3-
% Version 1.1.0
3+
% Version 1.1.1
44
% Baptiste Journaux - 2026
55
%
66
% Computes all phase boundaries dynamically from Gibbs energy splines

Matlab/SF_WhichPhase.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
function out = SF_WhichPhase(PT, varargin)
2-
% Version 1.1.0
2+
% Version 1.1.1
33
% Baptiste Journaux - 2026
44
% Determine which supported phase is stable at given conditions.
55
%

Matlab/SF_getprop.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
function out = SF_getprop(PT, material, props)
2-
% Version 1.1.0 ; Journaux et al. 2025
2+
% Version 1.1.1 ; Journaux et al. 2025
33
% Baptiste Journaux - 2026
44
% Calculate thermodynamic quantities for water or ice polymorphs
55
% (Ih, II, III, V, VI, VII and X) and for aqueous NaCl solution.

Matlab/SeaFreeze_version.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
function ver=SeaFreeze_version
22
% show the current version of SeaFreeze
3-
ver = '1.1.0';
3+
ver = '1.1.1';
44
end

Matlab/internal/SF_NaCl_stitch.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
function Results = SF_NaCl_stitch(spLP, spHP, PT, props)
22
% SF_NaCl_stitch Evaluate NaCl(aq) properties from stitched LP + HP splines.
3-
% Version 1.1.0 — Baptiste Journaux — 2026
3+
% Version 1.1.1 — Baptiste Journaux — 2026
44
%
55
% Stitches two complementary NaCl(aq) Gibbs splines that cover different P
66
% ranges:

Python/MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
include LICENSE.txt
22
recursive-include seafreeze/splines *.mat
3+
recursive-include seafreeze/figures *.png
34
recursive-include mlbspline *.mat
45
recursive-include lbftd *.mat

Python/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SeaFreeze
22

3-
V1.1.0
3+
V1.1.1
44

55
The SeaFreeze package allows to compute the thermodynamic and elastic properties of water and ice polymorphs (Ih, II, III, V, VI and ice VII/ice X) in the 0-100 GPa and 220-10000 K range, with the study of icy worlds and their ocean in mind. It is based on the evaluation of Gibbs Local Basis Functions parametrization (https://github.com/jmichaelb/LocalBasisFunction) for each phase. The formalism is described in more details in Brown (2018), Journaux et al. (2019), and in the liquid water Gibbs parametrization by Bollengier, Brown, and Shaw (2019).
66

@@ -260,7 +260,7 @@ plt.tight_layout()
260260
plt.show()
261261
```
262262

263-
![Ice Ih melting curves with NaCl](seafreeze/figures/phase_Ih_melting_NaCl.png)
263+
![Ice Ih melting curves with NaCl](https://raw.githubusercontent.com/Bjournaux/SeaFreeze/master/Python/seafreeze/figures/phase_Ih_melting_NaCl.png)
264264

265265
### Example — Full pure-water phase diagram
266266

@@ -281,7 +281,7 @@ plt.show()
281281
fig = wpd(show_meta=False, phase_labels=True, solute='NaCl', m=[0.5, 2.0, 4.0])
282282
```
283283

284-
![Full water phase diagram](seafreeze/figures/WPD_python.png)
284+
![Full water phase diagram](https://raw.githubusercontent.com/Bjournaux/SeaFreeze/master/Python/seafreeze/figures/WPD_python.png)
285285

286286
---
287287

@@ -312,6 +312,7 @@ SeaFreeze stability prediction is currently considered valid down to 130K, which
312312
## Change log
313313

314314
### Changes since 0.9.0
315+
- `1.1.1`: Added `matplotlib` to Python dependencies; removed `numpy<2` upper bound for NumPy 2.x compatibility.
315316
- `1.1.0`: added `seafreeze.phaselines` module — phase boundary computation (`phase_lines`, `phase_range`) and the full water phase diagram plotter (`wpd`); NaClaq melting curves for Ih, II, III, V, and VI; cross-validated against the Matlab SF_PhaseLines implementation to < 0.01 K. `getProp` output now matches Matlab `SF_getprop` exactly: added `Js`, `gamma_Gruneisen`, `P`/`T` echoes, NaClaq mixing properties (`m`, `xs`, `xw`, `f`, `Vw`); removed Python-only `V`, `gam`, `Gex` from default output; individual per-spline `.mat` files replace the monolithic spline archive.
316317
- `1.0`: added NaCl aqueous solution EOS and concentration dependent thermodynamic variables.
317318
- `0.9.4`: Adjusted python readme syntax and package authorship info

Python/mlbspline/eval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def evalMultivarSpline(spd, x, der=None, allowExtrapolations=True):
3030
if True (default), extrapolations will be calculated according to the
3131
spline's coefficients at its boundaries. Not recommended, but used as default to preserve behavior.
3232
:return: a Numpy n-D array. If x is a ndarray, then output.shape == x.shape.
33-
If x is a tuple, then output.shape == tuple(np.ones(len(x), np.int)).
33+
If x is a tuple, then output.shape == tuple(np.ones(len(x), int)).
3434
"""
3535
if der is None:
3636
der = []

Python/seafreeze/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from .seafreeze import getProp, whichphase, phasenum2phase, phases
2+
from .phaselines import phase_lines, phase_range, wpd
3+
4+
__all__ = [
5+
'getProp', 'whichphase', 'phasenum2phase', 'phases',
6+
'phase_lines', 'phase_range', 'wpd',
7+
]

0 commit comments

Comments
 (0)