Commit Graph

272 Commits

Author SHA1 Message Date
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
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
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
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
cd3e6323d2 Enable the ability to set mixture binary pair data from python (I think)
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-03-05 23:46:22 -07:00
Ian Bell
65543cf26e Merge branch 'master' into tabular 2015-02-27 22:54:28 -07:00
Ian Bell
527bac72d0 Implemented a number of functions to python's AbstractState that were missing; Closes #505
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-27 21:24:22 -07:00
Ian Bell
d4553aca3e Abstract can now throw for T(), rhomolar() etc.
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-26 22:25:58 -07:00
Ian Bell
5cbab2a859 Remove double declaration of UNICODE
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-25 08:10:08 -07:00
Ian Bell
d12a4883f9 Fix python build script
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-23 23:27:57 -07:00
Ian Bell
a7a14d7781 Update setup.py for python building
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-21 17:50:06 -07:00
Ian Bell
5c955d8bf3 Document which parameters are available in Props1SI; closes #471 2015-02-21 13:31:14 -07:00
Ian Bell
651363f221 Merge pull request #478 from JonWel/Julia-0.3-wrapper
Julia 0.3 wrapper
2015-02-19 21:46:44 -05:00
Ian Bell
b89f8f99fc Update the docs for SMath wrapper
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-19 21:45:12 -05:00
Ian Bell
60c46812dd Fix build_zip.bat.template for SMath Studio
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-19 21:26:38 -05:00
JonWel
e8f5f29bc8 Delete CoolProp.jl
Moved to the Julia folder
2015-02-19 14:16:10 +01:00
JonWel
c4c57ccf8d Create CoolProp.jl
For Julia 0.4 an upper
2015-02-19 14:15:39 +01:00
JonWel
9c002660a2 Create CoolProp.jl 2015-02-19 14:00:10 +01:00
JonWel
627c2a1fbe Delete CoolProp.jl
Moved to 0.4+
2015-02-19 13:59:47 +01:00
Ian Bell
088b6c0723 config.ini should only include version number, no newline
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-19 00:28:50 -05:00
Ian Bell
165dcf70c7 Update install script to be packaged, add build_zip template
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-18 23:30:15 -05:00
Ian Bell
68e1c03392 Updated SMath Unit.cs file
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-18 22:55:07 -05:00
Ian Bell
8f56fb7a0e Added SMath wrapper code
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-18 22:20:27 -05:00
JonWel
55d387e598 Create CoolProp.jl
Compatible with Julia 0.4 and upper
2015-02-18 20:04:12 +01:00
JonWel
759fe80ed0 Create CoolProp.jl
Compatible with Julia 0.3 and lower
2015-02-18 20:02:58 +01:00
JonWel
144fc9a5da Delete CoolProp.jl
Moved to Julia/0.4/
2015-02-18 20:01:10 +01:00
Hisham Muhammad
a867c1487e Add test to example.lua demonstrating fix. 2015-02-11 23:23:03 -02:00
Hisham Muhammad
592c65b506 Fix and cleanup APIs between Lua and C.
Fix Lua layer of get_param_index and get_fluid_param_string.
Make returns of C module more idiomatic.
Use module name as the local variable for the C module.
2015-02-11 23:21:15 -02:00
Hisham Muhammad
cb65e96709 Fall back to Lua/C if LuaJIT FFI fails. 2015-02-11 23:19:16 -02:00
Jorrit Wronski
d6a360d818 Merge branch 'master' into pgfplots 2015-02-09 10:44:27 +01:00
Ian Bell
132ad5ed15 Merge pull request #446 from CoolProp/two_phase_derivatives_and_splines
Two phase derivatives and splines
2015-02-02 13:26:44 -05:00
Ian Bell
396fe0ce4d Added two phase derivative functions to python wrapper
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-02 13:07:08 -05:00
Aapo Talvensaari
88fe0d3d89 Removed unneeded lines from Makefile. 2015-02-02 12:00:14 +02:00
Aapo Talvensaari
2ad75feddf Merged with the upstream, and removed pcall's. not needed anymore. Fixed Lua C-API bindings to have same funcs that FFI version has. 2015-01-30 14:51:06 +02:00
Aapo Talvensaari
dce4399e07 More fixes to RestructuredText formatting. 2015-01-30 14:24:21 +02:00
Aapo Talvensaari
4a20071b78 Fixed RestructuredText formatting. 2015-01-30 14:22:53 +02:00
Aapo Talvensaari
324cc9eecc Added more APIs, added make install + make uninstall. Added documentation. Added more examples. Added some error handling. 2015-01-30 14:17:02 +02:00
Aapo Talvensaari
62328fce1b Added License info of @craigbarnes + added detection luaL_newlib. 2015-01-29 22:00:07 +02:00
Aapo Talvensaari
c5d14ec376 Implemented Lua C API and LuaJIT Wrappers for CoolProp (high-level API currently implemented). 2015-01-29 18:26:16 +02:00
Ian Bell
06003c6ff6 Error if matrix input in PropsSI in python; Closes #387
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-19 21:29:00 -07:00
Jorrit Wronski
57470bc9be Fixed a typo in PropsSI in Python wrapper 2015-01-15 11:56:35 +01:00
Ian Bell
979bc57739 Also build class library in release mode
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-14 23:27:34 -07:00
Ian Bell
9dbf8fdcbd Small updates to project files for VB.net example
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-14 23:19:22 -07:00
Ian Bell
7c108c9ac2 Added VB.net solution files
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-14 22:24:10 -07:00
Jorrit Wronski
cf4febfebd Almost done, the PGF stuff needs more hacks than expected. 2015-01-13 00:10:54 +01:00
Ian Bell
3c65678a8d Fix python wrapper code
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-01-07 15:23:16 -07:00