Commit Graph

677 Commits

Author SHA1 Message Date
Jorrit Wronski
a7486a168f Further work on the nD Python inputs, see #1959 2020-07-28 15:55:27 +02:00
Ian Bell
e2b8d104b7 Fix docs for set_reference_stateD 2020-06-28 10:53:18 -04:00
Ian Bell
b73fc96895 Maybe this will work? 2020-06-05 20:59:20 -04:00
Ian Bell
dec07d1e93 Wrong argument, maybe this does it
See #1940 #1942
2020-06-02 22:28:08 -04:00
Ian Bell
4ea25dc0f1 Also add flags for cmake build 2020-06-02 22:14:20 -04:00
Ian Bell
b269a2f11e Fix(?) runtimes for python on windows
See #1940 and #1942
2020-06-02 22:13:46 -04:00
Jorrit Wronski
d6a983fdf9 This should fix #1941, validation is pending 2020-06-02 15:41:02 +02:00
Jorrit Wronski
2ab4cbf9ec Started to work on #1898, are we already done? 2020-05-13 10:41:50 +02:00
Jorrit Wronski
0b14b57fff Use the latest docker containers that include Python 3.8 - See also #1928 2020-05-09 23:58:41 +02:00
ian
db4520ebfa Maybe this includes python 3.3 for manylinux? 2020-05-08 23:53:33 -04:00
Ian Bell
ec2d8d9998 Hardcode compilation flags for py2.7 on windows
Couldn't get the tempfile compile tests to work in win10
2020-05-07 08:18:07 -04:00
Zach Baird
feec37f2d8 Fix pcsaft flash (#1913)
* fixing PC-SAFT flashes

* minor fixes from review

* corrections requested in review
2020-04-09 12:14:15 -04:00
ian
ceca199e73 Revert #1896 2020-02-22 14:07:18 -05:00
dailyllama
829e579ee3 Update init.py byte string in split for Py3.8 (#1896) 2020-02-07 13:27:22 -07:00
ian
4f2254f438 Seems a seek(0) is needed 2019-12-13 22:26:09 -07:00
ian
876d594fc0 Maybe fix shared_ptr in python too? 2019-12-13 20:23:10 -07:00
Zach Baird
8108b4b80b Adding PC-SAFT EOS (#1877)
* initial commit

* got pressure unit tests working

* Added density solver and tests

* Added enthalpy function

* Added unit tests for S and G

* partial addition of flash

* PCSAFT backend implemented

* added missing semicolon

* added missing semicolon
2019-12-12 20:49:22 -07:00
Ian Bell
5fbe19801f Py38 (#1878) 2019-12-12 20:34:00 -07:00
ian
e865dc94a5 Maybe this literal bytes isn't needed? 2019-12-02 19:17:34 -07:00
ian
13b4631b7a Fix list of fluids 2019-11-08 21:38:42 -07:00
ian
a95b1f4d45 Add compressibility_factor to Python; closes #1855 2019-09-19 22:25:29 -06:00
ian
07d9b1033a Let bitness not be specified 2019-08-11 22:00:52 -06:00
ian
84dcbda935 Allow REFPROP error threshold to be changed; closes #1847 2019-08-11 21:43:29 -06:00
Ian Bell
3c5c1b9b41 Think I fixed emscripten via a RelWithDebInfo workaround 2019-03-30 12:37:54 -06:00
Alberto Lazzarotto
87efdcb1ec update syntax to julia 1.0 (#1751)
* update syntax to julia 1.0

* modified indentation
2019-01-25 08:55:53 -07:00
Ian Bell
0e7437f95b More pep8 whitespace; see #1612 2019-01-12 20:48:56 -07:00
Ian Bell
3b1eb50324 More pep8 whitespace; see #1612 2019-01-12 20:45:25 -07:00
Ian Bell
8d131a2e59 More safe whitespace changes 2019-01-12 20:24:55 -07:00
Ian Bell
4423219f2b pep8 whitespace 2019-01-12 20:14:51 -07:00
Ian Bell
f5a2ab3de1 Maybe fix some doxylink errors 2019-01-12 17:19:29 -07:00
Ian Bell
13554d0047 Remove reference to unicode 2019-01-12 00:53:56 -07:00
Ian Bell
252d9faef9 Try without unicode 2019-01-12 00:15:21 -07:00
Ian Bell
8a59e56788 Also add six 2019-01-11 23:04:49 -07:00
Ian Bell
b3bc946e06 Another Py 2->3 2019-01-11 22:59:38 -07:00
Ian Bell
a73e447f92 Revert changes for FMT; should have been done in branch (sorry @jowr) 2019-01-11 21:27:56 -07:00
Ian Bell
a83b13d05c Python should add FMT header only? 2019-01-11 20:57:44 -07:00
Ian Bell
7b8314671f Add changes to consistency plots: 2019-01-11 18:58:28 -07:00
spinnau
cd48615207 Make wrapper for LibreOffice an extension (#1773)
* Make wrapper for LibreOffice an extension

The LibreOffice wrapper is changed to be a real extension for LibreOffice.
Just as with the current solution, Python is used for the calculations in
the background.

* The extension now contains the complete wrapper code. Thus, there is
  no need anymore to use a special prepared LibreOffice template file.

* The wrapper is extended to contain all high-level interface functions
  and includes descriptions for the cell formulas.

* The extension contains a helper function to download and install the
  CoolProp Python package within the extension directory. This function
  can be called from the LibreOffice options menu. On macOS the Python
  certifi package will be used to verify certificates for https downloads.

* Update web documentation for new LibreOffice extension

* Installation and usage instructions

* Create CMake target for building of the LibreOffice wrapper

* Prepare and bundle all files as .oxt extension file
2019-01-11 12:16:08 -07:00
Jorrit Wronski
fe7c8f1805 Feature/recent compilers (#1783)
This fixes many issues: 
- Python packages can be built with XCode 10, closes #1782 
- Handling of CMake options for OSX stdc++ is streamlined
- TR1 warnings from MSVC 2017 have been silenced
- Nightly builds fixed, closes #1778 
- Documentation builds fixed, closes #1762 
- Python source packages are updated with recent Cython, closes #1777
2019-01-11 11:42:55 +01:00
Ian Bell
7479175fc6 Typo in setup.py 2019-01-10 14:27:00 -07:00
Ian Bell
6c46d7d257 A possibly naive solution for 10.14 2019-01-10 14:23:48 -07:00
Ian Bell
ede4fec6f6 Don't force OSX 10.5 compat 2019-01-09 23:36:04 -07:00
Jeff Henning
de465e1cf6 Disambiguate IF97 Fluid Names - Water only (#1770) 2018-12-19 22:55:42 -05:00
Szabolcs Horvát
a1e6b713a7 Free input strings in Mathematica interface (#1761)
* Free input strings in Mathematica interface
2018-11-28 20:58:39 -05:00
Jeff Henning
4b1ace160e Throw sensible error message for single-phase surface tension (#1755) 2018-10-29 09:08:54 +01:00
Jorrit Wronski
e00a31f1ef Use docker to build the Javascript wrapper 2018-10-24 20:04:03 +02:00
Ian Bell
aadea90451 Don't overwrite the passed in fluid string 2018-10-21 17:29:57 +02:00
scls19fr
4d487ac3f0 Update example.py (#1749) 2018-10-19 23:17:03 +02:00
Jeff Henning
34dcb680d4 Show an actual DeprecationWarning if Props() used. (#1743)
* Show an actual DeprecationWarning if Props() used.

* Add warning suppression to Python wrapper docs [ci skip]
2018-10-13 09:23:07 -04:00
Ian Bell
70b717f13d Switch from string to bytes, should ensure ABI compatibility of manylinux builds 2018-10-11 22:15:20 +02:00