Changeset 1537 for trunk/NEMO/OPA_SRC/TRA/traadv_cen2.F90
- Timestamp:
- 2009-07-24T16:22:23+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/TRA/traadv_cen2.F90
r1528 r1537 30 30 USE sbcrnf ! river runoffs 31 31 USE in_out_manager ! I/O manager 32 USE iom ! IOM library 32 33 USE lib_mpp 33 34 USE lbclnk ! ocean lateral boundary condition (or mpp link) … … 35 36 USE prtctl ! Print control 36 37 USE zdf_oce ! ocean vertical physics 38 USE restart ! ocean restart 37 39 38 40 IMPLICIT NONE … … 156 158 ! 157 159 btr2(:,:) = 1. / ( e1t(:,:) * e2t(:,:) ) ! inverse of T-point surface 158 IF ( jp_cfg == 2 ) THEN159 !Increase the background in the surface layers160 161 162 163 164 160 ! 161 IF( jp_cfg == 2 .AND. .NOT. ln_rstart ) THEN ! Increase the background in the surface layers 162 avmb(1) = 10. * avmb(1) ; avtb(1) = 10. * avtb(1) 163 avmb(2) = 10. * avmb(2) ; avtb(2) = 10. * avtb(2) 164 avmb(3) = 5. * avmb(3) ; avtb(3) = 5. * avtb(3) 165 avmb(4) = 2.5 * avmb(4) ; avtb(4) = 2.5 * avtb(4) 166 ENDIF 165 167 ENDIF 166 168 … … 412 414 ENDIF 413 415 416 ! write avmb, avtb in restart (traadv_cen2 requires a modified avmb, avtb that are 417 ! --------------------------- required in restart file to ensure restartability) 418 ! avmb, avtb will be read in zdfini in restart case as they are used in zdftke, kpp etc... 419 IF( lrst_oce ) THEN 420 CALL iom_rstput( kt, nitrst, numrow, 'avmb', avmb ) 421 CALL iom_rstput( kt, nitrst, numrow, 'avtb', avtb ) 422 ENDIF 423 414 424 IF(ln_ctl) CALL prt_ctl( tab3d_1=ta, clinfo1=' cen2 zad - Ta: ', mask1=tmask, & 415 425 & tab3d_2=sa, clinfo2= ' Sa: ', mask2=tmask, clinfo3='tra' )
Note: See TracChangeset
for help on using the changeset viewer.