FortWrap is a python script that parses Fortran 90/95/200X source files and generates wrapper code in the form of C++ classes. FortWrap is intended to be used with object oriented Fortran code that makes use of Fortran derived types.
Project has moved to:
https://github.com/mcfarljm/fortwrap
Features
- Fortran derived types wrapped in C++ proxy classes
- Experimental support for polymorphism (CLASS variables) in version 2.0
- Arrays wrapped with C++ vectors
- Support for optional arguments
- Support for wrapping procedure pointers
- Support for string arguments
- Fortran doxygen comments transferred to C++ header files
- Name mangling support for gfortran and g95 compilers
- Wrappers respect Fortran public/private statements
- Generated code can be re-wrapped with swig -c++
License
MIT LicenseFollow FortWrap
You Might Also Like
Red Hat Enterprise Linux (RHEL) on Microsoft Azure provides a secure, reliable, and flexible foundation for your cloud infrastructure. Red Hat Enterprise Linux on Microsoft Azure is ideal for enterprises seeking to enhance their cloud environment with seamless integration, consistent performance, and comprehensive support.
Rate This Project
Login To Rate This Project
User Reviews
-
Hits the spot.