Commit Graph

2574 Commits

Author SHA1 Message Date
Ian Bell
9e9687293e Fixed bug in conformal state solver; closes #523 2015-03-10 21:19:32 -06:00
Ian Bell
eeca367112 Merge branch 'master' of https://github.com/coolprop/coolprop 2015-03-10 20:01:01 -06:00
Ian Bell
cb59cbcea0 When the reference state is changed, update the fixed points
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-03-10 20:00:48 -06:00
Ian Bell
6c4f8ef5d9 Merge pull request #534 from JonWel/master
Add error handling to Julia's wrapper
2015-03-11 02:47:29 +01:00
Ian Bell
79a7350b55 Fix(?) SWIG+MATLAB by moving enum out of class 2015-03-10 19:34:45 -06:00
JonWel
cc9fd104ad Update CoolProp.jl
Add call to Props1SI to PropsSI when only two string arguments.
2015-03-10 18:56:58 +01:00
JonWel
dd498a49b6 Update CoolProp.jl
Add call to Props1SI to PropsSI when only two string arguments.
2015-03-10 18:55:26 +01:00
JonWel
eaf194b54d Update CoolProp.jl
Added error handling (currently not working with Julia's Ubuntu ppa but work is on progress)
Changed numeric input requirement to be ´Number´ instead of restricting to ´Float64´, that allows both integer and floats to be used as input with few overhead (the Float64 version is still internally created by Julia and the overhead for the conversion from Int64 to Float64 seems negligible compare to the execution time from the functions, I could only time a difference in jit compilation time).
Added ´K2F´,  ´get_global_param_string´ and ´get_param_index´ functions
2015-03-10 16:52:22 +01:00
JonWel
cdd73c2358 Update CoolProp.jl
Added error handling
Changed numeric input requirement to be ´Number´ instead of restricting to ´Float64´, that allows both integer and floats to be used as input with few overhead (the Float64 version is still internally created by Julia and the overhead for the conversion from Int64 to Float64 seems negligible compare to the execution time from the functions, I could only time a difference in jit compilation time).
Added ´K2F´,  ´get_global_param_string´ and ´get_param_index´ functions
2015-03-10 16:40:43 +01:00
JonWel
ccacec3a9f Merge pull request #2 from CoolProp/master
Update local rep
2015-03-10 15:28:56 +01:00
Ian Bell
275adbbb6f Fixed reference states for real; Closes #524 2015-03-10 01:17:44 -06:00
Ian Bell
bb7b446c6b Check if HS update deltas are valid numbers 2015-03-09 23:44:38 -06:00
Ian Bell
9c680ff7a1 Fixed error message for calc_alpha0_deriv_nocache; still a bug 2015-03-09 23:42:04 -06:00
Ian Bell
b44523c8bd hide enum from swig+matlab 2015-03-09 23:33:44 -06:00
Ian Bell
04145b5c15 Killed off a bunch of order-of-initialization warnings from mingw
Watch out @mkaganski, its not serious, but annoying.

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-03-09 23:30:53 -06:00
Ian Bell
1823cb7fcc get_BibTeXkey now throws for bad inputs
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-03-09 23:13:11 -06:00
Ian Bell
42ff2c53eb Initialize tabular pointers for TTSE
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-03-09 23:01:32 -06:00
Ian Bell
3915fbd56d Maybe making config data types private will work with SWIG 2015-03-09 22:57:03 -06:00
Ian Bell
b668534a70 Merge pull request #532 from mikekaganski/master
More Coverity cleanups
2015-03-09 14:57:54 +01:00
mikekaganski
84bd9b9dc9 A fix for Coverity CIDs 38532 & 38536
@ibell: I'm afraid here is some not finished function. It deliberately
treats its input as T, regardless of ykey actual value; it defined r (I
commented it out) but used p as return value. It makes some
calculations, but they seem to be useless, as only p matters. (I'm not
sure if there's some side effects of those calls, though.)
I cleaned it up a bit, to make it more transparent. Please take a look.
2015-03-09 22:12:32 +10:00
Jorrit Wronski
c9f0fb7bb4 Confirmed the problems mentioned in #524, reopening #524. 2015-03-09 13:11:54 +01:00
mikekaganski
72f1bd2c5c Fix Coverity CID 38537 2015-03-09 19:57:31 +10:00
mikekaganski
7ff4610524 Fix Coverity CID 38538 2015-03-09 19:40:42 +10:00
mikekaganski
767fadafe9 Fix Coverity CID 38539 2015-03-09 19:34:40 +10:00
mikekaganski
8c08bad4d7 Fix Coverity CID 38540 2015-03-09 19:31:14 +10:00
mikekaganski
c5220188c5 Fix Coverity CID 38541 2015-03-09 19:22:47 +10:00
mikekaganski
67a0439a68 Fix Coverity CID 38542 2015-03-09 18:04:32 +10:00
mikekaganski
8f968302e2 Fix Coverity CID 38545 2015-03-09 17:59:48 +10:00
mikekaganski
e875b56f9a Fix AbstractState_keyed_output return on error 2015-03-09 17:52:58 +10:00
mikekaganski
d5f9cd73de Fix Coverity CID 38546
@ibell: icrit seems to be unused: no modules set it
2015-03-09 17:51:18 +10:00
mikekaganski
5bc139847e Fix Coverity CID 38547 2015-03-09 17:37:13 +10:00
mikekaganski
ef0df39419 Fix Coverity CID 38548 2015-03-09 17:33:48 +10:00
mikekaganski
544b239843 Fix Coverity CID 38549 2015-03-09 17:30:30 +10:00
mikekaganski
2eddb483dd Fix Coverity CID 38550 2015-03-09 17:17:46 +10:00
mikekaganski
1b7ccca9a3 Fix Coverity CID 38552
Add some const method qualifiers
2015-03-09 17:12:34 +10:00
mikekaganski
cf120e022d Fix Coverity CID 38553 2015-03-09 16:45:42 +10:00
mikekaganski
02eb288fb3 Fix Coverity CID 38555 2015-03-09 16:41:10 +10:00
mikekaganski
73a8fe2899 Fix Coverity CID 38557 2015-03-09 16:29:58 +10:00
Ian Bell
ea214085c1 Merge pull request #529 from mikekaganski/master
First bunch of Coverity Scan static analysis warning fixes
2015-03-09 07:05:50 +01:00
mikekaganski
3fcca0198c Fix Coverity CID 38562 2015-03-09 15:05:20 +10:00
mikekaganski
746f56a53a Remove MSVC warnings on msgpack 2015-03-09 14:07:58 +10:00
mikekaganski
d470157314 Refactor solver function interfaces, to allow more verbose requirements for deriv 2015-03-09 13:38:49 +10:00
mikekaganski
9d9be5e641 Fix Coverity CID 38563 2015-03-09 12:17:20 +10:00
mikekaganski
fcd330e557 Leftover for CID 38598 2015-03-09 12:11:31 +10:00
mikekaganski
e2685a22ba Fix Coverity CID 38598 (for real)
Proper fix; retains deriv (replaces
bdeb976f89)
2015-03-09 12:03:46 +10:00
mikekaganski
9db00ac550 Revert "Fix Coverity CID 38598"
This reverts commit bdeb976f89.
2015-03-09 11:54:48 +10:00
mikekaganski
99f17f0a38 Fix Coverity CID 38620 2015-03-09 11:41:18 +10:00
mikekaganski
cc0dc74f5a Fix Coverity CID 38528
iter cannot ever become greater than 100; useless check
2015-03-08 23:53:59 +10:00
mikekaganski
6498bb002a Fix Coverity CID 38530
A real error
2015-03-08 23:47:27 +10:00
mikekaganski
3a201ca7de Fix Coverity CID 38531
@ibell: still, there's possibly need to sanitize the imax range
adjustment
2015-03-08 23:41:40 +10:00