Commit Graph

2585 Commits

Author SHA1 Message Date
JonWel
93d36b70bf Update index.rst
Add example of low level interface usage.
2015-03-12 12:04:48 +01:00
JonWel
ea99f99bb5 Update LowLevelAPI.rst
Add an example of usage of the shared library throw Julia wrapper.
2015-03-12 11:57:32 +01:00
JonWel
d5140aca8c Update CoolProp.jl
Add access to low level interface
2015-03-12 11:45:30 +01:00
JonWel
c5981e7c10 Update CoolProp.jl
Add low level access
2015-03-12 11:44:23 +01:00
Ian Bell
b360e6a15c Relocated example_generator.py 2015-03-11 23:46:58 -06:00
Ian Bell
a4c6aaa1c9 Add example code generator script 2015-03-11 23:02:01 -06:00
Ian Bell
4d2ee6ab6e Clean up dev a bit 2015-03-11 23:00:19 -06:00
Ian Bell
85ec5a55a7 first cut at VxWorks makefile template
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-03-11 22:44:19 -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
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