jowr / librefprop.so

Create a shared library from the Fortran sources provided by Refprop from NIST. This project provides an alternative to the refprop.dll that comes with the software. Please use the official instructions if possible
https://github.com/usnistgov/REFPROP-cmake
33 stars 8 forks source link

Add automatic prototype generation for MATLAB #28

Open jowr opened 9 years ago

jowr commented 9 years ago

Linux 32bit, Linux 64bit, Mac64bit, what about the thunk libraries?

ibell commented 9 years ago

I modified REFPROP_lib.h, covering more of the functions. Now it is C/C++ compatible depending on what preprocessor flags you define.

What exactly did you have in mind in this issue?

On Thu, May 14, 2015 at 3:35 AM, Jorrit Wronski notifications@github.com wrote:

Linux 32bit, Linux 64bit, Mac64bit, what about the thunk libraries?

— Reply to this email directly or view it on GitHub https://github.com/jowr/librefprop.so/issues/28.

jowr commented 9 years ago

The rp_proto files on the NIST homepage only work for Windows, as does the refpropm.m. I think I already fixed the refpropm.m, but I haven't tested it. It should be straight forward to generate the prototype files, if you have the header but it has to be included in the makefule or in the shell script.