mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
28691e8e7504c006a60153cd52911f24d6f9098a
1. Another set of arguments optimized: * args-by-val converted to args-by-ref * in some cases, reverse has been done, if that is better: if the object's copy is modified in the func, it's better to avoid extra copy from arg to local var 2. some const functions marked as such (this is just a beginning) 3. iterators were replaced with const_iterators where applicable 4. catches that catch std::exception& changed to catch (...) - that is safer; if exception handling is restructured, this will have to be reconsidered anyway 5. removed some basic structures' constructors; changed them to hold const char*s to avoid unnecessary string constructions; 6. in some places, moved variable declarations to their definitions, to avoid calling default constructors and then assigning 7. removed some unnecessary shared_pointers in favor of local objects; 8. in FORTRAN-style functions, added const specifiers to input doubles; 9. fixed a place where values were inserted into a map while iterating through it 10. fixed is_valid_*_derivative: they could accept incorrect values and throw when upper index is less than lower
Welcome to CoolProp
===================
CoolProp is a thermophysical property database and wrappers for a selection of programming environments.
It offers similar functionality to REFPROP, but CoolProp is open-source and free.
It was originally developed by Ian Bell, currently a post-doc at the University of Liege, in Liege, Belgium.
* CoolProp has flexible licensing terms: Commercial - ok! Academic? - ok! |license|
* For Python, you can get the latest release via ``pip install coolprop``. Currently |downloads| of |version|
* ... other binaries can be downloaded here: `latest release <http://sourceforge.net/projects/coolprop/files>`_ and `development version <http://sourceforge.net/projects/coolprop/files/CoolProp/nightly>`_
* The documentation is available for the `latest release <http://www.coolprop.org>`_ and the `development version <http://www.coolprop.dreamhosters.com:8010/sphinx>`_
* Please, if there are any issues of any kind, file an issue `here <https://github.com/CoolProp/CoolProp/issues>`_
* ... you might also find answers in our `FAQ <https://github.com/CoolProp/CoolProp/blob/master/FAQ.md>`_
.. |travis| image:: https://travis-ci.org/CoolProp/CoolProp.png?branch=master
:target: https://travis-ci.org/CoolProp/CoolProp
:alt: travis-ci
.. |downloads| image:: https://pypip.in/d/CoolProp/badge.png
:target: http://pypi.python.org/pypi/CoolProp/
:alt: downloads
.. |version| image:: https://pypip.in/v/CoolProp/badge.png
:target: http://pypi.python.org/pypi/CoolProp/
:alt: latest stable version
.. |license| image:: https://pypip.in/license/CoolProp/badge.png
:target: http://pypi.python.org/pypi/CoolProp/
:alt: license
Languages
C++
59.2%
Python
24%
CMake
3.2%
TeX
2.4%
Cython
2.2%
Other
8.7%