* Cubic calc_molar_mass, closes#1124
* Add simplified update and output functions
This allows simpler use of the low level interface by using the strings name instead of the parameter number.
The parameter number version stays and will be faster for more than one call with the same parameter.
* Add AbstractState_update_and_1_out
* Export specify_phase() to the library
* small correction
Safer to only accept an array of real numbers here.
* Small correction
Specifying the type of the array to avoid any convertion
* Correct vector size in the cubic backend
* Closes#1128
* Closes#1130
Quality is not reset any more at the end of PQ and QT updates.
Add possibility to output mass density to saturated keyed output and enhance error message
This is required in order to remove ".dll" extension from the library
name in .NET DllImport. And that, in turn, is intended to enable
cross-platform use of SMath wrapper on other OSes, like Linux (that is
supported by both CoolProp and SMath).
As explained at
http://www.mono-project.com/docs/advanced/pinvoke/, it's recommended to
omit the library extension to allow mono to find native libraries.
* Correct AbstractState_set_binary_interaction_double
Convert `i` and `j` to `size_t` when calling `AbstractState_set_binary_interaction_double`
* Addapt Julia wrapper to c16a4b6
Now `AbstractState_set_binary_interaction_double` needs `long` for `i` and `j`
* Precompiling of Julia Wrapper only for Julia 0.4+
Should allow to keep compatibility with Julia 0.3
* Export set_binary_interaction_double
to the shared library and add it to Julia Wrapper
* Correct comment in previous commit
* Change tab to spaces in precendent commit
* Add update_and_*_out functions
Add `AbstractState_update_and_common_out` and `AbstractState_update_and_5_out` to the wrapper
* Update .gitignore
* Improve SMath wrapper error handling
1. Make CoolProp errors visible to SMath immediately, calling
get_global_param_string("errstring").
2. Use System.Exception with message instead of SMath own exceptions
where possible (to show the required message instead of irrelevant SMath
unconfigurable one); only retain SMath exceptions where it's necessary.
* Remove redundant text from release_readme.rst.txt; fixes#1105
Do not try to call possibly throwing get_parameter_index if Props1SI
already returned an error
Also, add include/cubic_fluids_schema_JSON.h to gitignore
* Allow cmake properly build SMath wrapper
Integrate c# project into solution; allow usual cmake --build . --config
Release to build SMath wrapper.
Remove obsolete build.bat and coolprop_wrapper.sln files:
cmake-generated solution already includes everything.
Use build subdirectory wrappers/SMath for all generated files (both by
cmake, including csproj file itself, and by build process), thus no
dirty tree anymore.
Please note: this change requires cmake version 2.8.9 (because of
include_external_msproject TYPE).
* Tentative patch for buildbot
Unfortunately, I cannot test the buildbot, neither I know about it much.
I suppose that this is a sensible patch to be able to work with previous
changes to SMath build process.
* Update SMath wrapper help
* Revert part of #763d4ce to solve #974
* Addapt Julia wrapper to dfbb3a4
May be better in the future to use a second argument and insert it to the buffer, but I don't know yet how to do properly the conversion.
So for now, will always return the "long" option.
* "long" in byte array literal
* Enhance get_parameter_information_string
as discussed in #1093
I however have a strange behavior during my testing, sometimes the parameter gets correctly recognised and I have the correct output, but sometimes it answer "parameter is invalid: parametername", whereas I send the exact same commend in Julia side...
* Terminate string with 0 when instering in the buffer
As discussed in #1093
* Better error handling for get_parameter_information_string
Now there is a distinction between error in `param` or in `Output`.
* Update CoolProp.jl
Closes#1077