Commit Graph

4603 Commits

Author SHA1 Message Date
Matthis Thorade
38e287019d editorconfig (#1609)
* basic .editorconfig

documentation is on  http://editorconfig.org
examples with cpp and py here on github: https://git.io/vFu7X

* remove some extensions

* rules for json, travis, makefile

* Makefile with capital M

[CI skip]
2018-03-06 07:51:58 -07:00
Ian Bell
945f82e90e Fix the default values to assume that l and m are double, not int 2018-03-03 17:13:00 -07:00
xaumex
3387c1006e Mistake in function 'inline_label' in CoolProp/Plots/Common.py (#1656) 2018-02-27 22:19:45 -07:00
Ian Bell
0de443435d Fixes chemical potential of pure fluids; see #1653 2018-02-23 21:47:37 -07:00
Ian Bell
64215fdee2 Fix crash when set_mole_fractions() not called; closes #1393 2018-02-23 20:49:02 -07:00
Ian Bell
194ab07072 Fix cimport paths for python 3.x; closes #1649 2018-02-23 20:41:33 -07:00
Ian Bell
44d8a9ecb0 Allow abiliy to always reload library; closes #1648 2018-02-15 21:53:35 -07:00
Jeff Henning
489cf13898 Fixes Logic Bugs When Imposing Phase on TTSE and HEOS Input Pairs (#1625)
* Allow imposed two-phase update() to TTSE without failing

* Fixes HEOS DP, ST, DT input pairs when phase is imposed
2018-02-12 21:16:13 -07:00
Jeff Henning
4550317ac3 Provide error string from PhaseSI() if phase can't be determined. (#1645) 2018-02-11 18:44:44 -07:00
notmyrealhandle
6a57dc70f2 fix inconsistent function declarations between AbstractState.pyx and AbstractState.pxd (#1638) (#1640) 2018-01-30 22:14:14 -07:00
Ian Bell
0d23a3101d Fix bug with copying of states and their reducing functions 2018-01-28 12:47:58 -07:00
Jeff Henning
d394aa1968 Parse out zero mole fraction components in PropsSI() (#1628)
* Parse out zero mole fraction components in PropsSI()
* PropsSI() smallest mixture fraction to ignore = 10*DBL_EPSILON
2018-01-07 14:58:27 -05:00
Ian Bell
73b0b15878 Fix REFPROP phase envelope with predefined mixtures; closes #1629 2018-01-06 17:11:41 -07:00
Ian Bell
7980378001 Predefined mixture can now have uppercase .MIX; closes #1630 2018-01-06 16:46:39 -07:00
Jeff Henning
2658fdfa0e Update Low-Level API documentation for imposed phase [skip ci] (#1626) 2018-01-04 21:22:11 -07:00
Ian Bell
2435739d8b Fix const method on ODE class 2018-01-01 12:19:24 -07:00
Jorrit Wronski
87932a51b6 This fixes the 64bit builds on Linux, but does not help with 32 bit since the libraries are missing on the buildbot worker (and cannot be installed) 2017-12-20 09:19:40 +01:00
Jorrit Wronski
3fac4949f2 upload wheels using buildbot instead of rsync 2017-12-19 16:54:50 +01:00
Ian Bell
fdd5de66ac Skip some of the Props calls and go right to the AbstractState 2017-12-19 08:05:41 -07:00
Jorrit Wronski
cc180db2f9 Use docker cp instead of volumes to fix uid issues, more a hack than a fix. 2017-12-19 09:20:43 +01:00
Ian Bell
dfae574ed2 Remove unused slave from buildbot config 2017-12-18 18:49:22 -07:00
Jorrit Wronski
40e032d2f1 Updated IF97 to the latest tag 2017-12-18 22:55:27 +01:00
Jorrit Wronski
bff23f8123 Added some more buildbot documentation 2017-12-18 22:54:06 +01:00
Jorrit Wronski
c001f876fa a missing comma 2017-12-18 20:57:01 +01:00
Jorrit Wronski
5944cb5992 Changed the master configuration to use the new buildbot passwords 2017-12-18 20:55:35 +01:00
Jorrit Wronski
a14d03711c Update gcc version for new OSX builder 2017-12-18 15:41:34 +01:00
Ian Bell
357a92aae3 Fix some unicode string handling issues 2017-12-16 17:07:25 -07:00
Ian Bell
6042f2a4eb Add ability to retrieve the list of cubic fluids that are loaded 2017-12-14 15:38:12 -07:00
Ian Bell
dadf8857c2 Fix has_melting_line for REFPROP backend 2017-12-14 10:42:43 -07:00
thorade
b2a97330e6 fix syntax: err_count += 1
https://stackoverflow.com/questions/2632677/python-integer-incrementing-with
2017-12-13 16:10:00 +01:00
thorade
ab6de1e5ac ignore IDE settings 2017-12-13 16:03:05 +01:00
Matthis Thorade
19a4875879 More autopep8 (#1621)
* autopep8 rule-groups E101,W1,W2,W3

* autopep8 with rule group E3 (blank lines)

autopep8 --in-place --recursive --max-line-length=200 --exclude="externals" --select="E101,E3,W1,W2,W3" .

* tabs and space W191

* autopep8 aggressive
2017-12-13 14:43:41 +01:00
thorade
d3fb738651 pull latest rapidjson master 2017-12-13 13:33:06 +01:00
thorade
59625999e4 update URL
this closes #1608
2017-12-13 13:33:06 +01:00
Ian Bell
4f500ba4bf Add the ability to force the bitness to be the native bitness for cross-compilation for Raspberry PI (and other targets) 2017-12-12 20:53:56 -07:00
Ian Bell
7ea50a832f Implement calc_name and calc_fluid_names for tabular backends; closes #1616 2017-12-12 20:43:38 -07:00
Matthis Thorade
0711a2e66f only clone the last 5 commits (#1610) 2017-12-12 08:32:58 -07:00
Matthis Thorade
526cb198a4 autopep8 whitespace (#1613)
* autopep8 whitespace only:

--select="E101,W1,W2"

* revert single file: web2py_online.py

Should this be a .py file at all?

* revert file Tickets/1443.py because the diff looked strange:

maybe there is an encoding problem?

* Rename web2py_online.py to web2py_online.rst
2017-12-12 08:32:38 -07:00
Ian Bell
33dff0be6d Bump REFPROP-headers 2017-12-05 23:25:13 -07:00
Ian Bell
42231068da Bump REFPROP-headers 2017-12-05 20:15:19 -07:00
Ian Bell
491d432ce1 Bump REFPROP-headers 2017-12-05 09:36:55 -07:00
Ian Bell
d2a142a4e3 Add some residual pass-through convenience functions 2017-12-03 17:57:56 -07:00
Ian Bell
034a2d4612 Add include guard for ODEIntegrators.h 2017-12-03 16:18:35 -07:00
Jeff Henning
b8abf167b3 Patch PT_flash() to update _phase with imposed phase, in case it changed (#1606)
Also makes phase_lookup_string(phases Phase) available through CoolProp.h header for use in debug, warning, and error messages.
2017-12-03 18:02:36 -05:00
Ian Bell
614834abb9 Add residual versions of psi derivatives 2017-12-02 13:24:20 -07:00
Ian Bell
9a604420e3 First step of reducing the number of calls for alpha0 2017-12-02 12:42:59 -07:00
Ian Bell
1bb6fccec5 Pre-calcaulate common exp(theta[i]*tau) terms 2017-12-02 11:00:35 -07:00
Jorrit Wronski
fa88860fbb Updated REFRPROP-headers 2017-12-01 14:44:16 +01:00
Jorrit Wronski
a5309a3ecb Added 'name' output to HEOS fluid_param_string 2017-11-22 14:13:01 +01:00
Ian Bell
3b40b6f00c Add GuessesStructure to pybind11 interface 2017-11-20 22:04:25 -07:00