Changeset 7698 for trunk/NEMOGCM/NEMO/OPA_SRC/ZDF/zdfmxl.F90
- Timestamp:
- 2017-02-18T10:02:03+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/OPA_SRC/ZDF/zdfmxl.F90
r7646 r7698 96 96 97 97 ! w-level of the mixing and mixed layers 98 nmln(:,:) = nlb10 ! Initialization to the number of w ocean point 99 hmlp(:,:) = 0._wp ! here hmlp used as a dummy variable, integrating vertically N^2 100 zN2_c = grav * rho_c * r1_rau0 ! convert density criteria into N^2 criteria 98 zN2_c = grav * rho_c * r1_rau0 ! convert density criteria into N^2 criteria 99 !$OMP PARALLEL 100 !$OMP DO schedule(static) private(jj, ji) 101 DO jj = 1, jpj 102 DO ji = 1, jpi 103 nmln(ji,jj) = nlb10 ! Initialization to the number of w ocean point 104 hmlp(ji,jj) = 0._wp ! here hmlp used as a dummy variable, integrating vertically N^2 105 END DO 106 END DO 101 107 DO jk = nlb10, jpkm1 108 !$OMP DO schedule(static) private(jj, ji, ikt) 102 109 DO jj = 1, jpj ! Mixed layer level: w-level 103 110 DO ji = 1, jpi … … 110 117 ! 111 118 ! w-level of the turbocline and mixing layer (iom_use) 112 imld(:,:) = mbkt(:,:) + 1 ! Initialization to the number of w ocean point 119 !$OMP DO schedule(static) private(jj, ji) 120 DO jj = 1, jpj 121 DO ji = 1, jpi 122 imld(ji,jj) = mbkt(ji,jj) + 1 ! Initialization to the number of w ocean point 123 END DO 124 END DO 113 125 DO jk = jpkm1, nlb10, -1 ! from the bottom to nlb10 126 !$OMP DO schedule(static) private(jj, ji) 114 127 DO jj = 1, jpj 115 128 DO ji = 1, jpi … … 119 132 END DO 120 133 ! depth of the mixing and mixed layers 134 !$OMP DO schedule(static) private(jj, ji, iiki, iikn) 121 135 DO jj = 1, jpj 122 136 DO ji = 1, jpi … … 128 142 END DO 129 143 END DO 144 !$OMP END PARALLEL 130 145 ! 131 146 IF( .NOT.l_offline ) THEN
Note: See TracChangeset
for help on using the changeset viewer.