Changeset 9971 for NEMO/trunk/src/OCE/LBC/mpp_nfd_generic.h90
- Timestamp:
- 2018-07-19T14:39:57+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/OCE/LBC/mpp_nfd_generic.h90
r9945 r9971 95 95 ALLOCATE( ztabl(jpimax ,4,ipk,ipl,ipf) , ztabr(jpimax*jpmaxngh,4,ipk,ipl,ipf) ) 96 96 ! 97 ztabr(:,:,:,:,:) = 0._wp 98 ztabl(:,:,:,:,:) = 0._wp 97 ! when some processors of the north fold are suppressed, 98 ! values of ztab* arrays corresponding to these suppressed domain won't be defined 99 ! and we need a default definition to 0. 100 ! a better test should be: a testing if "suppressed land-processors" belongs to the north-pole folding 101 IF ( jpni*jpnj /= jpnij ) THEN 102 ztabr(:,:,:,:,:) = 0._wp 103 ztabl(:,:,:,:,:) = 0._wp 104 END IF 99 105 ! 100 106 DO jf = 1, ipf … … 183 189 ALLOCATE( znorthgloio(jpimax,4,ipk,ipl,ipf,jpni) ) 184 190 ! 185 ztab(:,:,:,:,:)=0._wp 191 ! when some processors of the north fold are suppressed, 192 ! values of ztab* arrays corresponding to these suppressed domain won't be defined 193 ! and we need a default definition to 0. 194 ! a better test should be: a testing if "suppressed land-processors" belongs to the north-pole folding 195 IF ( jpni*jpnj /= jpnij ) ztab(:,:,:,:,:)=0._wp 186 196 ! 187 197 CALL MPI_ALLGATHER( znorthloc , itaille, MPI_DOUBLE_PRECISION, &
Note: See TracChangeset
for help on using the changeset viewer.