ipaws
is a Fortran library providing the formulas for computing light and heavy water properties.
The formulas are taken from http://iapws.org.
C API allows usage from C, or can be used as a basis for other wrappers.
Python wrapper allows easy usage from Python.
For now, I have implemented
To use iapws
within your fpm project,
add the following to your fpm.toml
file:
[dependencies]
iapws = { git="https://github.com/MilanSkocic/iapws.git" }
gcc>=10.0
gfortran>=10.0
fpm>=0.7
stdlib>=0.5
A Makefile is provided, which uses fpm, for building the library.
Build: the configuration file will set all the environment variables necessary for the compilation
chmod +x configure.sh
. ./configure.sh
make
Run tests
make test
Install
make install
Uninstall
make uninstall
MIT