Commit Graph

90 Commits

Author SHA1 Message Date
Ian bell
f12c749914 Updated paths to CoolPropFluid.h
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-20 16:25:56 +02:00
Ian bell
82a52554b9 Moved CoolPropFluid.h into include, removed CoolPropFluid.cpp. Started adding structure for viscosity and conductivity inputs.
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-20 16:25:09 +02:00
Ian bell
3af1a4f0d8 AbstractState class tests
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-20 14:55:21 +02:00
Ian bell
3726030f9f Fixed hash function (*facepalm*) in header generator
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-20 14:28:25 +02:00
Ian bell
c191c134f3 Some docs for Tests.cpp
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-20 14:09:04 +02:00
Ian bell
a98d9fda71 Switched viscosity to HEOS - but why do we get segfault when using REFPROP?
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-20 14:03:27 +02:00
Ian bell
79ceae2f5c Diabled copy ctor for now for AbstractStateWrapper class until we figure out how to handle ownership and copying
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-20 13:57:28 +02:00
Ian bell
601d561fbd Cleaned up Tests.cpp
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-20 13:47:14 +02:00
Ian bell
41e9047221 Added tests for AbstractStateWrapper class
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-20 13:46:39 +02:00
Ian bell
43904c3cac AbstractStateWrapper now checks whether AbstractState has been instantiated; HumidAirProp instantiation moved to function that is called by all exposed functions
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-20 12:52:26 +02:00
Ian bell
bb10d0c1ab Implemented the hash checking of generate_headers.py to avoid rebuilding unnecessarily (https://github.com/CoolProp/CoolProp/issues/34)
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-20 12:42:13 +02:00
Ian bell
c18e0801c9 More viscosity validation data
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-20 00:09:26 +02:00
Ian bell
54d1e98e75 Added some more validation data for viscosity
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-19 23:43:36 +02:00
Ian bell
338e073354 Sphinx config links to dreamhosters doxygen output
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-19 22:41:53 +02:00
Ian bell
237a078c4d Fixed incompressible include path
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-19 22:40:13 +02:00
Ian bell
1b9ce4b503 Load transport properties (default values for now)
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-19 22:39:44 +02:00
Ian bell
41dacf83c6 HEOS can call transport properties
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-19 22:39:04 +02:00
Ian bell
69f76386b1 More work on transport properties. Hardcoded propane values for now. Also implemented tests for viscosity
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-19 22:38:33 +02:00
Ian bell
185a216364 Fixed PolyMath to correct name clash with DEBUG macro - should use get/set_debug_level instead
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-19 22:36:06 +02:00
Ian bell
0bafb7e10b Surface tension curves are back - temporarily disabling check in generate_headers.py
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-18 22:21:09 +02:00
Ian bell
de78977e76 Merge branch 'master' of https://github.com/coolprop/coolprop 2014-05-18 22:09:42 +02:00
Ian bell
23e846e38e Baby steps towards transport properties. 2014-05-18 22:09:29 +02:00
jowr
70fdcf2613 Added build directory to ignore, more on polymath and incompressibles 2014-05-18 17:23:15 +02:00
Ian bell
8987cf3954 Merge branch 'master' of https://github.com/coolprop/coolprop 2014-05-18 01:20:46 +02:00
Ian bell
0aa3a8d404 Fixed json packing on py2.7
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-18 01:20:32 +02:00
Ian bell
1c5d9a44b6 Fixed Cmake file on windows
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-18 01:20:10 +02:00
Ian Bell
69a3e5409c Merge branch 'master' of https://github.com/CoolProp/CoolProp 2014-05-18 00:11:04 +02:00
Ian Bell
8328c271c6 Fixed initialization bug, Octave example compiles and runs on linux now 2014-05-18 00:10:51 +02:00
Ian Bell
2a24f7a192 Merge pull request #29 from Rod-Persky/cmake
Cmake
2014-05-17 23:45:19 +02:00
Ian bell
ca68a2356b Fixed generate_headers.py machinery on py3; More fluid surface tension injected
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-17 23:44:13 +02:00
Ian Bell
50c4e054f9 Cmake file for Octave works, but seg faults on ubuntu (?) 2014-05-17 22:39:22 +02:00
Ian Bell
18759d1b13 Fixed header generator (typo) 2014-05-17 22:37:59 +02:00
Ian bell
7e34a8550a Merge branch 'master' of https://github.com/coolprop/coolprop 2014-05-17 19:54:42 +02:00
Ian bell
eeab8e18fe Use cpversion.h instead of version.h to reduce name clashing in headers
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-17 19:54:28 +02:00
Ian bell
d23e9447fa First cut at octave + Cmake. Seems there is a problem with MSVC and octave now - used to work.
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-17 19:51:32 +02:00
Rod Persky
8f3f6566f6 Update .travis.yml 2014-05-18 01:19:14 +10:00
Rod Persky
8fec6fec13 Update .travis.yml 2014-05-18 01:13:09 +10:00
Rod Persky
d92c6c5ba1 Update .travis.yml
Change language to cpp
2014-05-18 01:08:35 +10:00
Rod Persky
ffe6cb4e2d remove old cmakelists from src/ 2014-05-18 00:03:47 +10:00
Rod Persky
0c2068277d Update travis to debug config and be more verbose 2014-05-17 23:35:13 +10:00
Rod Persky
fd43d3848b working 2014-05-17 18:13:30 +10:00
Rod Persky
ed98e56ad8 fix 2014-05-17 18:10:25 +10:00
Rod Persky
56c68664ed fix 2014-05-17 18:09:49 +10:00
Rod Persky
affa330456 fix 2014-05-17 18:01:16 +10:00
Rod Persky
cb1de19840 fix 2014-05-17 17:57:30 +10:00
Rod Persky
33b719bf11 travis 2014-05-17 17:52:41 +10:00
Rod Persky
58aa23c95b test travis 2014-05-17 17:44:21 +10:00
Rod Persky
e9e4f5d824 match PolyMath.cpp old
Define -DCATCH_CONFIG_MAIN in src/PolyMath.cpp using the cmake build
2014-05-17 17:13:14 +10:00
Rod Persky
38a21932ed PolyMath.cpp
If this is the test entry point should define this in a makefile with -D
or in the cmake file. Then it's more clear? unless this is absolutely needed
2014-05-17 17:06:27 +10:00
Rod Persky
ffd9c007e5 CMake
Can now compile with catch with no errors, although there are errors within the
test cases. Also added a check in the generate_headers.py file to see if the
headers have already been generated (this is a proposal and can be removed)
because it's time consuming when there is no changes to those files. the change
is fairly dumb (check if file .JSON_done exists) and doesn't consider the
modification time of the files.
2014-05-17 17:00:38 +10:00