Commit Graph

916 Commits

Author SHA1 Message Date
Ian Bell
55004163bd Update build scripts and documentation for scikit-build-core
Changes:
- Updated documentation to show modern pip-based installation
- Updated manylinux build script to use pip wheel instead of setup.py
- Updated conda metadata generator to use pip install
- Removed deprecated PyPI preparation script (replaced by `python -m build --sdist`)

All build infrastructure now uses the new scikit-build-core build system.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-11 09:45:15 -04:00
Ian Bell
896e85d129 Add Ideal gas methods (#2626)
* Add ability to get at the ideal-gas properties directly

Also through the python interface

* And python interface files

* Fixes the missing reference to ideal gas notebook
2025-10-04 16:00:30 -04:00
Josh Kelley
1b5096de6c Improvements to mixture pair management (#2579)
* Improvements to mixture pair management

Add C++ function declarations for functions that are exposed to Python but not C++.

Update apply_simple_mixing_rule to not break default rules.  This has caused confusion and bugs in the past; see, e.g., https://github.com/CoolProp/CoolProp/issues/1874, https://github.com/CoolProp/CoolProp/issues/2082.

* Delete no longer applicable docs

See #1875
2025-10-04 12:34:21 -04:00
Ian Bell
2a1c5d7231 Update changelog 2025-09-20 13:01:50 -04:00
Ian Bell
faa22648c8 Update JS demo for ES6 modularized CoolProp 2025-09-04 20:42:04 -04:00
Ian Bell
585a3dab1a Add a notebook about the ideal-gas properties to docs
See #2569
2025-08-10 08:25:03 -04:00
Ian Bell
5659841cf6 Version 7.0.0 2025-08-09 12:04:57 -04:00
Ian Bell
572554f9e7 Fix mathjax path and add test 2025-08-09 09:02:11 -04:00
Ian Bell
6ffc12474b Update mathjax paths and pin version 2025-08-08 20:18:38 -04:00
Ian Bell
19109a4ca2 Add note about superancillaries env var
See #2571
2025-07-04 19:15:46 -04:00
Ian Bell
e561faa531 Switch to pydata theme (#2562) 2025-06-27 11:06:23 -04:00
Ian Bell
2891ea6058 Remove note about old docs 2025-06-26 17:10:34 -04:00
Ian Bell
cf03991d04 Force logo to exist
See #2559
2025-06-26 17:09:44 -04:00
Ian Bell
e461c34e79 Update release notes 2025-05-20 07:58:27 -04:00
Ian Bell
21a60c9c46 Disable the humid air jupyter notebook 2025-05-18 15:29:22 -04:00
Ian Bell
267d64533a Superancillaries for pure fluids (#2511)
* Expansions are fully wrapped, looking good. Next step is the set of expansions that is the 1D approximation

* Get 1D approx working via cython

* Count solutions

* SuperAncillary class is working

>1000x speedup for water
Time for C++!

* Superancillaries are working!

In C++, speedup is more than 2000x. In Python, more like 150x because of Python <-> C++ overhead

* Add pmax check for PQ superancillary calls

* Update tests

* Allow T limits to be obtained

* Implement get_fluid_parameter_double for getting superanc value

* Add tests for getting parameters from superanc

* Script for testing superancillaries for sphinx

* Microoptimizations; don't help speed

The limiting factor remains the clear function, which takes about 30 ns

* Add R125 superancillary

* Use the release from fastchebpure for the files

* Drop a .gitignore in the unzipped folder

* Update superancillary injection script

* Turn on superancillaries by default

* Missing header

* Many int conversions in superancillary

* Another int cast

* More annoying solution for boost iter max

* Fix warnings

* One more warning

* Clear up the calculation of rho

* Update docs_docker-build.yml

Use arm64 since the containers were built on mac

* Superfluous ;

* Update backend.py

* Get the critical points working for superancillaries

* Fix wrapping changes of xmin&xmax methods

* squelch warnings

* Version 0 of jupyter notebook for docs

* Try to add the notebook to the docs

* Add jupyter notebook for superancillary

* Lots of updates to superancillary notebook

* More updates to docs

* Skip pseudo-pure for superancillary docs

* Fix output of superancillary figures

* Add superancillary plots to docs for the page for each fluid

* Make a placeholder figure for fluids without superancillary

* Add superancillary plots to task list

* Bump to release fixing m-xylene

* Relax the location of the REFPROP stuff

* Change default name for R-1336mzz(E)

* No need for figures to be so large

* Don't need REFPROP setting

* Bump to fastchebpure release with methanol

* Benchmark caching options

* Benchmark more granularly

* Add the fast methods to public API for HEOS class

* Back to memset - can memset with 0 but no other value

* Fix how caching is managed in Helmholtz class

* Close to final implementation

Perhaps a tiny bit more optimization possible?

* Update function name

* Make message more accurate

* Fix init order

* Expose update_QT_pure_superanc to Python

* Fix when _reducing is set for pures

* Fix the post_update

* Indent

* Notebook

* Notebook

* Make ln(p) construction lazy

Only really matters for debug builds

* Also make reference non-const

* Inject superancillary for methanol

* Make the superancillary loading entirely lazy in debug

* Fix PH bug for Nitrogen

 Closes #2470

* Force the clear to be called on SatL and SatV

To invalidate them at start

* Default is non-lazy superancillary loading

* Add CMake option to have lazy-loading superancillaries [skip ci]

Not a good idea unless doing very narrow testing
2025-05-17 20:27:19 -04:00
Ian Bell
dbf8edde68 Update release.rst [skip ci]
Fix RST in release
2025-04-21 18:10:22 -04:00
Ian Bell
442e8bd298 Version v6.8.0 2025-04-21 15:39:41 -04:00
Ian Bell
d2cf821af8 Print the versions 2025-04-21 13:36:30 -04:00
Ian Bell
b19c29128d Render the formulae with roman characters [skip ci] 2025-04-21 11:01:27 -04:00
Ian Bell
deb54c342f Little tweak to RST [skip ci] 2025-04-21 10:50:05 -04:00
Ian Bell
8268753c7a Ignore the mathjax downloaded file [skip ci] 2025-04-21 10:24:35 -04:00
Ian Bell
544bebd518 Small updates to RST files 2025-04-21 10:24:01 -04:00
Ian Bell
27a58a8962 Fix scientific notation for vapor pressures [skip ci] 2025-04-21 10:22:09 -04:00
Ian Bell
eb4aca8733 Another MathCAD [skip ci] 2025-04-21 10:10:31 -04:00
Ian Bell
7ec0362c84 Fix case of Mathcad links [skip ci] 2025-04-21 09:41:01 -04:00
Ian Bell
6b0a94c97f Ignore example build folders and mathjax [skip ci] 2025-04-21 09:35:26 -04:00
Ian Bell
d0cb60f83d Fix version number 2025-04-11 15:50:30 -04:00
Ian Bell
3cb96a021c Overwrite config with env (#2532)
* Allow paths to be set from environment variables

* Add some quick docs
2025-04-11 07:51:06 -04:00
Ian Bell
e42eb0c9b2 Fix clean message [skip ci] 2025-04-11 07:47:34 -04:00
Ian Bell
2841dc3216 Note about removing artifacts [skipci] 2025-04-10 22:07:02 -04:00
Ian Bell
ec74bfb92e Document the COOLPROP_REFPROP_PATH environment variable
Closes #2517
2025-04-10 19:21:56 -04:00
Ian Bell
d57cc90e69 Use a local-hosted version of MathJax
Should eliminate the CORS issues with github pages conclusively
2025-04-10 19:00:56 -04:00
Ian Bell
387c7449d8 Try a https source for mathjax
Does that fix the CORS issues in github pages?
2025-04-10 18:50:57 -04:00
Ian Bell
b21fec98ae Squelch some imagemagick warnings 2025-04-07 20:45:37 -04:00
Ian Bell
3ee94e7eaf No longer need to print out extlinks 2025-04-07 19:37:08 -04:00
Ian Bell
cde223a6b3 Fix MPL deprecation 2025-04-07 19:36:48 -04:00
Ian Bell
e3032baf45 Pick the runner script based on the platform 2025-04-07 19:36:38 -04:00
Ian Bell
4ff10f676b Print full tracebacks on exceptions 2025-04-07 17:03:11 -04:00
Ian Bell
4456af3f5f More doc tweaking 2025-04-07 11:49:17 -04:00
Ian Bell
1b33276a33 Maybe the output target needs to be non-empty? 2025-04-07 10:15:11 -04:00
Ian Bell
8bbc985a5c More updates for new py/np 2025-04-07 08:37:21 -04:00
Ian Bell
87a738ecaf escape latex for new python 2025-04-07 07:34:21 -04:00
Ian Bell
63561bb795 Slightly more helpful error message 2025-04-06 21:38:48 -04:00
Ian Bell
a2890f00ac Some more debugging for extlinks 2025-04-06 21:38:18 -04:00
Ian Bell
5a67a8deb2 turn extlinks back on 2025-04-06 19:04:38 -04:00
Ian Bell
91ac741899 Update format of conf.py 2025-04-06 18:58:34 -04:00
Ian Bell
c77fcf8da9 sphinx.ext.extlinks seems to crash 2025-04-06 14:51:13 -04:00
henningjp
84f9660180 Update Mathcad wrapper docs [skip-ci] 2025-03-14 16:09:51 -04:00
Ian Bell
e84ec7a8ab Update changelog to prepare for v6.7.0 2025-02-20 19:20:35 -05:00