Commit Graph

5 Commits

Author SHA1 Message Date
Davide Carpi
b371b75aaf SMath Wrapper refactoring (#1365)
* Full update to latest SS 0.98 APIs

- SS: switched to LowLevelEvaluationFast interface;
- SS: fixed compiler warnings for deprecated methods/properties;
- refactoring;

* refactoring

- removed not useful try/catch from unit manager;
- refactoring of not used methods;

* Fix for SMath bug SS-2414

* minor changes

* Added folder for Test files

* Added test file

IF97 test file from CoolProp/CoolProp issue #1249

* changed filename

* added script for batch testing

* Review of dynamic assistant tootltip

* New layout for README.md

* Updated README.md

* Updated README.md

* Fixed combined emphasis in README.md
2016-12-02 10:41:19 -05:00
Mike Kaganski
1f1bf52f77 Change names of dlls copied to SMath wrapper: use underscore instead of dot (#1113)
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.
2016-06-21 08:31:43 -06:00
Mike Kaganski
9a0851c5dd Improvements to SMath wrapper error handling and some small tweaks (#1111)
* 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
2016-06-07 19:34:23 -06:00
Mike Kaganski
f7ef611f50 Set error string in get_parameter_information_string() : fixes #1096 (#1097)
Set error string in get_parameter_information_string() and fix SMath wrapper : fixes #1096
2016-06-05 14:54:42 -06:00
Ian Bell
8f56fb7a0e Added SMath wrapper code
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-02-18 22:20:27 -05:00