New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 14072 for NEMO/trunk/src/OCE/do_loop_substitute.h90 – NEMO

Ignore:
Timestamp:
2020-12-04T08:48:38+01:00 (4 years ago)
Author:
laurent
Message:

Merging branch "2020/dev_r13648_ASINTER-04_laurent_bulk_ice", ticket #2369

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/do_loop_substitute.h90

    r13982 r14072  
    1414!   DO jj = ....                           DO jj = ... 
    1515!      DO ji = ....                           DO ji = ... 
    16 !         .                   OR                 .   
     16!         .                   OR                 . 
    1717!         .                                      . 
    1818!     END DO                                  END DO 
     
    2525! Upper limits of jpi, jpim1 or fs_jpim1 (for ji) or jpj, jpjm1 or fs_jpjm1 (for jj) 
    2626! 
    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: 
    2828!   B is the Bottom offset from the PE's inner domain; 
    2929!   T is the Top    offset from the PE's inner domain; 
     
    3232! 
    3333! So, given an inner domain of 2,jpim1 and 2,jpjm1, a typical example would replace: 
    34 !  
     34! 
    3535!   DO jj = 2, jpj 
    3636!      DO ji = 1, jpim1 
     
    4646!      . 
    4747!   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 
    5151! macros are defined. 
    5252! 
    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 
    5454! indices of (Nie0, Nje0) where: 
    5555! 
    5656! Nis0 =   1 + nn_hls     Njs0 =   1 + nn_hls 
    5757! Nie0 = jpi - nn_hls     Nje0 = jpj - nn_hls 
    58 !  
     58! 
    5959#endif 
    6060 
Note: See TracChangeset for help on using the changeset viewer.