Last change
on this file since 2278 was
891,
checked in by mhnguyen, 8 years ago
|
Adding Fortran interface for reduce_axis_to_scalar
Test
+) On Curie
+) Only compilation
|
File size:
861 bytes
|
Rev | Line | |
---|
[891] | 1 | MODULE SCALARGROUP_INTERFACE |
---|
| 2 | USE, INTRINSIC :: ISO_C_BINDING |
---|
| 3 | |
---|
| 4 | INTERFACE ! Ne pas appeler directement/Interface FORTRAN 2003 <-> C99 |
---|
| 5 | |
---|
| 6 | |
---|
| 7 | SUBROUTINE cxios_scalargroup_handle_create(ret, idt, idt_size) BIND(C) |
---|
| 8 | USE ISO_C_BINDING |
---|
| 9 | INTEGER (kind = C_INTPTR_T) :: ret |
---|
| 10 | CHARACTER(kind = C_CHAR) , DIMENSION(*) :: idt |
---|
| 11 | INTEGER (kind = C_INT) , VALUE :: idt_size |
---|
| 12 | END SUBROUTINE cxios_scalargroup_handle_create |
---|
| 13 | |
---|
| 14 | SUBROUTINE cxios_scalargroup_valid_id(ret, idt, idt_size) BIND(C) |
---|
| 15 | USE ISO_C_BINDING |
---|
| 16 | LOGICAL (kind = C_BOOL) :: ret |
---|
| 17 | CHARACTER(kind = C_CHAR) , DIMENSION(*) :: idt |
---|
| 18 | INTEGER (kind = C_INT) , VALUE :: idt_size |
---|
| 19 | END SUBROUTINE cxios_scalargroup_valid_id |
---|
| 20 | |
---|
| 21 | END INTERFACE |
---|
| 22 | |
---|
| 23 | END MODULE SCALARGROUP_INTERFACE |
---|
Note: See
TracBrowser
for help on using the repository browser.