Commit Graph

626 Commits

Author SHA1 Message Date
Jorrit Wronski
514ee59e27 Updated external submodules (#1727)
This change is somewhat related to #1604 .

* Catch is now at v2.3.0
* Eigen is now at v3.3.5
* FindMathemaica is now at v3.2.4
* fmtlib (formerly cppformat) is now at v4.1.0 (v5.x.x is not compatible with our code).
* msgpack-c is now at v3.0.1
* pybind11 is now at v2.2.3    
* All the other submodules have been moved to the latest master commit
* All submodules are sorted alphabetically
2018-08-30 10:36:27 +02:00
luzpaz
93f4a986e2 Misc. typos (#1726)
Found via `codespell -i 3 -w -I ../coolprop-word-whitelist.txt` whereby whitelist consists of:
```
cas
formate
hel
nd
te
tim
ue
uint
```
2018-08-14 23:06:49 -06:00
Jorrit Wronski
f316483f4d Ported the changes from #1723 to master 2018-08-13 21:28:08 +02:00
Jorrit Wronski
a23824abd5 getting ready for Python3.7, related to #1604, #1654 and #1309. Please refer to https://github.com/CoolProp/Dockerfiles for details 2018-08-09 12:04:29 +02:00
thorade
39eb5767df E721: isinstance instead of type comparison
this is for #1612
2018-04-17 13:10:03 +02:00
Ian Bell
8b7fb6abd4 Implement get/set_fluid_parameter_double in C++ and python 2018-03-25 17:09:56 -06:00
Ian Bell
c0406b878d Kill manylinux slaves for sure 2018-03-11 19:08:41 -06:00
Ian Bell
04d9360b3d Fix StateContainer print in py36; closes #1406 2018-03-11 13:46:41 -06:00
Ian Bell
79f8b3f777 Dont remove container 2018-03-10 20:21:31 -07:00
Ian Bell
0084bba3f0 Try to not run the ls 2018-03-10 19:50:30 -07:00
Ian Bell
ea75360dc2 version 1.5.2 of the manylinux container should give us python 3.6 builds now. See 90c0fca14e 2018-03-10 19:32:59 -07:00
Ian Bell
517ddd862f Back to 1.5.0 tag 2018-03-10 16:12:08 -07:00
Ian Bell
adb8519ae4 Why is python 3.6 build not happening? 2018-03-10 16:01:01 -07:00
Ian Bell
aaea205704 No more need to kill the image? 2018-03-10 14:44:36 -07:00
Ian Bell
c4ec292a9d Try some more aggressive options to stop the manylinux container 2018-03-10 14:40:21 -07:00
Ian Bell
a3c2d4432f Also show which containers are running 2018-03-10 14:24:27 -07:00
Ian Bell
0dd0c5ceb4 Switch to latest version of manylinux builder - adds python 3.6 support? 2018-03-10 14:21:30 -07:00
Ian Bell
ff95fd5725 If manylinux is hanging, stop it first 2018-03-10 14:11:05 -07:00
Jeff Henning
abcd91a9a7 Update PropsSI() to Parse Imposed Phase Strings on Input Keys (#1660)
* PropsSI enhancement to allow imposed phase on Input key string

* Update PropsSI documentation for imposing phase [skip ci]
2018-03-07 21:51:41 -07:00
xaumex
3387c1006e Mistake in function 'inline_label' in CoolProp/Plots/Common.py (#1656) 2018-02-27 22:19:45 -07:00
Ian Bell
194ab07072 Fix cimport paths for python 3.x; closes #1649 2018-02-23 20:41:33 -07:00
notmyrealhandle
6a57dc70f2 fix inconsistent function declarations between AbstractState.pyx and AbstractState.pxd (#1638) (#1640) 2018-01-30 22:14:14 -07:00
Ian Bell
fdd5de66ac Skip some of the Props calls and go right to the AbstractState 2017-12-19 08:05:41 -07:00
Jorrit Wronski
cc180db2f9 Use docker cp instead of volumes to fix uid issues, more a hack than a fix. 2017-12-19 09:20:43 +01:00
Ian Bell
357a92aae3 Fix some unicode string handling issues 2017-12-16 17:07:25 -07:00
Matthis Thorade
19a4875879 More autopep8 (#1621)
* autopep8 rule-groups E101,W1,W2,W3

* autopep8 with rule group E3 (blank lines)

autopep8 --in-place --recursive --max-line-length=200 --exclude="externals" --select="E101,E3,W1,W2,W3" .

* tabs and space W191

* autopep8 aggressive
2017-12-13 14:43:41 +01:00
Matthis Thorade
526cb198a4 autopep8 whitespace (#1613)
* autopep8 whitespace only:

--select="E101,W1,W2"

* revert single file: web2py_online.py

Should this be a .py file at all?

* revert file Tickets/1443.py because the diff looked strange:

maybe there is an encoding problem?

* Rename web2py_online.py to web2py_online.rst
2017-12-12 08:32:38 -07:00
Ian Bell
62fda6f174 Add ability to specify the departure functions as JSON 2017-11-15 00:16:25 -07:00
Jeff Henning
d59c18728b Added Python wrapper CMake generator for vc14 for when default is higher (#1591) 2017-11-10 21:42:06 -05:00
fsonnino
cf43ff5e04 Update README.rst (#1571)
* Update README.rst

* Update README.rst

* Update README.rst
2017-10-20 08:54:55 -06:00
Alex
adcf526951 Fixed a small bug with EES wrapper (#1566)
Added 'SI' directive to command string to make propssiz function work. Added a demo call to the EES sample file.
2017-10-20 08:54:04 -06:00
fsonnino
4287ad697d Create compile_only_udf.sh (#1567)
This Script only links the udf with the coolprop library, usefull if the coolprop library is already compiled to save compilation time and do a rapid test of the modified udfs
2017-10-19 08:34:02 -06:00
fsonnino
00e1702322 Create CoolProp_Properties_of_Water.c (#1569)
Fluent udf to call the following thermo physical properties of water :
-Density
-Thermal Conductivity
-Viscosity
-Specific Heat

If the user want's to add other properties it should be done in priority with the following entry variables Temperature and Pressure which gives in the udf the generic following statement :
property=PropsSI((char*)"corresponding_property", (char*)"T", temperature, (char*)"P", pressure, (char*)FLUID);
2017-10-19 08:29:45 -06:00
fsonnino
884cdc076a Create CoolProp_Properties_of_Brine.c (#1570)
This udf call the thermal properties of a mixture incompressible fluid. It calls the following properties :

-Density
-Thermal Conductivity
-Viscosity
-Specific Heat

If the user want's to add other properties it should be done in priority with the following entry variables Temperature and Pressure which gives in the udf the generic following statement :
property=PropsSI((char*)"corresponding_property", (char*)"T", temperature, (char*)"P", pressure, (char*)FLUID);
2017-10-19 08:29:35 -06:00
Dev-iL
ad44738d01 Topic 1497 - deprecating the SWIG wrapper for MATLAB in favor of a python-based alternative. (#1543)
* Replaced the old SWIG-based wrapper with a python-based one.

- `PropsSI.m` is now the entry point.
- Added tests.
- Documentation updated.

* Documentation converted from Markdown to reStructredText

Following https://github.com/CoolProp/CoolProp/issues/1497#issuecomment-324845758.

* Further fixes to documentation.

* Further fixes to documentation #2.

Worked around the indentation issue in the numbered list.

* Added handling of arrays with zero dimensions to matpy

* Added a convenience wrapper for the low-level AbstractState API

- Readme updated accordingly.
- Tests updated accordingly.

* Renamd CoolProps to CoolProp
2017-09-03 10:10:10 -06:00
Jericho
94ed79c0cc fix typos (#1542)
Typos in Julia wrapper
2017-08-28 19:36:41 +02:00
Howard Cheung
3e1978be98 Change for compiler directive name in Cython 0.26 (#1527)
Cython 0.26 changes its compiler directive name from `embed_signature` to `embedsignature`. Hence an if-statement is added to facilitate compilation of Python wrappers using the new compiler directive name when Cython 0.26 is used. `_profiling_enabled` variable is also handled slightly more elegant.
2017-07-25 10:37:20 +02:00
Jeff Henning
cc38d3cd01 Added low-level binary parameter functions to Mathcad wrapper (#1480)
* Added low-level binary parameter functions to Mathcad wrapper

* Updated Mathcad function doc for mixture parameter functions.
2017-04-23 18:33:45 -06:00
Jeff Henning
00f47a30b9 Update Mathcad wrapper to use MathcadAllocate() for returned strings. (#1463) 2017-03-23 20:39:43 -06:00
Jorrit Wronski
6924b8d6b7 Added the new docker image for manylinux wheels 2017-03-10 21:55:30 +01:00
Jorrit Wronski
7a1ee42b27 More testing of the plotting functions 2017-03-10 13:48:29 +01:00
Jorrit Wronski
22f6a3b81d This seems to be the most sane handling of the guess values 2017-03-10 12:14:02 +01:00
Jorrit Wronski
686ca2ec00 The guesses do not help much here, unfortunately 2017-03-10 11:29:09 +01:00
Jorrit Wronski
3a33e0a048 An optimistic approach towards using the guess values 2017-03-10 11:19:41 +01:00
Jorrit Wronski
5b198f2e9e Added more hacks to handle the critical point 2017-03-10 09:49:04 +01:00
Jorrit Wronski
bf73e006c0 Added the guesses to the line tracer 2017-03-10 09:29:18 +01:00
Jeff Henning
1dce5b9d14 Implemented Limited Error Handling in the Mathcad Wrapper (#1428)
* Added Error Handling for Mathad Wrapper

* Bump IF97 Revision

* Fix typo in Mathcad 15 example docs
2017-02-15 12:41:47 -07:00
Reza Afzalan
c14c6094a6 do not fail if .tables missed (#1433) 2017-02-14 11:39:23 -07:00
JonWel
78b953e64c UNIFAQ -> UNIFAC, close #1421 (#1423)
* UNIFAQ -> UNIFAC, close #1421

* UNIFAQ -> UNIFAC, close #1421
Also file names
2017-02-10 00:13:04 -07:00
Reza Afzalan
b276f4192d Update Julia wrapper, ref #1293 (#1384)
* #1293

* almost all coverd tested documented

* T->temp

* build tables with  and

* temp->T

* exactly original names | replace  with  &  same for

* add non-update methods to update functions, so we dont need !

* return when need

* remove unnecessary parameters

* sym<->symorigin

* add comment for #__precompile__()
2017-01-30 20:44:53 -07:00