Make TP inputs to State use local function to cache derivatives

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Starting to implement PressureUnit classes for pressure

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Units code now compiles and is functional - broke a lot of things in the process - this is going to result in major API changes for 4.0, and there is a lot of checking of code still required.

Also need to implement unit classes for all the other units that differ between kSI and SI.  Most are the same.  Also need to consider molar versions, but that will have to wait.

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
CoolProp nightly build includes MINGW and Visual Studio builds
Futher work on adding SI units internally - more code is working

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Fixed some unit conversions in state class - but some things are in SI and some are in the standard unit system which is getting problematic.  To be continued...

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Fixed bug in P,H

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Fixed PS, HS still broken

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Merge branch 'master' into unitfied

Conflicts:
	CoolProp/gitrevision.h

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Unit conversion for Pressure does not use PressureUnit class (too slow)

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Relaxed the test for ODP, GWP100, ... to allow for -1 value for unknown

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
HS input units are fixed in CPState.cpp

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Added some notes on Akasaka method, finally understand why it was not yielding the correct values at low pressures - second partial of phir is enormous in magnitude, resulting in truncation.  More precision needed

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Set the triple-point pressure in the post_load function, over-writing whatever is provided by the class
Remove the check of pressure in Akasaka - to be fixed with extended precision

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Merge branch 'master' into master_to_unitfied - manual tuning still required

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Small fixes to CoolProp.h

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Updated the constants modules for Cython

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Added generation of unit systems constants

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Errors if parameter to convert units of is bad

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Added unit_systems_constants_module to setup.py

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Small documentation changes

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>