Commit Graph

890 Commits

Author SHA1 Message Date
Ian Bell
9b579ec22c Merge branch 'master' of https://github.com/CoolProp/CoolProp 2015-03-26 18:32:31 -06:00
Ian Bell
ace06d57d8 Use SATTP in REFPROP wrapper 2015-03-26 18:32:18 -06:00
Ian Bell
4970a02164 Made fixes for powerpc for VxWorks 2015-03-25 04:37:08 +01:00
Ian Bell
994910e63c ST and DT mostly fixed for TTSE; a few bugs remain 2015-03-23 22:12:32 -06:00
Ian Bell
59b3055cb3 Implemented DmolarT and SmolarT for TTSE 2015-03-23 19:49:55 -06:00
Ian Bell
c0ec44126d Fixed bugs with PY for TTSE 2015-03-23 18:32:13 -06:00
Ian Bell
5d5977a569 PS,PU,DP and TTSE work
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-03-23 00:43:37 -06:00
Ian Bell
179e27e82b Implemented one non-native input to tabular methods; see #522 2015-03-21 22:55:00 -06:00
Ian Bell
2490166103 Fix pow() overload 2015-03-21 20:59:26 -06:00
Ian Bell
0fc326b886 Derivatives work for both TTSE and BICUBIC, as do cv and cp 2015-03-21 20:44:43 -06:00
Ian Bell
55aade4776 c_p works with PH BICUBIC
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-03-21 18:44:21 -06:00
Ian Bell
c0c1083140 Fix bug with shared ptr comparison 2015-03-18 22:40:34 -06:00
Ian Bell
380dff9093 Rebuild tables when limits change; closes #537 2015-03-18 22:33:23 -06:00
Ian Bell
091cc43f27 Fix transport properties for bicubic and TTSE; closes #520
Also implement PQ inputs
2015-03-15 00:45:20 -06:00
Ian Bell
77653643d5 Clear cached variables for tabular methods
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-03-14 20:30:00 -06:00
Ian Bell
c934bae64b Handle partial pressure of water in unit conversion switch 2015-03-14 19:52:30 -06:00
Ian Bell
773f7318e8 Implement molar mass output for tabular backends
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-03-14 19:23:17 -06:00
Ian Bell
eadee7eba3 Added partial pressure of water ("P_w") in HAPropsSI; Closes #490 2015-03-13 17:14:34 -06:00
Ian Bell
7137b0fd23 Close #535 for real this time 2015-03-11 19:24:59 -06:00
Ian Bell
7eeb81c818 Errors are handled properly in high-level wrapping of low-level API; Closes #535 2015-03-11 19:15:07 -06:00
Ian Bell
098f24d4d3 Transport properties are implemented for BICUBIC and TTSE; See #520
Basically works for Bicubic and TTSE but quite limited, you must not be too close to saturation curves or limits of the tables

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-03-10 23:06:17 -06:00
Ian Bell
9e9687293e Fixed bug in conformal state solver; closes #523 2015-03-10 21:19:32 -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
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
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
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
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
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
e875b56f9a Fix AbstractState_keyed_output return on error 2015-03-09 17:52:58 +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
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