[swig-fortran](https://github.com/swig-fortran/swig) will allow us to call this from existing fortran code.