Changeset 13204 for utils/tools/DOMAINcfg/src/domutl.F90
- Timestamp:
- 2020-07-02T10:38:35+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/tools/DOMAINcfg/src/domutl.F90
r12414 r13204 1 MODULE domut il1 MODULE domutl 2 2 !! 3 3 !!====================================================================== … … 54 54 INTEGER :: iim1, ijm1, ikm1 ! working integer 55 55 INTEGER :: nseed ! size of the stack 56 TYPE (idx), POINTER :: seed 56 TYPE (idx), POINTER :: seed => NULL() 57 57 !!---------------------------------------------------------------------- 58 58 ! 59 59 ! initialisation seed 60 NULLIFY(seed)60 ! NULLIFY(seed) 61 61 ! 62 62 ! create the first seed and update nseed for all processors … … 72 72 END IF 73 73 END IF 74 nseed=SUM(rseedmap); IF( lk_mpp ) CALL mpp_sum('domut il', nseed ) ! nseed =0 means on land => WARNING later on74 nseed=SUM(rseedmap); IF( lk_mpp ) CALL mpp_sum('domutl', nseed ) ! nseed =0 means on land => WARNING later on 75 75 ! 76 76 ! loop until the stack size is 0 or if the pool is larger than the critical size … … 106 106 ! 107 107 ! exchange seed 108 nseed=SUM(rseedmap); IF( lk_mpp ) CALL mpp_sum('domut il', nseed ) ! this is the sum of all the point check this iteration108 nseed=SUM(rseedmap); IF( lk_mpp ) CALL mpp_sum('domutl', nseed ) ! this is the sum of all the point check this iteration 109 109 ! 110 110 rseedmap_b(:,:,:)=rseedmap(:,:,:) 111 CALL lbc_lnk('domut il', rseedmap, 'T', 1.)111 CALL lbc_lnk('domutl', rseedmap, 'T', 1.) 112 112 ! 113 113 ! build new list of seed … … 150 150 INTEGER :: iim1, ijm1 ! working integer 151 151 INTEGER :: nseed ! size of the stack 152 TYPE (idx), POINTER :: seed 152 TYPE (idx), POINTER :: seed => NULL() 153 153 !!---------------------------------------------------------------------- 154 154 ! 155 155 ! initialisation seed 156 NULLIFY(seed)156 !NULLIFY(seed) 157 157 ! 158 158 ! create the first seed and update nseed for all processors … … 168 168 END IF 169 169 END IF 170 nseed=SUM(rseedmap); IF( lk_mpp ) CALL mpp_sum('domut il', nseed ) ! nseed =0 means on land => WARNING later on170 nseed=SUM(rseedmap); IF( lk_mpp ) CALL mpp_sum('domutl', nseed ) ! nseed =0 means on land => WARNING later on 171 171 ! 172 172 ! loop until the stack size is 0 or if the pool is larger than the critical size … … 195 195 ! 196 196 ! exchange seed 197 nseed=SUM(rseedmap); IF( lk_mpp ) CALL mpp_sum('domut il', nseed ) ! this is the sum of all the point check this iteration198 ! 199 CALL lbc_lnk('domut il', rseedmap, 'T', 1.)197 nseed=SUM(rseedmap); IF( lk_mpp ) CALL mpp_sum('domutl', nseed ) ! this is the sum of all the point check this iteration 198 ! 199 CALL lbc_lnk('domutl', rseedmap, 'T', 1.) 200 200 ! 201 201 ! build new list of seed … … 259 259 zpt_tmp => pt_idx%next 260 260 DEALLOCATE(pt_idx) 261 NULLIFY(pt_idx) 261 !NULLIFY(pt_idx) 262 pt_idx => NULL() 262 263 pt_idx => zpt_tmp 263 264 ELSE 264 NULLIFY(pt_idx) 265 !NULLIFY(pt_idx) 266 pt_idx => NULL() 265 267 ENDIF 266 268 END SUBROUTINE del_head_idx 267 269 ! 268 END MODULE domut il270 END MODULE domutl
Note: See TracChangeset
for help on using the changeset viewer.