- Timestamp:
- 2020-05-22T09:05:34+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r12558_HPC-08_epico_Extra_Halo/src/OCE/DOM/domain.F90
r12939 r12960 215 215 !! - mig0, mjg0: local domain indices ==> global domain, excluding halos, indices 216 216 !! - mi0 , mi1 : global domain indices ==> local domain indices 217 !! - mj0 ,, mj1 (global point not in the local domain ==> mi0>mi1 and/or mj0>mj1)217 !! - mj0 , mj1 (if global point not in the local domain ==> mi0>mi1 and/or mj0>mj1) 218 218 !!---------------------------------------------------------------------- 219 219 INTEGER :: ji, jj ! dummy loop argument … … 228 228 ! ! local domain indices ==> global domain, excluding halos, indices 229 229 ! 230 mig0(:) = mig(:) - nn_hls 231 mjg0(:) = mjg(:) - nn_hls 230 232 ! WARNING: to keep compatibility with the trunk that was including periodocity into the input data, 231 233 ! we must define mig0 and mjg0 as bellow. 232 234 ! Once we decide to forget trunk compatibility, we must simply define mig0 and mjg0 as: 233 !!$ mig0(:) = mig(:) - nn_hls 234 !!$ mjg0(:) = mjg(:) - nn_hls 235 mig0(:) = mig(:) - nn_hls + COUNT( (/ jperio == 1 .OR. jperio == 4 .OR. jperio == 6 .OR. jperio == 7 /) ) 236 mjg0(:) = mjg(:) - nn_hls + COUNT( (/ jperio == 2 .OR. jperio == 7 /) ) 235 mig0_oldcmp(:) = mig0(:) + COUNT( (/ jperio == 1 .OR. jperio == 4 .OR. jperio == 6 .OR. jperio == 7 /) ) 236 mjg0_oldcmp(:) = mjg0(:) + COUNT( (/ jperio == 2 .OR. jperio == 7 /) ) 237 237 ! 238 238 ! ! global domain, including halos, indices ==> local domain indices
Note: See TracChangeset
for help on using the changeset viewer.