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 | 3734 | June 14, 2024 | |
bind(C) philosophy: pointer-by-value or type-by-reference? | 12 | 1038 | July 3, 2022 | |
Why can't FORTRAN determine the size of a given C array?
|
19 | 1288 | July 10, 2023 | |
Question about assumed type arrays and C_NULL_PTR | 20 | 952 | August 11, 2023 | |
Return an array of strings from fortran to c++ | 14 | 1803 | February 3, 2023 |