Commit Graph

2057 Commits

Author SHA1 Message Date
Ian Bell
6cc81601ac Fix tests for parameters
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 22:11:58 -05:00
Ian Bell
413078cf00 Throw an error if no successful outputs from _PropsSI_outputs
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 22:11:34 -05:00
Ian Bell
b99d868f36 Repaired failing incompressible tests - string parsing had to be repaired
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 21:42:57 -05:00
Ian Bell
f5de4d363f Fixed initialization to remove copy and remove allocation error
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 20:38:49 -05:00
Ian Bell
f8576b1d49 PropsSImulti is integrated into Python wrapper; extract_fractions is exported
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 20:08:35 -05:00
Ian Bell
f3fe64b486 Make the datastructures test pass
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 18:55:26 -05:00
Ian Bell
7fd56e5f78 Fix EES wrapper again
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 18:17:50 -05:00
Ian Bell
bb11d34a20 Bubble errors properly for EES wrapper
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 18:15:44 -05:00
Ian Bell
97124b1481 Fixed EES builder and expose extract_backend
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 18:03:23 -05:00
Ian Bell
9958bd47d8 Merge branch 'master' into vectorize_PropsSI 2014-12-30 17:44:55 -05:00
Ian Bell
369fa6c1f2 sdist preparation works again
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 17:44:08 -05:00
Ian Bell
492de3edeb Merge branch 'master' into vectorize_PropsSI 2014-12-30 17:39:35 -05:00
Ian Bell
016bfcfc7e Call the generate constants module script when generating sdist for pypi
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 17:38:37 -05:00
Ian Bell
23bdb6d979 Fixed broken incompressible tests
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 17:34:07 -05:00
Ian Bell
04af215f52 Fix fraction formatting in PropsSI error message
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 17:20:29 -05:00
Ian Bell
6bb87e192a Fixed the constant module generation again
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 17:18:45 -05:00
Ian Bell
8df53bc632 Fix bug with enum values that are specified
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 17:14:54 -05:00
Ian Bell
f4a960abdc Undefine min and max macros. Thanks for nothing MS
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 17:05:12 -05:00
Ian Bell
6b601adb10 PropsSImulti takes vector of strings as inputs
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 16:07:19 -05:00
Ian Bell
9c05e93fd6 Refactor AbstractState::factory to take vector of strings
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-30 16:06:07 -05:00
Ian Bell
323eed808c Merge branch 'master' into vectorize_PropsSI 2014-12-30 14:32:11 -05:00
Ian Bell
3717f9ba72 Update the step for NR properly
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-27 12:26:09 -05:00
Ian Bell
287208b972 Use numerical differentiation by default to build the Jacobian for Newton ND
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-27 12:22:56 -05:00
Ian Bell
6dc00552e4 Implement the Prandtl number. Closes #372
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-27 00:38:37 -05:00
Ian Bell
b0ecf02491 One more bug to squash with saturated state
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-26 23:00:39 -05:00
Ian Bell
6c7c658226 Clean up handling of saturated states
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-26 22:55:01 -05:00
Ian Bell
a8375c3912 Added saturated_liquid_keyed_output and saturated_vapor_keyed_output functions to get access to internals for saturation state
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-26 22:24:25 -05:00
Ian Bell
2285e3b8c9 Removed some more functions
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-26 22:23:01 -05:00
Ian Bell
1658fac547 Fix incompressible tests for removed PropsSI overloads
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-26 22:21:02 -05:00
Ian Bell
c9ad1f7e59 Removed unneeded overloads of PropsSI function, leaving only PropsSI and PropsSImulti
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-26 01:45:03 -05:00
Ian Bell
63f2fbe674 Merge branch 'master' into vectorize_PropsSI 2014-12-26 01:34:57 -05:00
Ian Bell
5c87d684de Fix failing py 3.x builds thanks to constants generation script by removing filter call
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-26 01:32:21 -05:00
Ian Bell
a40fee3bbe Add PropsSImulti which allows for vectorization of input values and output keys
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-26 00:28:21 -05:00
Ian Bell
ac42616e60 Fix bug with generate_constants_module.py
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-24 15:26:45 -05:00
Ian Bell
7deaf1ad8e Dmass is now a valid input to get_dT_drho_second_derivatives
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-24 14:23:18 -05:00
Ian Bell
1a7e411546 Expose the functions first_saturation_deriv and second_saturation_deriv through the cython interface
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-24 14:05:22 -05:00
Ian Bell
db24acf6c7 For pure fluids, QT_flash always yields the mean saturation pressure; Closes #364
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-24 12:15:31 -05:00
Ian Bell
c50a4f6494 Automatically generate the enum keys for Python. Maybe helps with pydev issue; See #367
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-24 12:09:25 -05:00
Ian Bell
c2047e4162 Define get_mixture_binary_pair_data as extern in DataStructures.h in order to allow linking CoolProp and PDSim
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-24 11:17:14 -05:00
Ian Bell
92a1336a4b Add link to StateCalc to main page on website; Closes #368
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-22 15:33:42 -05:00
Ian Bell
1310af00bd Allow access to gas constant through PropsSI/Props1SI; Closes #366
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-22 15:30:17 -05:00
Ian Bell
c74317c3ae Revert changes of @squoilin to Julia wrappers
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-22 15:15:22 -05:00
squoilin
38e540a30d Merge branch 'master' of https://github.com/CoolProp/CoolProp 2014-12-21 18:04:15 +01:00
squoilin
34ad12f312 Fixed bug in the Julia wrapper, updated documentation for Linux users 2014-12-21 18:03:47 +01:00
squoilin
0c89f686e6 Fixed bug in the Julia wrapper, updated documentation for Linux users 2014-12-20 20:46:08 +01:00
Jorrit Wronski
3206734a65 .. but now it works 2014-12-20 17:22:34 +01:00
Jorrit Wronski
798a588f4d Clean the source dir from git stuff in the externals before publishing 2014-12-20 17:20:33 +01:00
Jorrit Wronski
50df77500d Initialise submodules during sources update, fixes #365 2014-12-20 17:05:52 +01:00
Ian Bell
3e84b89c71 Bump revision and make MATLAB get the right SWIG dependencies
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-12-19 18:29:50 -06:00
Ian Bell
db178fe5fd Added release notes for v5.0.4
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
v5.0.4
2014-12-19 17:46:47 -06:00