See this thread for a fully worked out illustration and commentary.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
|
Iso_c_binding: pass an array from c to fortran (Edit: python interop content)
|
25 | 3781 | June 14, 2024 | |
| bind(C) philosophy: pointer-by-value or type-by-reference? | 12 | 1057 | July 3, 2022 | |
|
Why can't FORTRAN determine the size of a given C array?
|
19 | 1327 | July 10, 2023 | |
| Return an array of strings from fortran to c++ | 14 | 1824 | February 3, 2023 | |
| Fortran Best Practice Minibook | 84 | 4545 | September 20, 2021 |