- Timestamp:
- 07/05/16 15:59:23 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/interface/fortran_attr/iinterpolate_domain_attr.F90
r786 r891 12 12 13 13 SUBROUTINE xios(set_interpolate_domain_attr) & 14 ( interpolate_domain_id, file, order )14 ( interpolate_domain_id, file, order, renormalize ) 15 15 16 16 IMPLICIT NONE … … 19 19 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: file 20 20 INTEGER , OPTIONAL, INTENT(IN) :: order 21 LOGICAL , OPTIONAL, INTENT(IN) :: renormalize 22 LOGICAL (KIND=C_BOOL) :: renormalize_tmp 21 23 22 24 CALL xios(get_interpolate_domain_handle)(interpolate_domain_id,interpolate_domain_hdl) 23 25 CALL xios(set_interpolate_domain_attr_hdl_) & 24 ( interpolate_domain_hdl, file, order )26 ( interpolate_domain_hdl, file, order, renormalize ) 25 27 26 28 END SUBROUTINE xios(set_interpolate_domain_attr) 27 29 28 30 SUBROUTINE xios(set_interpolate_domain_attr_hdl) & 29 ( interpolate_domain_hdl, file, order )31 ( interpolate_domain_hdl, file, order, renormalize ) 30 32 31 33 IMPLICIT NONE … … 33 35 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: file 34 36 INTEGER , OPTIONAL, INTENT(IN) :: order 37 LOGICAL , OPTIONAL, INTENT(IN) :: renormalize 38 LOGICAL (KIND=C_BOOL) :: renormalize_tmp 35 39 36 40 CALL xios(set_interpolate_domain_attr_hdl_) & 37 ( interpolate_domain_hdl, file, order )41 ( interpolate_domain_hdl, file, order, renormalize ) 38 42 39 43 END SUBROUTINE xios(set_interpolate_domain_attr_hdl) 40 44 41 45 SUBROUTINE xios(set_interpolate_domain_attr_hdl_) & 42 ( interpolate_domain_hdl, file_, order_ )46 ( interpolate_domain_hdl, file_, order_, renormalize_ ) 43 47 44 48 IMPLICIT NONE … … 46 50 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: file_ 47 51 INTEGER , OPTIONAL, INTENT(IN) :: order_ 52 LOGICAL , OPTIONAL, INTENT(IN) :: renormalize_ 53 LOGICAL (KIND=C_BOOL) :: renormalize__tmp 48 54 49 55 IF (PRESENT(file_)) THEN … … 55 61 ENDIF 56 62 63 IF (PRESENT(renormalize_)) THEN 64 renormalize__tmp = renormalize_ 65 CALL cxios_set_interpolate_domain_renormalize(interpolate_domain_hdl%daddr, renormalize__tmp) 66 ENDIF 67 57 68 END SUBROUTINE xios(set_interpolate_domain_attr_hdl_) 58 69 59 70 SUBROUTINE xios(get_interpolate_domain_attr) & 60 ( interpolate_domain_id, file, order )71 ( interpolate_domain_id, file, order, renormalize ) 61 72 62 73 IMPLICIT NONE … … 65 76 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: file 66 77 INTEGER , OPTIONAL, INTENT(OUT) :: order 78 LOGICAL , OPTIONAL, INTENT(OUT) :: renormalize 79 LOGICAL (KIND=C_BOOL) :: renormalize_tmp 67 80 68 81 CALL xios(get_interpolate_domain_handle)(interpolate_domain_id,interpolate_domain_hdl) 69 82 CALL xios(get_interpolate_domain_attr_hdl_) & 70 ( interpolate_domain_hdl, file, order )83 ( interpolate_domain_hdl, file, order, renormalize ) 71 84 72 85 END SUBROUTINE xios(get_interpolate_domain_attr) 73 86 74 87 SUBROUTINE xios(get_interpolate_domain_attr_hdl) & 75 ( interpolate_domain_hdl, file, order )88 ( interpolate_domain_hdl, file, order, renormalize ) 76 89 77 90 IMPLICIT NONE … … 79 92 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: file 80 93 INTEGER , OPTIONAL, INTENT(OUT) :: order 94 LOGICAL , OPTIONAL, INTENT(OUT) :: renormalize 95 LOGICAL (KIND=C_BOOL) :: renormalize_tmp 81 96 82 97 CALL xios(get_interpolate_domain_attr_hdl_) & 83 ( interpolate_domain_hdl, file, order )98 ( interpolate_domain_hdl, file, order, renormalize ) 84 99 85 100 END SUBROUTINE xios(get_interpolate_domain_attr_hdl) 86 101 87 102 SUBROUTINE xios(get_interpolate_domain_attr_hdl_) & 88 ( interpolate_domain_hdl, file_, order_ )103 ( interpolate_domain_hdl, file_, order_, renormalize_ ) 89 104 90 105 IMPLICIT NONE … … 92 107 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: file_ 93 108 INTEGER , OPTIONAL, INTENT(OUT) :: order_ 109 LOGICAL , OPTIONAL, INTENT(OUT) :: renormalize_ 110 LOGICAL (KIND=C_BOOL) :: renormalize__tmp 94 111 95 112 IF (PRESENT(file_)) THEN … … 101 118 ENDIF 102 119 120 IF (PRESENT(renormalize_)) THEN 121 CALL cxios_get_interpolate_domain_renormalize(interpolate_domain_hdl%daddr, renormalize__tmp) 122 renormalize_ = renormalize__tmp 123 ENDIF 124 103 125 END SUBROUTINE xios(get_interpolate_domain_attr_hdl_) 104 126 105 127 SUBROUTINE xios(is_defined_interpolate_domain_attr) & 106 ( interpolate_domain_id, file, order )128 ( interpolate_domain_id, file, order, renormalize ) 107 129 108 130 IMPLICIT NONE … … 113 135 LOGICAL, OPTIONAL, INTENT(OUT) :: order 114 136 LOGICAL(KIND=C_BOOL) :: order_tmp 137 LOGICAL, OPTIONAL, INTENT(OUT) :: renormalize 138 LOGICAL(KIND=C_BOOL) :: renormalize_tmp 115 139 116 140 CALL xios(get_interpolate_domain_handle)(interpolate_domain_id,interpolate_domain_hdl) 117 141 CALL xios(is_defined_interpolate_domain_attr_hdl_) & 118 ( interpolate_domain_hdl, file, order )142 ( interpolate_domain_hdl, file, order, renormalize ) 119 143 120 144 END SUBROUTINE xios(is_defined_interpolate_domain_attr) 121 145 122 146 SUBROUTINE xios(is_defined_interpolate_domain_attr_hdl) & 123 ( interpolate_domain_hdl, file, order )147 ( interpolate_domain_hdl, file, order, renormalize ) 124 148 125 149 IMPLICIT NONE … … 129 153 LOGICAL, OPTIONAL, INTENT(OUT) :: order 130 154 LOGICAL(KIND=C_BOOL) :: order_tmp 155 LOGICAL, OPTIONAL, INTENT(OUT) :: renormalize 156 LOGICAL(KIND=C_BOOL) :: renormalize_tmp 131 157 132 158 CALL xios(is_defined_interpolate_domain_attr_hdl_) & 133 ( interpolate_domain_hdl, file, order )159 ( interpolate_domain_hdl, file, order, renormalize ) 134 160 135 161 END SUBROUTINE xios(is_defined_interpolate_domain_attr_hdl) 136 162 137 163 SUBROUTINE xios(is_defined_interpolate_domain_attr_hdl_) & 138 ( interpolate_domain_hdl, file_, order_ )164 ( interpolate_domain_hdl, file_, order_, renormalize_ ) 139 165 140 166 IMPLICIT NONE … … 144 170 LOGICAL, OPTIONAL, INTENT(OUT) :: order_ 145 171 LOGICAL(KIND=C_BOOL) :: order__tmp 172 LOGICAL, OPTIONAL, INTENT(OUT) :: renormalize_ 173 LOGICAL(KIND=C_BOOL) :: renormalize__tmp 146 174 147 175 IF (PRESENT(file_)) THEN … … 155 183 ENDIF 156 184 185 IF (PRESENT(renormalize_)) THEN 186 renormalize__tmp = cxios_is_defined_interpolate_domain_renormalize(interpolate_domain_hdl%daddr) 187 renormalize_ = renormalize__tmp 188 ENDIF 189 157 190 END SUBROUTINE xios(is_defined_interpolate_domain_attr_hdl_) 158 191
Note: See TracChangeset
for help on using the changeset viewer.