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 13295 for NEMO/trunk/src/OCE/DIU – NEMO

Ignore:
Timestamp:
2020-07-10T20:24:21+02:00 (4 years ago)
Author:
acc
Message:

Replace do-loop macros in the trunk with alternative forms with greater flexibility for extra halo applications. This alters a lot of routines but does not change any behaviour or results. do_loop_substitute.h90 is greatly simplified by this change. SETTE results are identical to those with the previous revision

Location:
NEMO/trunk/src/OCE/DIU
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/DIU/diu_bulk.F90

    r12377 r13295  
    130130      ! If not done already, calculate the solar fraction 
    131131      IF ( kt==nit000 ) THEN 
    132          DO_2D_11_11 
     132         DO_2D( 1, 1, 1, 1 ) 
    133133            IF(  ( x_solfrac(ji,jj) == 0._wp ) .AND. ( tmask(ji,jj,1) == 1._wp ) ) & 
    134134               &   x_solfrac(ji,jj) = solfrac( zcoolthick(ji,jj),zthick(ji,jj) ) 
     
    199199      INTEGER :: ji,jj 
    200200                      
    201       DO_2D_11_11 
     201      DO_2D( 1, 1, 1, 1 ) 
    202202          
    203203         ! Only calculate outside tmask 
  • NEMO/trunk/src/OCE/DIU/diu_coolskin.F90

    r12489 r13295  
    9797      IF( .NOT. ln_blk )   CALL ctl_stop("diu_coolskin.f90: diurnal flux processing only implemented for bulk forcing") 
    9898      ! 
    99       DO_2D_11_11 
     99      DO_2D( 1, 1, 1, 1 ) 
    100100         ! 
    101101         ! Calcualte wind speed from wind stress and friction velocity 
Note: See TracChangeset for help on using the changeset viewer.