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 14918 – NEMO

Changeset 14918


Ignore:
Timestamp:
2021-05-27T19:50:06+02:00 (3 years ago)
Author:
smueller
Message:

Conversion of array assignments to explicit loops in order to avoid problematic nested preprocessor macros in module zdfosm (ticket #2353)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2021/dev_r14122_HPC-08_Mueller_OSMOSIS_streamlining/src/OCE/ZDF/zdfosm.F90

    r14913 r14918  
    27542754      END_3D 
    27552755      ! Average temperature and salinity 
    2756       ztm(:,:) = ztm(:,:) / MAX( e3t(A2D(nn_hls),1,Kmm), pmld(A2D(nn_hls)) ) 
    2757       zsm(:,:) = zsm(:,:) / MAX( e3t(A2D(nn_hls),1,Kmm), pmld(A2D(nn_hls)) ) 
     2756      DO_2D( nn_hls, nn_hls, nn_hls, nn_hls ) 
     2757         ztm(ji,jj) = ztm(ji,jj) / MAX( e3t(ji,jj,1,Kmm), pmld(ji,jj) ) 
     2758         zsm(ji,jj) = zsm(ji,jj) / MAX( e3t(ji,jj,1,Kmm), pmld(ji,jj) ) 
     2759      END_2D 
    27582760      ! Calculate horizontal gradients at u & v points 
    27592761      zmld_midu(:,:)   =  0.0_wp 
Note: See TracChangeset for help on using the changeset viewer.