See this thread for a fully worked out illustration and commentary.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Difference between assumed-size and assumed-shape arrays? | 8 | 1291 | December 5, 2023 | |
Explicit-shape and assumed-size arrays, and sequence association
|
12 | 2263 | February 16, 2022 | |
Iso_c_binding: pass an array from c to fortran (Edit: python interop content)
|
25 | 3408 | June 14, 2024 | |
Using a Fortran derived type with allocatable components from C
|
1 | 1314 | May 15, 2022 | |
Practicing Fortran and C interoperability : Passing variable length array from Fortran to C and vice versa | 10 | 846 | April 6, 2023 |