Last change
on this file since 480 was
472,
checked in by ymipsl, 11 years ago
|
Enhancement : user defined global and field attribute can be output in the netcdfcf file.
A variable child element inclosed into a file element will be output as a global file attribute.
A variable child element inclosed into a field element will be output as a field attribute.
+ variable fortran interface added
YM
|
File size:
890 bytes
|
Line | |
---|
1 | MODULE VARIABLEGROUP_INTERFACE |
---|
2 | USE, INTRINSIC :: ISO_C_BINDING |
---|
3 | |
---|
4 | INTERFACE ! Ne pas appeler directement/Interface FORTRAN 2003 <-> C99 |
---|
5 | |
---|
6 | |
---|
7 | SUBROUTINE cxios_variablegroup_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_variablegroup_handle_create |
---|
13 | |
---|
14 | SUBROUTINE cxios_variablegroup_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_variablegroup_valid_id |
---|
20 | |
---|
21 | END INTERFACE |
---|
22 | |
---|
23 | END MODULE VARIABLEGROUP_INTERFACE |
---|
Note: See
TracBrowser
for help on using the repository browser.