Commit Graph

875 Commits

Author SHA1 Message Date
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
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
mikekaganski
a0f5c37d14 Fix Coverity CID 38564 2015-03-08 23:27:29 +10:00
mikekaganski
c99805cc79 Fix Coverity CID 38566 2015-03-07 23:04:07 +10:00
mikekaganski
16b13f3f0f Fix Coverity CID 38567
Add some const methods to allow passing const ref
2015-03-07 20:41:24 +10:00
mikekaganski
82ff4004c1 Fix Coverity CID 38570 2015-03-07 17:28:28 +10:00
mikekaganski
b91f62cb51 Fix Coverity CID 38573 2015-03-07 17:05:44 +10:00
mikekaganski
81e18a0a08 Fix Coverity CID 38574 2015-03-07 16:57:11 +10:00
mikekaganski
cc62abca74 Fix Coverity CID 38578 2015-03-07 16:53:55 +10:00
mikekaganski
21f44a8a93 Fix Coverity CID 38579 2015-03-07 16:50:45 +10:00
mikekaganski
9314a7a7ed Fix Coverity CID 38580 2015-03-07 16:33:20 +10:00
mikekaganski
c479e098c2 Fix Coverity CID 38581 2015-03-07 15:34:54 +10:00
mikekaganski
f7af3b2199 Fix Coverity CID 38583 2015-03-07 15:03:23 +10:00
mikekaganski
a7d33d5f77 Fix Coverity CID 38585 2015-03-07 14:28:46 +10:00
mikekaganski
982ff51478 Tried to fix Coverity CID 38586 2015-03-07 14:17:37 +10:00
mikekaganski
46d36d12d6 Fix Coverity CID 38587 2015-03-07 13:47:02 +10:00