Changeset 2338 for XIOS/dev/dev_ym/XIOS_COUPLING/src/interface/fortran_attr/ireduce_axis_to_scalar_attr.F90
- Timestamp:
- 06/28/22 11:44:19 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/interface/fortran_attr/ireduce_axis_to_scalar_attr.F90
r966 r2338 12 12 13 13 SUBROUTINE xios(set_reduce_axis_to_scalar_attr) & 14 ( reduce_axis_to_scalar_id, operation )14 ( reduce_axis_to_scalar_id, local, operation ) 15 15 16 16 IMPLICIT NONE 17 17 TYPE(txios(reduce_axis_to_scalar)) :: reduce_axis_to_scalar_hdl 18 18 CHARACTER(LEN=*), INTENT(IN) ::reduce_axis_to_scalar_id 19 LOGICAL , OPTIONAL, INTENT(IN) :: local 20 LOGICAL (KIND=C_BOOL) :: local_tmp 19 21 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: operation 20 22 … … 22 24 (reduce_axis_to_scalar_id,reduce_axis_to_scalar_hdl) 23 25 CALL xios(set_reduce_axis_to_scalar_attr_hdl_) & 24 ( reduce_axis_to_scalar_hdl, operation )26 ( reduce_axis_to_scalar_hdl, local, operation ) 25 27 26 28 END SUBROUTINE xios(set_reduce_axis_to_scalar_attr) 27 29 28 30 SUBROUTINE xios(set_reduce_axis_to_scalar_attr_hdl) & 29 ( reduce_axis_to_scalar_hdl, operation )31 ( reduce_axis_to_scalar_hdl, local, operation ) 30 32 31 33 IMPLICIT NONE 32 34 TYPE(txios(reduce_axis_to_scalar)) , INTENT(IN) :: reduce_axis_to_scalar_hdl 35 LOGICAL , OPTIONAL, INTENT(IN) :: local 36 LOGICAL (KIND=C_BOOL) :: local_tmp 33 37 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: operation 34 38 35 39 CALL xios(set_reduce_axis_to_scalar_attr_hdl_) & 36 ( reduce_axis_to_scalar_hdl, operation )40 ( reduce_axis_to_scalar_hdl, local, operation ) 37 41 38 42 END SUBROUTINE xios(set_reduce_axis_to_scalar_attr_hdl) 39 43 40 44 SUBROUTINE xios(set_reduce_axis_to_scalar_attr_hdl_) & 41 ( reduce_axis_to_scalar_hdl, operation_ )45 ( reduce_axis_to_scalar_hdl, local_, operation_ ) 42 46 43 47 IMPLICIT NONE 44 48 TYPE(txios(reduce_axis_to_scalar)) , INTENT(IN) :: reduce_axis_to_scalar_hdl 49 LOGICAL , OPTIONAL, INTENT(IN) :: local_ 50 LOGICAL (KIND=C_BOOL) :: local__tmp 45 51 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: operation_ 52 53 IF (PRESENT(local_)) THEN 54 local__tmp = local_ 55 CALL cxios_set_reduce_axis_to_scalar_local & 56 (reduce_axis_to_scalar_hdl%daddr, local__tmp) 57 ENDIF 46 58 47 59 IF (PRESENT(operation_)) THEN … … 53 65 54 66 SUBROUTINE xios(get_reduce_axis_to_scalar_attr) & 55 ( reduce_axis_to_scalar_id, operation )67 ( reduce_axis_to_scalar_id, local, operation ) 56 68 57 69 IMPLICIT NONE 58 70 TYPE(txios(reduce_axis_to_scalar)) :: reduce_axis_to_scalar_hdl 59 71 CHARACTER(LEN=*), INTENT(IN) ::reduce_axis_to_scalar_id 72 LOGICAL , OPTIONAL, INTENT(OUT) :: local 73 LOGICAL (KIND=C_BOOL) :: local_tmp 60 74 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: operation 61 75 … … 63 77 (reduce_axis_to_scalar_id,reduce_axis_to_scalar_hdl) 64 78 CALL xios(get_reduce_axis_to_scalar_attr_hdl_) & 65 ( reduce_axis_to_scalar_hdl, operation )79 ( reduce_axis_to_scalar_hdl, local, operation ) 66 80 67 81 END SUBROUTINE xios(get_reduce_axis_to_scalar_attr) 68 82 69 83 SUBROUTINE xios(get_reduce_axis_to_scalar_attr_hdl) & 70 ( reduce_axis_to_scalar_hdl, operation )84 ( reduce_axis_to_scalar_hdl, local, operation ) 71 85 72 86 IMPLICIT NONE 73 87 TYPE(txios(reduce_axis_to_scalar)) , INTENT(IN) :: reduce_axis_to_scalar_hdl 88 LOGICAL , OPTIONAL, INTENT(OUT) :: local 89 LOGICAL (KIND=C_BOOL) :: local_tmp 74 90 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: operation 75 91 76 92 CALL xios(get_reduce_axis_to_scalar_attr_hdl_) & 77 ( reduce_axis_to_scalar_hdl, operation )93 ( reduce_axis_to_scalar_hdl, local, operation ) 78 94 79 95 END SUBROUTINE xios(get_reduce_axis_to_scalar_attr_hdl) 80 96 81 97 SUBROUTINE xios(get_reduce_axis_to_scalar_attr_hdl_) & 82 ( reduce_axis_to_scalar_hdl, operation_ )98 ( reduce_axis_to_scalar_hdl, local_, operation_ ) 83 99 84 100 IMPLICIT NONE 85 101 TYPE(txios(reduce_axis_to_scalar)) , INTENT(IN) :: reduce_axis_to_scalar_hdl 102 LOGICAL , OPTIONAL, INTENT(OUT) :: local_ 103 LOGICAL (KIND=C_BOOL) :: local__tmp 86 104 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: operation_ 105 106 IF (PRESENT(local_)) THEN 107 CALL cxios_get_reduce_axis_to_scalar_local & 108 (reduce_axis_to_scalar_hdl%daddr, local__tmp) 109 local_ = local__tmp 110 ENDIF 87 111 88 112 IF (PRESENT(operation_)) THEN … … 94 118 95 119 SUBROUTINE xios(is_defined_reduce_axis_to_scalar_attr) & 96 ( reduce_axis_to_scalar_id, operation )120 ( reduce_axis_to_scalar_id, local, operation ) 97 121 98 122 IMPLICIT NONE 99 123 TYPE(txios(reduce_axis_to_scalar)) :: reduce_axis_to_scalar_hdl 100 124 CHARACTER(LEN=*), INTENT(IN) ::reduce_axis_to_scalar_id 125 LOGICAL, OPTIONAL, INTENT(OUT) :: local 126 LOGICAL(KIND=C_BOOL) :: local_tmp 101 127 LOGICAL, OPTIONAL, INTENT(OUT) :: operation 102 128 LOGICAL(KIND=C_BOOL) :: operation_tmp … … 105 131 (reduce_axis_to_scalar_id,reduce_axis_to_scalar_hdl) 106 132 CALL xios(is_defined_reduce_axis_to_scalar_attr_hdl_) & 107 ( reduce_axis_to_scalar_hdl, operation )133 ( reduce_axis_to_scalar_hdl, local, operation ) 108 134 109 135 END SUBROUTINE xios(is_defined_reduce_axis_to_scalar_attr) 110 136 111 137 SUBROUTINE xios(is_defined_reduce_axis_to_scalar_attr_hdl) & 112 ( reduce_axis_to_scalar_hdl, operation )138 ( reduce_axis_to_scalar_hdl, local, operation ) 113 139 114 140 IMPLICIT NONE 115 141 TYPE(txios(reduce_axis_to_scalar)) , INTENT(IN) :: reduce_axis_to_scalar_hdl 142 LOGICAL, OPTIONAL, INTENT(OUT) :: local 143 LOGICAL(KIND=C_BOOL) :: local_tmp 116 144 LOGICAL, OPTIONAL, INTENT(OUT) :: operation 117 145 LOGICAL(KIND=C_BOOL) :: operation_tmp 118 146 119 147 CALL xios(is_defined_reduce_axis_to_scalar_attr_hdl_) & 120 ( reduce_axis_to_scalar_hdl, operation )148 ( reduce_axis_to_scalar_hdl, local, operation ) 121 149 122 150 END SUBROUTINE xios(is_defined_reduce_axis_to_scalar_attr_hdl) 123 151 124 152 SUBROUTINE xios(is_defined_reduce_axis_to_scalar_attr_hdl_) & 125 ( reduce_axis_to_scalar_hdl, operation_ )153 ( reduce_axis_to_scalar_hdl, local_, operation_ ) 126 154 127 155 IMPLICIT NONE 128 156 TYPE(txios(reduce_axis_to_scalar)) , INTENT(IN) :: reduce_axis_to_scalar_hdl 157 LOGICAL, OPTIONAL, INTENT(OUT) :: local_ 158 LOGICAL(KIND=C_BOOL) :: local__tmp 129 159 LOGICAL, OPTIONAL, INTENT(OUT) :: operation_ 130 160 LOGICAL(KIND=C_BOOL) :: operation__tmp 161 162 IF (PRESENT(local_)) THEN 163 local__tmp = cxios_is_defined_reduce_axis_to_scalar_local & 164 (reduce_axis_to_scalar_hdl%daddr) 165 local_ = local__tmp 166 ENDIF 131 167 132 168 IF (PRESENT(operation_)) THEN
Note: See TracChangeset
for help on using the changeset viewer.