- Timestamp:
- 06/18/18 20:32:55 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/src/interface/fortran_attr/scalar_interface_attr.F90
r1052 r1545 10 10 ! Do not call directly / interface FORTRAN 2003 <-> C99 11 11 12 SUBROUTINE cxios_set_scalar_axis_type(scalar_hdl, axis_type, axis_type_size) BIND(C) 13 USE ISO_C_BINDING 14 INTEGER (kind = C_INTPTR_T), VALUE :: scalar_hdl 15 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: axis_type 16 INTEGER (kind = C_INT) , VALUE :: axis_type_size 17 END SUBROUTINE cxios_set_scalar_axis_type 18 19 SUBROUTINE cxios_get_scalar_axis_type(scalar_hdl, axis_type, axis_type_size) BIND(C) 20 USE ISO_C_BINDING 21 INTEGER (kind = C_INTPTR_T), VALUE :: scalar_hdl 22 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: axis_type 23 INTEGER (kind = C_INT) , VALUE :: axis_type_size 24 END SUBROUTINE cxios_get_scalar_axis_type 25 26 FUNCTION cxios_is_defined_scalar_axis_type(scalar_hdl) BIND(C) 27 USE ISO_C_BINDING 28 LOGICAL(kind=C_BOOL) :: cxios_is_defined_scalar_axis_type 29 INTEGER (kind = C_INTPTR_T), VALUE :: scalar_hdl 30 END FUNCTION cxios_is_defined_scalar_axis_type 31 32 33 SUBROUTINE cxios_set_scalar_bounds(scalar_hdl, bounds, extent) BIND(C) 34 USE ISO_C_BINDING 35 INTEGER (kind = C_INTPTR_T), VALUE :: scalar_hdl 36 REAL (KIND=C_DOUBLE) , DIMENSION(*) :: bounds 37 INTEGER (kind = C_INT), DIMENSION(*) :: extent 38 END SUBROUTINE cxios_set_scalar_bounds 39 40 SUBROUTINE cxios_get_scalar_bounds(scalar_hdl, bounds, extent) BIND(C) 41 USE ISO_C_BINDING 42 INTEGER (kind = C_INTPTR_T), VALUE :: scalar_hdl 43 REAL (KIND=C_DOUBLE) , DIMENSION(*) :: bounds 44 INTEGER (kind = C_INT), DIMENSION(*) :: extent 45 END SUBROUTINE cxios_get_scalar_bounds 46 47 FUNCTION cxios_is_defined_scalar_bounds(scalar_hdl) BIND(C) 48 USE ISO_C_BINDING 49 LOGICAL(kind=C_BOOL) :: cxios_is_defined_scalar_bounds 50 INTEGER (kind = C_INTPTR_T), VALUE :: scalar_hdl 51 END FUNCTION cxios_is_defined_scalar_bounds 52 53 54 SUBROUTINE cxios_set_scalar_bounds_name(scalar_hdl, bounds_name, bounds_name_size) BIND(C) 55 USE ISO_C_BINDING 56 INTEGER (kind = C_INTPTR_T), VALUE :: scalar_hdl 57 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: bounds_name 58 INTEGER (kind = C_INT) , VALUE :: bounds_name_size 59 END SUBROUTINE cxios_set_scalar_bounds_name 60 61 SUBROUTINE cxios_get_scalar_bounds_name(scalar_hdl, bounds_name, bounds_name_size) BIND(C) 62 USE ISO_C_BINDING 63 INTEGER (kind = C_INTPTR_T), VALUE :: scalar_hdl 64 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: bounds_name 65 INTEGER (kind = C_INT) , VALUE :: bounds_name_size 66 END SUBROUTINE cxios_get_scalar_bounds_name 67 68 FUNCTION cxios_is_defined_scalar_bounds_name(scalar_hdl) BIND(C) 69 USE ISO_C_BINDING 70 LOGICAL(kind=C_BOOL) :: cxios_is_defined_scalar_bounds_name 71 INTEGER (kind = C_INTPTR_T), VALUE :: scalar_hdl 72 END FUNCTION cxios_is_defined_scalar_bounds_name 73 74 75 SUBROUTINE cxios_set_scalar_comment(scalar_hdl, comment, comment_size) BIND(C) 76 USE ISO_C_BINDING 77 INTEGER (kind = C_INTPTR_T), VALUE :: scalar_hdl 78 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: comment 79 INTEGER (kind = C_INT) , VALUE :: comment_size 80 END SUBROUTINE cxios_set_scalar_comment 81 82 SUBROUTINE cxios_get_scalar_comment(scalar_hdl, comment, comment_size) BIND(C) 83 USE ISO_C_BINDING 84 INTEGER (kind = C_INTPTR_T), VALUE :: scalar_hdl 85 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: comment 86 INTEGER (kind = C_INT) , VALUE :: comment_size 87 END SUBROUTINE cxios_get_scalar_comment 88 89 FUNCTION cxios_is_defined_scalar_comment(scalar_hdl) BIND(C) 90 USE ISO_C_BINDING 91 LOGICAL(kind=C_BOOL) :: cxios_is_defined_scalar_comment 92 INTEGER (kind = C_INTPTR_T), VALUE :: scalar_hdl 93 END FUNCTION cxios_is_defined_scalar_comment 94 95 96 SUBROUTINE cxios_set_scalar_label(scalar_hdl, label, label_size) BIND(C) 97 USE ISO_C_BINDING 98 INTEGER (kind = C_INTPTR_T), VALUE :: scalar_hdl 99 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: label 100 INTEGER (kind = C_INT) , VALUE :: label_size 101 END SUBROUTINE cxios_set_scalar_label 102 103 SUBROUTINE cxios_get_scalar_label(scalar_hdl, label, label_size) BIND(C) 104 USE ISO_C_BINDING 105 INTEGER (kind = C_INTPTR_T), VALUE :: scalar_hdl 106 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: label 107 INTEGER (kind = C_INT) , VALUE :: label_size 108 END SUBROUTINE cxios_get_scalar_label 109 110 FUNCTION cxios_is_defined_scalar_label(scalar_hdl) BIND(C) 111 USE ISO_C_BINDING 112 LOGICAL(kind=C_BOOL) :: cxios_is_defined_scalar_label 113 INTEGER (kind = C_INTPTR_T), VALUE :: scalar_hdl 114 END FUNCTION cxios_is_defined_scalar_label 115 116 12 117 SUBROUTINE cxios_set_scalar_long_name(scalar_hdl, long_name, long_name_size) BIND(C) 13 118 USE ISO_C_BINDING … … 52 157 53 158 159 SUBROUTINE cxios_set_scalar_positive(scalar_hdl, positive, positive_size) BIND(C) 160 USE ISO_C_BINDING 161 INTEGER (kind = C_INTPTR_T), VALUE :: scalar_hdl 162 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: positive 163 INTEGER (kind = C_INT) , VALUE :: positive_size 164 END SUBROUTINE cxios_set_scalar_positive 165 166 SUBROUTINE cxios_get_scalar_positive(scalar_hdl, positive, positive_size) BIND(C) 167 USE ISO_C_BINDING 168 INTEGER (kind = C_INTPTR_T), VALUE :: scalar_hdl 169 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: positive 170 INTEGER (kind = C_INT) , VALUE :: positive_size 171 END SUBROUTINE cxios_get_scalar_positive 172 173 FUNCTION cxios_is_defined_scalar_positive(scalar_hdl) BIND(C) 174 USE ISO_C_BINDING 175 LOGICAL(kind=C_BOOL) :: cxios_is_defined_scalar_positive 176 INTEGER (kind = C_INTPTR_T), VALUE :: scalar_hdl 177 END FUNCTION cxios_is_defined_scalar_positive 178 179 54 180 SUBROUTINE cxios_set_scalar_prec(scalar_hdl, prec) BIND(C) 55 181 USE ISO_C_BINDING
Note: See TracChangeset
for help on using the changeset viewer.