86 Commits

Author SHA1 Message Date
Ian Bell
d81cf7c71b Try to improve speed for psychrometric calcs using mixture model; not a great success 2016-01-08 16:15:04 -07:00
Ian Bell
7aed0ccf30 One more try at #886 with absolute paths 2016-01-06 23:26:15 -07:00
Ian Bell
048aa079d8 Implement SRK to Helmholtz translation and documentation 2015-11-09 00:09:05 +01:00
Ian Bell
96f0ccc240 Fix #810 on all platforms 2015-09-05 20:28:53 -06:00
Ian Bell
9622af297b Also remove the Eigen include 2015-06-07 19:54:48 -06:00
Ian Bell
6b282109d0 Move the Eigen stuff out of CoolPropTools.h and into MatrixMath.h 2015-06-07 19:32:44 -06:00
Ian Bell
9343ec249c Fix Eigen support 2015-06-05 21:30:39 -06:00
Ian Bell
a1ece4967f Added code for adjugate 2015-06-03 21:37:05 -06:00
Ian Bell
8c7e47c83d Add derivative along saturation curve for Tabular backends; closes #635 2015-05-03 18:14:57 -06:00
Ian Bell
e50b54fe63 Interpolation functions can mix types (double and CoolPropDbl) 2015-04-19 11:51:17 -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
28d09bd84d Fix another typo in bisection 2015-03-23 00:50:32 -06:00
Ian Bell
e9e169a5d0 Fixed typo in bisection functions 2015-03-23 00:48:01 -06:00
Ian Bell
dac8714f1d Error checking for bisection functions
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-03-23 00:46:47 -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
34617940df First cut at derivatives needed for BICUBIC and TTSE derivs 2015-03-20 16:59:44 -06:00
Ian Bell
7b0558aa5c Disable pwd.h for powerpc 2015-03-12 21:05:24 -06: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
a7d33d5f77 Fix Coverity CID 38585 2015-03-07 14:28:46 +10:00
Ian Bell
7a375952e0 Implement calling a flash routine with guess values provided at the low-level (PQ only for now) 2015-03-06 15:38:25 -07:00
Ian Bell
c984702f9e Tabular files are in fact compressed to z and read as z; Closes #516 2015-03-03 23:06:20 -07:00
Ian Bell
d9e16a77f3 Merge branch 'master' into tabular
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-03-02 20:20:51 -07:00
Ian Bell
2e0f267b77 Only silence CRT warning if compiler is MSVC 2015-03-01 13:23:12 -07:00
mikekaganski
0858d98223 Kill off the CRT deprecate warning (#512) 2015-03-01 20:11:14 +10:00
Ian Bell
c674ff5aa8 Merge pull request #510 from mikekaganski/master
const, ref and iterator optimization
2015-02-28 19:55:10 -07:00
Ian Bell
6cd7307a06 Fix preprocessor for non-clang compilers
No short-circuiting in preprocessor logicals - didn't know that

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-28 19:09:56 -07:00
Ian Bell
63b5fd938d Disable thread_local for apple clang that is not up-to-date (new clang is fine, but I can't update clang on the IPU slave)
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-28 18:57:35 -07:00
mikekaganski
28691e8e75 const, ref and iterator optimization
1. Another set of arguments optimized:
* args-by-val converted to args-by-ref
* in some cases, reverse has been done, if that is better: if the
object's copy is modified in the func, it's better to avoid extra copy
from arg to local var
2. some const functions marked as such (this is just a beginning)
3. iterators were replaced with const_iterators where applicable
4. catches that catch std::exception& changed to catch (...) - that is
safer; if exception handling is restructured, this will have to be
reconsidered anyway
5. removed some basic structures' constructors; changed them to hold
const char*s to avoid unnecessary string constructions;
6. in some places, moved variable declarations to their definitions, to
avoid calling default constructors and then assigning
7. removed some unnecessary shared_pointers in favor of local objects;
8. in FORTRAN-style functions, added const specifiers to input doubles;
9. fixed a place where values were inserted into a map while iterating
through it
10. fixed is_valid_*_derivative: they could accept incorrect values and
throw when upper index is less than lower
2015-03-01 10:51:01 +10:00
Ian Bell
52a123437c Merge branch 'master' into tabular 2015-02-26 10:02:31 -07:00
Ian Bell
5c3cb6f9a4 Fix templated output type for min3 and min4 functions 2015-02-26 09:43:12 -07:00
mikekaganski
869d1afc71 More ref args 2015-02-27 00:56:38 +10:00
Ian Bell
0b45ca5c77 Merge branch 'master' into tabular
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-25 16:53:43 -07:00
mikekaganski
4c8421165c thread_local: one more (hopefully portable) attempt 2015-02-25 20:20:05 +10:00
Ian Bell
de2d5828d3 One more CoolProp namespace on OSX in CoolPropTools.h 2015-02-24 21:59:32 -07:00
Ian Bell
2c145d9cc2 Merge branch 'master' into tabular 2015-02-24 21:54:15 -07:00
Ian Bell
c7ef99e7bf Resolve another bug with OSX compilation
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-24 21:51:54 -07:00
Ian Bell
8ef1a75f38 Added CoolProp:: namespace spec to some functions in CoolPropTools.h
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-24 21:47:00 -07:00
Ian Bell
14a654f57d Merge branch 'master' into tabular
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-24 21:39:45 -07:00
Ian Bell
2e270f291f Cleaned up CoolPropTools.h a little bit
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-24 21:25:33 -07:00
Ian Bell
e4672f1a98 Merge pull request #500 from mikekaganski/master
Fix directory size calculations
2015-02-24 21:19:46 -07:00
mikekaganski
c38c4c468f Fix directory size calculations 2015-02-25 13:58:41 +10:00
Ian Bell
716c5a34d0 Merge branch 'master' into tabular
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-24 20:20:00 -07:00
Ian Bell
b0eb894240 Merge pull request #499 from CoolProp/longdouble_remap
Longdouble remap
2015-02-24 20:05:25 -07:00
Ian Bell
729b44ae5d Merge remote-tracking branch 'remotes/origin/longdouble_remap' 2015-02-24 20:03:57 -07:00
Ian Bell
e74211910f Once more to get rid of min and max macros
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-23 23:15:11 -07:00
Ian Bell
2c61b99ffb Undef min and max aggressively
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-23 23:12:11 -07:00
Ian Bell
01f4b87dae Undef min and max macros for windows
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-23 23:06:36 -07:00