Ian Bell 2c64bdaadf Add chemical potential as abstract state method
For example:

```
auto fluids = strsplit("Methane&Ethane", '&');
auto x = { 0.6,0.4 };

shared_ptr<CoolProp::AbstractState> RP(CoolProp::AbstractState::factory("HEOS", fluids));
RP->set_mole_fractions(x);
RP->update(PT_INPUTS, 101325, 300);
auto mu1 = RP->chemical_potential(0);

RP.reset(CoolProp::AbstractState::factory("REFPROP", fluids));
RP->set_mole_fractions(x);
RP->update(PT_INPUTS, 101325, 300);
auto mu2 = RP->chemical_potential(0);
```
2016-03-30 22:10:57 -06:00
2015-07-24 11:29:01 +02:00
2015-04-29 09:31:49 +02:00
2014-08-26 23:16:57 +02:00

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! |ghlicense|

* For Python, get the latest release via ``pip install coolprop`` |pypidownloads| |pypiversion| 

* ... other binaries are available from `SourceForge <http://sourceforge.net/projects/coolprop/files>`_  |sfdownloads| |ghversion|

* There is also a bleeding edge nightly build of the `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.org/dev>`_  

* 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>`_ 

* Accelerate development of things you really need implemented by posting at `Bountysource <https://www.bountysource.com/teams/coolprop>`_ 


.. 
   Downloads and other stats
   -------------------------
   
   ===============  ==============================
   Binary release:  |sfdownloads| |ghversion| 
   PyPI release:    |pypidownloads| |pypiversion|
   ===============  ==============================




.. |ghversion| image:: https://img.shields.io/github/release/CoolProp/CoolProp.svg?label=SF-binaries
    :alt: CoolProp version tag

.. |sfdownloads| image:: https://img.shields.io/sourceforge/dm/CoolProp.svg?label=SF-downloads
    :target: http://sourceforge.net/projects/coolprop/files
    :alt: sourceforge downloads

.. |pypidownloads| image:: https://img.shields.io/pypi/dm/CoolProp.svg?label=PyPI-downloads
    :target: http://pypi.python.org/pypi/CoolProp/
    :alt: PyPI downloads

.. |pypiversion| image:: https://img.shields.io/pypi/v/coolprop.svg?label=PyPI-binaries
    :target: http://pypi.python.org/pypi/CoolProp/
    :alt: PyPI version

.. |ghlicense| image:: https://img.shields.io/github/license/CoolProp/CoolProp.svg
    :target: https://github.com/CoolProp/CoolProp/blob/master/LICENSE
    :alt: license

.. 
   image:: https://www.bountysource.com/badge/team?team_id=14160&style=raised
    
.. |bounties| image:: https://img.shields.io/bountysource/team/coolprop/activity.svg
   :alt: Post a bounty at https://www.bountysource.com/teams/coolprop
   :target: https://www.bountysource.com/teams/coolprop?utm_source=CoolProp&utm_medium=shield&utm_campaign=raised


.. 
   image:: https://badges.gitter.im/Join%20Chat.svg
   :alt: Join the chat at https://gitter.im/CoolProp/CoolProp
   :target: https://gitter.im/CoolProp/CoolProp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
Description
No description provided
Readme MIT 50 MiB
Languages
C++ 59%
Python 24.5%
CMake 2.5%
TeX 2.3%
Cython 2.3%
Other 9%