Commit Graph

885 Commits

Author SHA1 Message Date
Ian Bell
f6169b073e Removed double printing of inputs when errstring is printed in PropsSI
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-19 01:23:14 +02:00
Ian Bell
b58e3cbe70 Fixed bug in https://github.com/CoolProp/CoolProp/issues/93
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-19 01:14:05 +02:00
Ian Bell
b506fb5d26 Tidied up derivative tests
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-19 00:36:08 +02:00
Ian Bell
881a6c4616 Added handling for first partial derivative as a string - added tests - they pass
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-19 00:34:26 +02:00
Ian Bell
e32dfcf255 Updates to docs
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-19 00:30:56 +02:00
Ian Bell
569ebc43ac First derivatives are calculated by gridded tabular backend
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-18 22:00:25 +02:00
Ian Bell
e3fba36d81 Gridded table builds
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-18 19:28:54 +02:00
Ian Bell
ad15288c23 Byebye to Armadillo (maybe reconsider later on)
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-18 19:28:00 +02:00
Ian Bell
9c28d81fea Quit Brent if solved to within numerical precision
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-18 19:27:05 +02:00
Ian Bell
dd71b1ac22 Really this time un-specify the phase
More logical debug output for invalid phases

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-18 19:26:31 +02:00
Ian Bell
39a99e183c Removed _forceSinglePhase, _forceTwoPhase (not used), specify_phase() should be used instead
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-18 19:25:25 +02:00
Ian Bell
7cf5f3515a Bumped up max temp for propane melting curve
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-18 19:24:06 +02:00
Ian Bell
99da465b06 Unspecify the phase after the HP solver with Brent - test added
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-18 18:52:06 +02:00
Ian Bell
9293c6355c For posterity's sake, a version using armadillo - not an improvement... slower than Eigen
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-18 09:47:02 +02:00
Ian Bell
f7464fcaa2 Implemented Eigen solution for all() function, speed testing next
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-17 21:09:27 +02:00
Ian Bell
10f23992e7 Cleanup of all function - not any faster though
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-16 18:45:24 +02:00
Ian Bell
4e79b824f0 Merge branch 'master' of https://github.com/coolprop/coolprop 2014-08-16 17:50:18 +02:00
Ian Bell
fc2e618fb7 Speed optimizations for saturation routines
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-16 17:50:04 +02:00
Ian Bell
05a8500415 Merge branch 'master' of https://github.com/CoolProp/CoolProp 2014-08-16 17:40:18 +02:00
Ian Bell
071b66f028 Changed debug flags for profiling 2014-08-16 17:40:14 +02:00
Ian Bell
083722d819 Swig now depends on the headers it includes
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-16 16:47:30 +02:00
Ian Bell
4041e88a5e Fully implemented, but a lot slower, why?
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-16 16:13:03 +02:00
Ian Bell
9a1a0122e3 Renamed Derivatives to HelmholtzDerivatives; they all check fine
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-16 14:26:25 +02:00
Ian Bell
5cad463158 Parallel derivatives finished for NonAnalytic term
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-16 14:11:27 +02:00
Ian Bell
68d3725ffd Added tests for undefined parameters; documented undocumented parameters
Closes https://github.com/CoolProp/CoolProp/issues/97

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-16 12:40:35 +02:00
Ian Bell
c1e9455cb2 Reset the values for the Generalized Exponential term
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-16 01:27:38 +02:00
Ian Bell
6c4592fa64 Reorganized swig interface file
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-15 22:49:22 +02:00
Ian Bell
eee8139306 SAFT has transitioned to parallel evaluation of derivatives, though it isn't truly parallel since there is some duplication
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-15 22:34:24 +02:00
Ian Bell
29632c72e6 Transition complete to generalized exponential term
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-15 22:03:40 +02:00
Ian Bell
2270f9f076 Helmholtz derivatives are all calculated using parallel code - next step is to remove classes from Helmholtz
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-15 21:16:41 +02:00
Ian Bell
10b9060863 Fixed failing Catch errors due to humid air properties
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-15 20:28:15 +02:00
Ian Bell
61bc24e7b1 phases is now an enum, added (non-working) critical region VLE solver
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-15 17:13:00 +02:00
Ian Bell
3e0864e620 Ncomp is now a std::size_t
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-15 17:11:25 +02:00
Ian Bell
68f917c5f5 CMakeLists with profiling block 2014-08-15 16:40:46 +02:00
Ian Bell
42a4c68ee4 Merge branch 'master' of https://github.com/coolprop/coolprop 2014-08-15 16:05:36 +02:00
Ian Bell
0112436169 Updated main with speed testing for parallel derivatives of power term
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-15 16:05:15 +02:00
Ian Bell
d4e7a6015e Silenced a few warnings
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-15 15:57:33 +02:00
Ian Bell
2136f417b9 Updated codelite and added Tabular backend structure
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-15 15:44:55 +02:00
Ian Bell
98dfd2cedd Removed additional space from header in web template
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-15 15:43:43 +02:00
Ian Bell
c3508c3f55 Added parallel evaluation of residual helmholtz terms
Should in the end only slow down by 1.2x, but calculate at least up to second order derivatives all at once, so net speedup of 5 if calculating all first and second order partials !!

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-15 15:42:47 +02:00
Ian Bell
fd55d9a479 sphinx build does a local install of python 2014-08-15 00:44:52 +02:00
Ian Bell
60326a04b6 Merge branch 'master' of https://github.com/CoolProp/CoolProp 2014-08-15 00:32:27 +02:00
Ian Bell
4d3289b9ab install to cross-platform folder: 2014-08-15 00:30:32 +02:00
Ian Bell
80e320b03b Update wrappers.rst 2014-08-15 00:22:52 +02:00
Ian Bell
1452d113cb install to cross-platform folder: 2014-08-15 00:20:20 +02:00
Ian Bell
7418b03cca Fixed CMake for PHP build - installed cmake 3.0.1 to fix on linux 2014-08-15 00:18:38 +02:00
Ian Bell
1df2ae8512 Fixed python buildbot
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-14 23:14:51 +02:00
Ian Bell
be859fb9cb And again
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-14 12:39:08 +02:00
Ian Bell
dcf0ac88f3 Once more with feeling
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-08-14 12:37:09 +02:00
Ian Bell
fe3d3d25a0 Merge branch 'master' of https://github.com/coolprop/coolprop 2014-08-14 12:31:45 +02:00