Changeset 14072 for NEMO/trunk/src/OCE/do_loop_substitute.h90
- Timestamp:
- 2020-12-04T08:48:38+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/OCE/do_loop_substitute.h90
r13982 r14072 14 14 ! DO jj = .... DO jj = ... 15 15 ! DO ji = .... DO ji = ... 16 ! . OR . 16 ! . OR . 17 17 ! . . 18 18 ! END DO END DO … … 25 25 ! Upper limits of jpi, jpim1 or fs_jpim1 (for ji) or jpj, jpjm1 or fs_jpjm1 (for jj) 26 26 ! 27 ! The macro naming convention takes the form: DO_2D( B, T, L, R) where: 27 ! The macro naming convention takes the form: DO_2D( B, T, L, R) where: 28 28 ! B is the Bottom offset from the PE's inner domain; 29 29 ! T is the Top offset from the PE's inner domain; … … 32 32 ! 33 33 ! So, given an inner domain of 2,jpim1 and 2,jpjm1, a typical example would replace: 34 ! 34 ! 35 35 ! DO jj = 2, jpj 36 36 ! DO ji = 1, jpim1 … … 46 46 ! . 47 47 ! END_2D 48 ! 49 ! similar conventions apply to the 3D loops macros. jk loop limits are retained through macro arguments 50 ! and are not restricted. This includes the possibility of strides for which an extra set of DO_3DS 48 ! 49 ! similar conventions apply to the 3D loops macros. jk loop limits are retained through macro arguments 50 ! and are not restricted. This includes the possibility of strides for which an extra set of DO_3DS 51 51 ! macros are defined. 52 52 ! 53 ! In the following definitions the inner PE domain is defined by start indices of (Nis0, Njs0) and end 53 ! In the following definitions the inner PE domain is defined by start indices of (Nis0, Njs0) and end 54 54 ! indices of (Nie0, Nje0) where: 55 55 ! 56 56 ! Nis0 = 1 + nn_hls Njs0 = 1 + nn_hls 57 57 ! Nie0 = jpi - nn_hls Nje0 = jpj - nn_hls 58 ! 58 ! 59 59 #endif 60 60
Note: See TracChangeset
for help on using the changeset viewer.