https://github.com/hugomvale/fortran-c-interoperability
Examples of Fortran interoperation with C.
https://github.com/hugomvale/fortran-c-interoperability
c fortran interoperation modern-fortran
Last synced: 4 months ago
JSON representation
Examples of Fortran interoperation with C.
- Host: GitHub
- URL: https://github.com/hugomvale/fortran-c-interoperability
- Owner: HugoMVale
- License: mit
- Created: 2024-06-05T17:05:43.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-02T20:44:21.000Z (almost 2 years ago)
- Last Synced: 2025-10-29T14:56:55.618Z (8 months ago)
- Topics: c, fortran, interoperation, modern-fortran
- Language: Fortran
- Homepage:
- Size: 84 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fortran-C-interoperability
[](https://github.com/topics/fortran)
## Description
Interoperation between Fortran and C is a powerful feature of modern Fortran. Once you get the gist of it, it feels quite simple and obvious, but surprisingly, there isn't any book or tutorial that explains the principles in a pedagogical manner.
So, the best way to learn interoperability is to code some examples and infer the logic. This is my attempt to do so (for myself).
## Useful references
* https://fortranwiki.org/fortran/show/Interoperability
* https://doku.lrz.de/files/10746213/10746217/1/1684600341047/Advanced_Fortran_Interop.pdf
* https://ahamodel.uib.no/intel/GUID-C0FA4080-4548-4045-9E6D-EFE57A0DE1A3.html
* [fortran-lang](https://fortran-lang.discourse.group/)