Changeset 9939 for NEMO/branches/2018/dev_r9838_ENHANCE04_RK3/src/OCE/ASM
- Timestamp:
- 2018-07-13T09:28:50+02:00 (6 years ago)
- Location:
- NEMO/branches/2018/dev_r9838_ENHANCE04_RK3
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2018/dev_r9838_ENHANCE04_RK3/src/OCE/ASM/asminc.F90
r9656 r9939 491 491 ENDIF 492 492 ! 493 IF(lwp) WRITE(numout,*) ' ==>>> Euler time step switch is ', neuler493 IF(lwp) WRITE(numout,*) ' ==>>> Euler time step switch is ', ln_1st_euler 494 494 ! 495 495 IF( lk_asminc ) THEN !== data assimilation ==! … … 536 536 ! 537 537 it = kt - nit000 + 1 538 zincwgt = wgtiau(it) / r dt ! IAU weight for the current time step538 zincwgt = wgtiau(it) / rn_Dt ! IAU weight for the current time step 539 539 ! 540 540 IF(lwp) THEN … … 579 579 IF ( kt == nitdin_r ) THEN 580 580 ! 581 neuler = 0! Force Euler forward step581 l_1st_euler = .TRUE. ! Force Euler forward step 582 582 ! 583 583 ! Initialize the now fields with the background + increment … … 651 651 ! 652 652 it = kt - nit000 + 1 653 zincwgt = wgtiau(it) / r dt ! IAU weight for the current time step653 zincwgt = wgtiau(it) / rn_Dt ! IAU weight for the current time step 654 654 ! 655 655 IF(lwp) THEN … … 677 677 IF ( kt == nitdin_r ) THEN 678 678 ! 679 neuler = 0! Force Euler forward step679 l_1st_euler = .TRUE. ! Force Euler forward step 680 680 ! 681 681 ! Initialize the now fields with the background + increment … … 721 721 ! 722 722 it = kt - nit000 + 1 723 zincwgt = wgtiau(it) / r dt ! IAU weight for the current time step723 zincwgt = wgtiau(it) / rn_Dt ! IAU weight for the current time step 724 724 ! 725 725 IF(lwp) THEN … … 752 752 IF ( kt == nitdin_r ) THEN 753 753 ! 754 neuler = 0! Force Euler forward step754 l_1st_euler = .TRUE. ! Force Euler forward step 755 755 ! 756 756 sshn(:,:) = ssh_bkg(:,:) + ssh_bkginc(:,:) ! Initialize the now fields the background + increment … … 758 758 sshb(:,:) = sshn(:,:) ! Update before fields 759 759 e3t_b(:,:,:) = e3t_n(:,:,:) 760 !!gm why not e3u_b, e3v_b, gdept_b ???? 760 761 !!gm BUG : missing the update of all other scale factors (e3u e3v e3w etc... _n and _b) 762 !! see dom_vvl_init 761 763 ! 762 764 DEALLOCATE( ssh_bkg ) … … 839 841 it = kt - nit000 + 1 840 842 zincwgt = wgtiau(it) ! IAU weight for the current time step 841 ! note this is not a tendency so should not be divided by r dt (as with the tracer and other increments)843 ! note this is not a tendency so should not be divided by rn_Dt (as with the tracer and other increments) 842 844 ! 843 845 IF(lwp) THEN … … 874 876 #if defined key_cice && defined key_asminc 875 877 ! Sea-ice : CICE case. Pass ice increment tendency into CICE 876 ndaice_da(:,:) = seaice_bkginc(:,:) * zincwgt / r dt878 ndaice_da(:,:) = seaice_bkginc(:,:) * zincwgt / rn_Dt 877 879 #endif 878 880 ! … … 894 896 IF ( kt == nitdin_r ) THEN 895 897 ! 896 neuler = 0! Force Euler forward step898 l_1st_euler = .TRUE. ! Force Euler forward step 897 899 ! 898 900 ! Sea-ice : SI3 case … … 924 926 #if defined key_cice && defined key_asminc 925 927 ! Sea-ice : CICE case. Pass ice increment tendency into CICE 926 ndaice_da(:,:) = seaice_bkginc(:,:) / r dt928 ndaice_da(:,:) = seaice_bkginc(:,:) / rn_Dt 927 929 #endif 928 930 IF ( .NOT. PRESENT(kindic) ) THEN … … 957 959 ! ! fwf : ice formation and melting 958 960 ! 959 ! zfons = ( -nfresh_da(ji,jj)*soce + nfsalt_da(ji,jj) ) *rdt961 ! zfons = ( -nfresh_da(ji,jj)*soce + nfsalt_da(ji,jj) ) * rn_Dt 960 962 ! 961 963 ! ! change salinity down to mixed layer depth … … 1006 1008 ! !! ! E-P (kg m-2 s-2) 1007 1009 ! ! emp(ji,jj) = emp(ji,jj) + zpmess ! E-P (kg m-2 s-2) 1008 ! END DO !ji1009 ! END DO !jj!1010 ! END DO !ji 1011 ! END DO !jj! 1010 1012 ! 1011 1013 ! ENDIF !ln_seaicebal
Note: See TracChangeset
for help on using the changeset viewer.