374 Commits

Author SHA1 Message Date
Jorrit Wronski
6924b8d6b7 Added the new docker image for manylinux wheels 2017-03-10 21:55:30 +01:00
Jorrit Wronski
7a1ee42b27 More testing of the plotting functions 2017-03-10 13:48:29 +01:00
Jorrit Wronski
22f6a3b81d This seems to be the most sane handling of the guess values 2017-03-10 12:14:02 +01:00
Jorrit Wronski
686ca2ec00 The guesses do not help much here, unfortunately 2017-03-10 11:29:09 +01:00
Jorrit Wronski
3a33e0a048 An optimistic approach towards using the guess values 2017-03-10 11:19:41 +01:00
Jorrit Wronski
5b198f2e9e Added more hacks to handle the critical point 2017-03-10 09:49:04 +01:00
Jorrit Wronski
bf73e006c0 Added the guesses to the line tracer 2017-03-10 09:29:18 +01:00
Ian Bell
3471e910d0 Expose get_fluid_constant to AbstractState and to python; closes #1394 2017-01-18 19:31:56 -07:00
Ian Bell
85e8be705c Implement set_binary_interaction_string for REFPROP backend to allow for setting departure function (#1358) 2016-11-29 17:58:14 -05:00
Jorrit Wronski
0dac175dae one more update of the manylinux builders to handle #1324 2016-11-18 16:57:23 +01:00
Jorrit Wronski
3905f380e0 Moved the MSVC handling to functions and changed the default for static libraries to dynamic linking, see #1316 2016-11-08 11:01:01 +01:00
Ian Bell
71dc450e10 Fix python windows builds; closes #1319 2016-11-06 12:38:52 -07:00
Ian Bell
b7aa899f1a Fix that get_config_string and get_config_double returns nothing in python; closes #1307 2016-10-31 20:23:54 -06:00
Ian Bell
4895d593f2 Fix spinodal functions 2016-10-23 22:08:06 -06:00
Ian Bell
42e74fab5d Remove void in build_spinodal definition 2016-10-23 20:42:34 -06:00
Ian Bell
365bcb7e18 Update pybind11 wrapper code and build files 2016-10-22 17:22:17 -06:00
Ian Bell
49c6932fda Add preprocessor macro around pybind11 module instantiation to protect it 2016-10-21 18:51:42 -06:00
Ian Bell
94242e224b Add a pybind11 wrapper interface file for low-level interface 2016-10-21 18:46:59 -06:00
Ian Bell
7893a7f7d9 Make spinodal accessible to python
See plot:

```
import CoolProp, numpy as np, matplotlib.pyplot as plt
CP = CoolProp.CoolProp
AS = CP.AbstractState('HEOS','Methane&Ethane')
AS.set_mole_fractions([0.5,0.5])

# The spinodal
AS.build_spinodal()
sp = AS.get_spinodal_data()
plt.plot(sp.tau, sp.delta, label='spinodal')

# The phase envelope
AS.build_phase_envelope("none")
pe = AS.get_phase_envelope_data()
plt.plot(AS.T_reducing()/np.array(pe.T), np.array(pe.rhomolar_vap)/AS.rhomolar_reducing(), label='phase envelope')

plt.show()
```
2016-10-13 20:48:10 -06:00
Jorrit Wronski
3a72d8cf02 Might have fixed the CMake issues in #1247 2016-09-30 00:16:48 +02:00
Ian Bell
5fc1d9f51a Add the ability to set limits in Consistency plots (#1234) 2016-09-16 10:14:30 -06:00
Ian Bell
9a9e7ecc54 Fix path to which cppformat is copied 2016-08-30 18:38:55 -06:00
Ian Bell
1d64b31fa0 Update setup.py for new location of cppformat 2016-08-28 00:51:02 -06:00
Ian Bell
f6b8467249 A few improvements to consistency plots 2016-08-23 22:54:44 -06:00
Ian Bell
47bd64343a Add some more debugging to consistency plots, disable psuedo-pure in two-phase region 2016-08-23 22:32:18 -06:00
Ian Bell
ee040062c7 Add 4th order alphar derivatives to python; closes #1184 2016-08-11 21:42:47 -06:00
Ian Bell
2c598fe33a Add mole fractions to phase envelopes in python and C++; closes #1164 2016-08-10 19:54:20 -06:00
Ian Bell
ab744e1c0d Add evaluation of excess properties in python; closes #1071 2016-07-12 19:46:05 -06:00
Jorrit Wronski
89cac55f86 Removing a single unused import fixes #1094 2016-07-12 16:32:40 +02:00
Ian Bell
ccc4568cbd Re-implement fundamental derivative of gas dynamics; closes #1145 2016-07-09 17:13:44 -06:00
Jorrit Wronski
3632f76e9a handling of the critical point for the plots seems to done, closes #1118 2016-06-09 16:45:51 +02:00
Jorrit Wronski
209474a7e2 Bug in the copy operation for mixtures 2016-06-09 16:18:39 +02:00
Jorrit Wronski
af5104a830 Bug in the copy operation for mixtures 2016-06-09 16:18:38 +02:00
Jorrit Wronski
1a0259a744 Change the factory method to accept more strings, closes #1120 2016-06-09 16:18:38 +02:00
Jorrit Wronski
7c0d3ebe37 Included a manual copy of the abstract state object and exposed the backend name to Python 2016-06-09 16:18:38 +02:00
Jorrit Wronski
809998aecb Added a real state object for the critical state 2016-06-09 16:18:38 +02:00
Ian Bell
8c9b1a5e9b Added Helmholtz energy throughout the API as output parameter; closes #1086 2016-06-05 15:56:37 -06:00
Ian Bell
758c5e0177 Merge branch 'master' of https://github.com/coolprop/coolprop 2016-06-01 20:30:05 -06:00
Ian Bell
e8c90e40e3 Fix typo in python wrapper of acentric factor; closes #1084 2016-06-01 20:29:14 -06:00
Jorrit Wronski
6d669dc607 make the manylinux scripts executable 2016-05-27 13:38:56 +02:00
Jorrit Wronski
272003fff3 Fixed a conflict of Bash variable names 2016-05-27 11:33:39 +02:00
Jorrit Wronski
08fd0997aa Changed the docker scripts 2016-05-27 10:25:21 +02:00
Jorrit Wronski
662e10f8fe Fixed the manylinux builder, closes #1061 2016-05-25 20:40:20 +02:00
Jorrit Wronski
c647124f0e Added the bitness and tags for the docker images 2016-05-25 19:56:30 +02:00
Jorrit Wronski
ade143f664 Added the mass and mole fraction setters to the plotting routines 2016-05-23 16:39:05 +02:00
Jorrit Wronski
0540419251 Replacing the old functions 2016-05-23 12:45:06 +02:00
Jorrit Wronski
be3d6a2a9f Fixed a couple of coding style issues 2016-05-23 09:40:32 +02:00
Jorrit Wronski
dbe7d101c1 More plotting examples 2016-05-23 09:05:02 +02:00
Jorrit Wronski
7df74b5f1a Fixed a couple of minor plotting issues 2016-05-23 00:38:25 +02:00
Jorrit Wronski
82f12a35ee Was this the unicode issue? 2016-05-22 20:52:36 +02:00