Changeset 4921 for branches/2014/dev_r4650_UKMO13_CICE_changes_take2/NEMOGCM/NEMO/LIM_SRC_3/limrhg.F90
- Timestamp:
- 2014-11-28T14:59:01+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2014/dev_r4650_UKMO13_CICE_changes_take2/NEMOGCM/NEMO/LIM_SRC_3/limrhg.F90
r4346 r4921 51 51 52 52 REAL(wp) :: epsi10 = 1.e-10_wp ! 53 REAL(wp) :: rzero = 0._wp ! constant values54 REAL(wp) :: rone = 1._wp ! constant values55 53 56 54 !! * Substitutions … … 514 512 !CDIR NOVERRCHK 515 513 DO ji = fs_2, fs_jpim1 516 zmask = (1.0-MAX( rzero,SIGN(rone,-zmass1(ji,jj))))*tmu(ji,jj)514 zmask = (1.0-MAX(0._wp,SIGN(1._wp,-zmass1(ji,jj))))*tmu(ji,jj) 517 515 zsang = SIGN ( 1.0 , fcor(ji,jj) ) * sangvg 518 516 z0 = zmass1(ji,jj)/dtevp … … 547 545 DO ji = fs_2, fs_jpim1 548 546 549 zmask = (1.0-MAX( rzero,SIGN(rone,-zmass2(ji,jj))))*tmv(ji,jj)547 zmask = (1.0-MAX(0._wp,SIGN(1._wp,-zmass2(ji,jj))))*tmv(ji,jj) 550 548 zsang = SIGN(1.0,fcor(ji,jj))*sangvg 551 549 z0 = zmass2(ji,jj)/dtevp … … 579 577 !CDIR NOVERRCHK 580 578 DO ji = fs_2, fs_jpim1 581 zmask = (1.0-MAX( rzero,SIGN(rone,-zmass2(ji,jj))))*tmv(ji,jj)579 zmask = (1.0-MAX(0._wp,SIGN(1._wp,-zmass2(ji,jj))))*tmv(ji,jj) 582 580 zsang = SIGN(1.0,fcor(ji,jj))*sangvg 583 581 z0 = zmass2(ji,jj)/dtevp … … 611 609 !CDIR NOVERRCHK 612 610 DO ji = fs_2, fs_jpim1 613 zmask = (1.0-MAX( rzero,SIGN(rone,-zmass1(ji,jj))))*tmu(ji,jj)611 zmask = (1.0-MAX(0._wp,SIGN(1._wp,-zmass1(ji,jj))))*tmu(ji,jj) 614 612 zsang = SIGN(1.0,fcor(ji,jj))*sangvg 615 613 z0 = zmass1(ji,jj)/dtevp … … 661 659 ! 4) Prevent ice velocities when the ice is thin 662 660 !------------------------------------------------------------------------------! 663 !clem : add hminrhg in the namelist664 !665 661 ! If the ice thickness is below hminrhg (5cm) then ice velocity should equal the 666 662 ! ocean velocity,
Note: See TracChangeset
for help on using the changeset viewer.