Changeset 12353
- Timestamp:
- 2020-01-29T17:15:37+01:00 (5 years ago)
- Location:
- NEMO/branches/2019/dev_r11943_MERGE_2019
- Files:
-
- 1 deleted
- 147 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r11943_MERGE_2019/cfgs/C1D_PAPA/MY_SRC/usrdef_zgr.F90
r10072 r12353 30 30 PUBLIC usr_def_zgr ! called by domzgr.F90 31 31 32 !! * Substitutions33 # include "vectopt_loop_substitute.h90"34 32 !!---------------------------------------------------------------------- 35 33 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/ABL/ablmod.F90
r12340 r12353 32 32 REAL(wp), ALLOCATABLE, SAVE, DIMENSION(:,:) :: ustar2 33 33 !! * Substitutions 34 # include "vectopt_loop_substitute.h90"35 34 # include "do_loop_substitute.h90" 36 35 … … 1002 1001 smth_b = 1._wp / 4._wp 1003 1002 ! 1004 DO jj=1,jpj 1005 DO ji=1,jpi-1 1006 zumsk = msk(ji,jj) * msk(ji+1,jj) 1007 zdX ( ji, jj ) = ( pvar2d( ji+1,jj ) - pvar2d( ji ,jj ) ) * zumsk 1008 END DO 1009 END DO 1003 DO_2D_11_10 1004 zumsk = msk(ji,jj) * msk(ji+1,jj) 1005 zdX ( ji, jj ) = ( pvar2d( ji+1,jj ) - pvar2d( ji ,jj ) ) * zumsk 1006 END_2D 1010 1007 1011 DO jj=1,jpj-1 1012 DO ji=1,jpi 1013 zvmsk = msk(ji,jj) * msk(ji,jj+1) 1014 zdY ( ji, jj ) = ( pvar2d( ji, jj+1 ) - pvar2d( ji ,jj ) ) * zvmsk 1015 END DO 1016 END DO 1008 DO_2D_10_11 1009 zvmsk = msk(ji,jj) * msk(ji,jj+1) 1010 zdY ( ji, jj ) = ( pvar2d( ji, jj+1 ) - pvar2d( ji ,jj ) ) * zvmsk 1011 END_2D 1017 1012 1018 DO jj=1,jpj-1 1019 DO ji=2,jpi-1 1020 zFY ( ji, jj ) = zdY ( ji, jj ) & 1021 & + smth_a* ( (zdX ( ji, jj+1 ) - zdX( ji-1, jj+1 )) & 1022 & - (zdX ( ji, jj ) - zdX( ji-1, jj )) ) 1023 END DO 1024 END DO 1025 1026 DO jj=2,jpj-1 1027 DO ji=1,jpi-1 1028 zFX( ji, jj ) = zdX( ji, jj ) & 1029 & + smth_a*( (zdY( ji+1, jj ) - zdY( ji+1, jj-1)) & 1030 & - (zdY( ji , jj ) - zdY( ji , jj-1)) ) 1031 END DO 1032 END DO 1033 1034 DO jj = 2, jpj-1 1035 DO ji = 2,jpi-1 1036 pvar2d( ji ,jj ) = pvar2d( ji ,jj ) & 1037 & + msk(ji,jj) * smth_b * ( & 1038 & zFX( ji, jj ) - zFX( ji-1, jj ) & 1039 & +zFY( ji, jj ) - zFY( ji, jj-1 ) ) 1040 END DO 1041 END DO 1013 DO_2D_10_00 1014 zFY ( ji, jj ) = zdY ( ji, jj ) & 1015 & + smth_a* ( (zdX ( ji, jj+1 ) - zdX( ji-1, jj+1 )) & 1016 & - (zdX ( ji, jj ) - zdX( ji-1, jj )) ) 1017 END_2D 1018 1019 DO_2D_00_10 1020 zFX( ji, jj ) = zdX( ji, jj ) & 1021 & + smth_a*( (zdY( ji+1, jj ) - zdY( ji+1, jj-1)) & 1022 & - (zdY( ji , jj ) - zdY( ji , jj-1)) ) 1023 END_2D 1024 1025 DO_2D_00_00 1026 pvar2d( ji ,jj ) = pvar2d( ji ,jj ) & 1027 & + msk(ji,jj) * smth_b * ( & 1028 & zFX( ji, jj ) - zFX( ji-1, jj ) & 1029 & +zFY( ji, jj ) - zFY( ji, jj-1 ) ) 1030 END_2D 1042 1031 !! 1043 1032 !--------------------------------------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/ABL/sbcabl.F90
r12199 r12353 45 45 PUBLIC sbc_abl ! routine called in sbcmod module 46 46 47 !! * Substitutions48 # include "vectopt_loop_substitute.h90"49 47 !!---------------------------------------------------------------------- 50 48 !! NEMO/OPA 3.7 , NEMO-consortium (2014) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/ICE/icecor.F90
r12340 r12353 35 35 36 36 !! * Substitutions 37 # include "vectopt_loop_substitute.h90"38 37 # include "do_loop_substitute.h90" 39 38 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/ICE/icectl.F90
r12340 r12353 51 51 52 52 !! * Substitutions 53 # include "vectopt_loop_substitute.h90"54 53 # include "do_loop_substitute.h90" 55 54 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/ICE/icedia.F90
r11960 r12353 38 38 REAL(wp) :: frc_sal, frc_voltop, frc_volbot, frc_temtop, frc_tembot ! global forcing trends 39 39 40 !! * Substitutions41 # include "vectopt_loop_substitute.h90"42 40 !!---------------------------------------------------------------------- 43 41 !! NEMO/ICE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/ICE/icedyn.F90
r12340 r12353 52 52 53 53 !! * Substitutions 54 # include "vectopt_loop_substitute.h90"55 54 # include "do_loop_substitute.h90" 56 55 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/ICE/icedyn_adv.F90
r12252 r12353 42 42 INTEGER :: nn_UMx ! order of the UMx advection scheme 43 43 ! 44 !! * Substitution45 # include "vectopt_loop_substitute.h90"46 44 !!---------------------------------------------------------------------- 47 45 !! NEMO/ICE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/ICE/icedyn_adv_pra.F90
r12340 r12353 46 46 47 47 !! * Substitutions 48 # include "vectopt_loop_substitute.h90"49 48 # include "do_loop_substitute.h90" 50 49 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/ICE/icedyn_adv_umx.F90
r12340 r12353 51 51 ! 52 52 !! * Substitutions 53 # include "vectopt_loop_substitute.h90"54 53 # include "do_loop_substitute.h90" 55 54 !!---------------------------------------------------------------------- … … 816 815 DO jl = 1, jpl 817 816 DO jj = 2, jpjm1 ! First derivative (gradient) 818 DO ji = 1, fs_jpim1817 DO ji = 1, jpim1 819 818 ztu1(ji,jj,jl) = ( pt(ji+1,jj,jl) - pt(ji,jj,jl) ) * r1_e1u(ji,jj) * umask(ji,jj,1) 820 819 END DO 821 820 ! ! Second derivative (Laplacian) 822 DO ji = fs_2, fs_jpim1821 DO ji = 2, jpim1 823 822 ztu2(ji,jj,jl) = ( ztu1(ji,jj,jl) - ztu1(ji-1,jj,jl) ) * r1_e1t(ji,jj) 824 823 END DO … … 830 829 DO jl = 1, jpl 831 830 DO jj = 2, jpjm1 ! Third derivative 832 DO ji = 1, fs_jpim1831 DO ji = 1, jpim1 833 832 ztu3(ji,jj,jl) = ( ztu2(ji+1,jj,jl) - ztu2(ji,jj,jl) ) * r1_e1u(ji,jj) * umask(ji,jj,1) 834 833 END DO 835 834 ! ! Fourth derivative 836 DO ji = fs_2, fs_jpim1835 DO ji = 2, jpim1 837 836 ztu4(ji,jj,jl) = ( ztu3(ji,jj,jl) - ztu3(ji-1,jj,jl) ) * r1_e1t(ji,jj) 838 837 END DO -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/ICE/icedyn_rhg.F90
r12236 r12353 38 38 LOGICAL :: ln_rhg_EVP ! EVP rheology 39 39 ! 40 !! * Substitutions41 # include "vectopt_loop_substitute.h90"42 40 !!---------------------------------------------------------------------- 43 41 !! NEMO/ICE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/ICE/icedyn_rhg_evp.F90
r12340 r12353 48 48 49 49 !! * Substitutions 50 # include "vectopt_loop_substitute.h90"51 50 # include "do_loop_substitute.h90" 52 51 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/ICE/icesbc.F90
r12340 r12353 37 37 38 38 !! * Substitutions 39 # include "vectopt_loop_substitute.h90"40 39 # include "do_loop_substitute.h90" 41 40 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/ICE/icestp.F90
r11960 r12353 86 86 PUBLIC ice_init ! called by sbcmod.F90 87 87 88 !! * Substitutions89 # include "vectopt_loop_substitute.h90"90 88 !!---------------------------------------------------------------------- 91 89 !! NEMO/ICE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/ICE/icethd.F90
r12340 r12353 53 53 54 54 !! * Substitutions 55 # include "vectopt_loop_substitute.h90"56 55 # include "do_loop_substitute.h90" 57 56 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/ICE/icethd_pnd.F90
r11960 r12353 38 38 INTEGER, PARAMETER :: np_pndH12 = 2 ! Evolutive pond scheme (Holland et al. 2012) 39 39 40 !! * Substitutions41 # include "vectopt_loop_substitute.h90"42 40 !!---------------------------------------------------------------------- 43 41 !! NEMO/ICE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/ICE/iceupdate.F90
r12340 r12353 44 44 45 45 !! * Substitutions 46 # include "vectopt_loop_substitute.h90"47 46 # include "do_loop_substitute.h90" 48 47 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/NST/agrif_oce_interp.F90
r12229 r12353 49 49 INTEGER :: bdy_tinterp = 0 50 50 51 # include "vectopt_loop_substitute.h90"52 51 !!---------------------------------------------------------------------- 53 52 !! NEMO/NST 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/ASM/asminc.F90
r12340 r12353 94 94 95 95 !! * Substitutions 96 # include "vectopt_loop_substitute.h90"97 96 # include "do_loop_substitute.h90" 98 97 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/C1D/dyncor_c1d.F90
r12340 r12353 31 31 32 32 !! * Substitutions 33 # include "vectopt_loop_substitute.h90"34 33 # include "do_loop_substitute.h90" 35 34 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/C1D/dyndmp.F90
r12340 r12353 43 43 44 44 !! * Substitutions 45 # include "vectopt_loop_substitute.h90"46 45 # include "do_loop_substitute.h90" 47 46 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/CRS/crsdomwri.F90
r10425 r12353 155 155 DO jk = 1,jpk 156 156 DO jj = 1, jpj_crsm1 157 DO ji = 1, jpi_crsm1 ! jes what to do for fs_jpim1??vector opt.157 DO ji = 1, jpi_crsm1 ! jes what to do for jpim1??vector opt. 158 158 zdepu(ji,jj,jk) = MIN( gdept_crs(ji,jj,jk) , gdept_crs(ji+1,jj ,jk) ) * umask_crs(ji,jj,jk) 159 159 zdepv(ji,jj,jk) = MIN( gdept_crs(ji,jj,jk) , gdept_crs(ji ,jj+1,jk) ) * vmask_crs(ji,jj,jk) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/CRS/crsfld.F90
r12340 r12353 32 32 33 33 !! * Substitutions 34 # include "vectopt_loop_substitute.h90"35 34 # include "do_loop_substitute.h90" 36 35 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DIA/diaar5.F90
r12340 r12353 39 39 40 40 !! * Substitutions 41 # include "vectopt_loop_substitute.h90"42 41 # include "do_loop_substitute.h90" 43 42 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DIA/diacfl.F90
r12340 r12353 33 33 34 34 !! * Substitutions 35 # include "vectopt_loop_substitute.h90"36 35 # include "do_loop_substitute.h90" 37 36 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DIA/diahsb.F90
r12150 r12353 50 50 REAL(wp), DIMENSION(:,:,:), ALLOCATABLE :: tmask_ini 51 51 52 !! * Substitutions53 # include "vectopt_loop_substitute.h90"54 52 !!---------------------------------------------------------------------- 55 53 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DIA/diaptr.F90
r12340 r12353 61 61 LOGICAL :: ll_init = .TRUE. !: tracers trend flag (set from namelist in trdini) 62 62 !! * Substitutions 63 # include "vectopt_loop_substitute.h90"64 63 # include "do_loop_substitute.h90" 65 64 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DIA/diawri.F90
r12340 r12353 84 84 85 85 !! * Substitutions 86 # include "vectopt_loop_substitute.h90"87 86 # include "do_loop_substitute.h90" 88 87 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DIU/diu_coolskin.F90
r12340 r12353 41 41 42 42 !! * Substitutions 43 # include "vectopt_loop_substitute.h90"44 43 # include "do_loop_substitute.h90" 45 44 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DOM/closea.F90
r12150 r12353 51 51 INTEGER, PUBLIC, SAVE, ALLOCATABLE, DIMENSION(:,:) :: mask_csemp , mask_csgrpemp !: mask of integers defining closed seas empmr mappings 52 52 53 !! * Substitutions54 # include "vectopt_loop_substitute.h90"55 53 !!---------------------------------------------------------------------- 56 54 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DOM/depth_e3.F90
r10069 r12353 36 36 PUBLIC e3_to_depth ! called by domzgr.F90 37 37 38 !! * Substitutions39 # include "vectopt_loop_substitute.h90"40 38 !!---------------------------------------------------------------------- 41 39 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DOM/dommsk.F90
r12340 r12353 44 44 45 45 !! * Substitutions 46 # include "vectopt_loop_substitute.h90"47 46 # include "do_loop_substitute.h90" 48 47 !!---------------------------------------------------------------------- … … 164 163 DO jk = 1, jpk 165 164 DO jj = 1, jpjm1 166 DO ji = 1, fs_jpim1 ! vector loop165 DO ji = 1, jpim1 ! vector loop 167 166 umask(ji,jj,jk) = tmask(ji,jj ,jk) * tmask(ji+1,jj ,jk) 168 167 vmask(ji,jj,jk) = tmask(ji,jj ,jk) * tmask(ji ,jj+1,jk) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DOM/domvvl.F90
r12340 r12353 64 64 65 65 !! * Substitutions 66 # include "vectopt_loop_substitute.h90"67 66 # include "do_loop_substitute.h90" 68 67 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DOM/domwri.F90
r12340 r12353 33 33 34 34 !! * Substitutions 35 # include "vectopt_loop_substitute.h90"36 35 # include "do_loop_substitute.h90" 37 36 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DOM/domzgr.F90
r12340 r12353 44 44 45 45 !! * Substitutions 46 # include "vectopt_loop_substitute.h90"47 46 # include "do_loop_substitute.h90" 48 47 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DOM/istate.F90
r12340 r12353 42 42 43 43 !! * Substitutions 44 # include "vectopt_loop_substitute.h90"45 44 # include "do_loop_substitute.h90" 46 45 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DYN/divhor.F90
r12340 r12353 39 39 40 40 !! * Substitutions 41 # include "vectopt_loop_substitute.h90"42 41 # include "do_loop_substitute.h90" 43 42 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DYN/dynadv.F90
r11960 r12353 44 44 INTEGER, PUBLIC, PARAMETER :: np_FLX_ubs = 3 ! flux form : 3rd order Upstream Biased Scheme 45 45 46 !! * Substitutions47 # include "vectopt_loop_substitute.h90"48 46 !!---------------------------------------------------------------------- 49 47 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DYN/dynadv_cen2.F90
r12340 r12353 27 27 28 28 !! * Substitutions 29 # include "vectopt_loop_substitute.h90"30 29 # include "do_loop_substitute.h90" 31 30 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DYN/dynadv_ubs.F90
r12340 r12353 33 33 34 34 !! * Substitutions 35 # include "vectopt_loop_substitute.h90"36 35 # include "do_loop_substitute.h90" 37 36 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DYN/dynhpg.F90
r12340 r12353 75 75 76 76 !! * Substitutions 77 # include "vectopt_loop_substitute.h90"78 77 # include "do_loop_substitute.h90" 79 78 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DYN/dynkeg.F90
r12340 r12353 36 36 37 37 !! * Substitutions 38 # include "vectopt_loop_substitute.h90"39 38 # include "do_loop_substitute.h90" 40 39 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DYN/dynldf.F90
r12236 r12353 34 34 PUBLIC dyn_ldf_init ! called by opa module 35 35 36 !! * Substitutions37 # include "vectopt_loop_substitute.h90"38 36 !!---------------------------------------------------------------------- 39 37 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DYN/dynldf_iso.F90
r12340 r12353 41 41 42 42 !! * Substitutions 43 # include "vectopt_loop_substitute.h90"44 43 # include "do_loop_substitute.h90" 45 44 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DYN/dynldf_lap_blp.F90
r12340 r12353 27 27 28 28 !! * Substitutions 29 # include "vectopt_loop_substitute.h90"30 29 # include "do_loop_substitute.h90" 31 30 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DYN/dynspg.F90
r12340 r12353 46 46 47 47 !! * Substitutions 48 # include "vectopt_loop_substitute.h90"49 48 # include "do_loop_substitute.h90" 50 49 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DYN/dynspg_exp.F90
r12340 r12353 30 30 31 31 !! * Substitutions 32 # include "vectopt_loop_substitute.h90"33 32 # include "do_loop_substitute.h90" 34 33 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DYN/dynspg_ts.F90
r12340 r12353 86 86 87 87 !! * Substitutions 88 # include "vectopt_loop_substitute.h90"89 88 # include "do_loop_substitute.h90" 90 89 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DYN/dynvor.F90
r12340 r12353 88 88 89 89 !! * Substitutions 90 # include "vectopt_loop_substitute.h90"91 90 # include "do_loop_substitute.h90" 92 91 !!---------------------------------------------------------------------- … … 619 618 END DO 620 619 DO jj = 3, jpj 621 DO ji = fs_2, jpi ! vector opt. ok because we start at jj = 3620 DO ji = 2, jpi ! vector opt. ok because we start at jj = 3 622 621 ztne(ji,jj) = zwz(ji-1,jj ,jk) + zwz(ji ,jj ,jk) + zwz(ji ,jj-1,jk) 623 622 ztnw(ji,jj) = zwz(ji-1,jj-1,jk) + zwz(ji-1,jj ,jk) + zwz(ji ,jj ,jk) … … 741 740 END DO 742 741 DO jj = 3, jpj 743 DO ji = fs_2, jpi ! vector opt. ok because we start at jj = 3742 DO ji = 2, jpi ! vector opt. ok because we start at jj = 3 744 743 z1_e3t = 1._wp / e3t(ji,jj,jk,Kmm) 745 744 ztne(ji,jj) = ( zwz(ji-1,jj ,jk) + zwz(ji ,jj ,jk) + zwz(ji ,jj-1,jk) ) * z1_e3t -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DYN/dynzad.F90
r12340 r12353 28 28 29 29 !! * Substitutions 30 # include "vectopt_loop_substitute.h90"31 30 # include "do_loop_substitute.h90" 32 31 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DYN/dynzdf.F90
r12340 r12353 37 37 38 38 !! * Substitutions 39 # include "vectopt_loop_substitute.h90"40 39 # include "do_loop_substitute.h90" 41 40 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DYN/sshwzv.F90
r12340 r12353 49 49 50 50 !! * Substitutions 51 # include "vectopt_loop_substitute.h90"52 51 # include "do_loop_substitute.h90" 53 52 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/DYN/wet_dry.F90
r12340 r12353 63 63 64 64 !! * Substitutions 65 # include "vectopt_loop_substitute.h90"66 65 !!---------------------------------------------------------------------- 67 66 CONTAINS -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/IOM/restart.F90
r12150 r12353 38 38 PUBLIC rst_read_open ! routine called in rst_read and (possibly) in dom_vvl_init 39 39 40 !! * Substitutions41 # include "vectopt_loop_substitute.h90"42 40 !!---------------------------------------------------------------------- 43 41 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/ISF/isfcpl.F90
r12343 r12353 177 177 ! 178 178 zdssmask(:,:) = ssmask(:,:) - zssmask0(:,:) 179 DO jj = 2,jpj-1 180 DO ji = 2,jpi-1 181 jip1=ji+1; jim1=ji-1; 182 jjp1=jj+1; jjm1=jj-1; 183 ! 184 zsummsk = zssmask0(jip1,jj) + zssmask0(jim1,jj) + zssmask0(ji,jjp1) + zssmask0(ji,jjm1) 185 ! 186 IF (zdssmask(ji,jj) == 1._wp .AND. zsummsk /= 0._wp) THEN 187 ssh(ji,jj,Kmm)=( zssh(jip1,jj)*zssmask0(jip1,jj) & 188 & + zssh(jim1,jj)*zssmask0(jim1,jj) & 189 & + zssh(ji,jjp1)*zssmask0(ji,jjp1) & 190 & + zssh(ji,jjm1)*zssmask0(ji,jjm1)) / zsummsk 191 zssmask_b(ji,jj) = 1._wp 192 ENDIF 193 END DO 194 END DO 179 DO_2D_00_00 180 jip1=ji+1; jim1=ji-1; 181 jjp1=jj+1; jjm1=jj-1; 182 ! 183 zsummsk = zssmask0(jip1,jj) + zssmask0(jim1,jj) + zssmask0(ji,jjp1) + zssmask0(ji,jjm1) 184 ! 185 IF (zdssmask(ji,jj) == 1._wp .AND. zsummsk /= 0._wp) THEN 186 ssh(ji,jj,Kmm)=( zssh(jip1,jj)*zssmask0(jip1,jj) & 187 & + zssh(jim1,jj)*zssmask0(jim1,jj) & 188 & + zssh(ji,jjp1)*zssmask0(ji,jjp1) & 189 & + zssh(ji,jjm1)*zssmask0(ji,jjm1)) / zsummsk 190 zssmask_b(ji,jj) = 1._wp 191 ENDIF 192 END_2D 195 193 ! 196 194 zssh(:,:) = ssh(:,:,Kmm) … … 300 298 zdmask(:,:) = tmask(:,:,jk) - ztmask0(:,:,jk); 301 299 ! 302 DO jj = 2,jpj-1 303 DO ji = 2,jpi-1 304 jip1=ji+1; jim1=ji-1; 305 jjp1=jj+1; jjm1=jj-1; 300 DO_2D_00_00 301 jip1=ji+1; jim1=ji-1; 302 jjp1=jj+1; jjm1=jj-1; 303 ! 304 ! check if a wet neigbourg cell is present 305 zsummsk = ztmask0(jip1,jj ,jk) + ztmask0(jim1,jj ,jk) & 306 + ztmask0(ji ,jjp1,jk) + ztmask0(ji ,jjm1,jk) 307 ! 308 ! if neigbourg wet cell available at the same level 309 IF ( zdmask(ji,jj) == 1._wp .AND. zsummsk /= 0._wp ) THEN 310 ! 311 ! horizontal basic extrapolation 312 ts(ji,jj,jk,1,Kmm)=( zts0(jip1,jj ,jk,1) * ztmask0(jip1,jj ,jk) & 313 & + zts0(jim1,jj ,jk,1) * ztmask0(jim1,jj ,jk) & 314 & + zts0(ji ,jjp1,jk,1) * ztmask0(ji ,jjp1,jk) & 315 & + zts0(ji ,jjm1,jk,1) * ztmask0(ji ,jjm1,jk) ) / zsummsk 316 ts(ji,jj,jk,2,Kmm)=( zts0(jip1,jj ,jk,2) * ztmask0(jip1,jj ,jk) & 317 & + zts0(jim1,jj ,jk,2) * ztmask0(jim1,jj ,jk) & 318 & + zts0(ji ,jjp1,jk,2) * ztmask0(ji ,jjp1,jk) & 319 & + zts0(ji ,jjm1,jk,2) * ztmask0(ji ,jjm1,jk) ) / zsummsk 320 ! 321 ! update mask for next pass 322 ztmask1(ji,jj,jk)=1 323 ! 324 ! in case no neigbourg wet cell available at the same level 325 ! check if a wet cell is available below 326 ELSEIF (zdmask(ji,jj) == 1._wp .AND. zsummsk == 0._wp) THEN 327 ! 328 ! vertical extrapolation if horizontal extrapolation failed 329 jkm1=max(1,jk-1) ; jkp1=min(jpk,jk+1) 306 330 ! 307 331 ! check if a wet neigbourg cell is present 308 zsummsk = ztmask0(jip1,jj ,jk) + ztmask0(jim1,jj ,jk) & 309 + ztmask0(ji ,jjp1,jk) + ztmask0(ji ,jjm1,jk) 310 ! 311 ! if neigbourg wet cell available at the same level 312 IF ( zdmask(ji,jj) == 1._wp .AND. zsummsk /= 0._wp ) THEN 313 ! 314 ! horizontal basic extrapolation 315 ts(ji,jj,jk,1,Kmm)=( zts0(jip1,jj ,jk,1) * ztmask0(jip1,jj ,jk) & 316 & + zts0(jim1,jj ,jk,1) * ztmask0(jim1,jj ,jk) & 317 & + zts0(ji ,jjp1,jk,1) * ztmask0(ji ,jjp1,jk) & 318 & + zts0(ji ,jjm1,jk,1) * ztmask0(ji ,jjm1,jk) ) / zsummsk 319 ts(ji,jj,jk,2,Kmm)=( zts0(jip1,jj ,jk,2) * ztmask0(jip1,jj ,jk) & 320 & + zts0(jim1,jj ,jk,2) * ztmask0(jim1,jj ,jk) & 321 & + zts0(ji ,jjp1,jk,2) * ztmask0(ji ,jjp1,jk) & 322 & + zts0(ji ,jjm1,jk,2) * ztmask0(ji ,jjm1,jk) ) / zsummsk 332 zsummsk = ztmask0(ji,jj,jkm1) + ztmask0(ji,jj,jkp1) 333 IF (zdmask(ji,jj) == 1._wp .AND. zsummsk /= 0._wp ) THEN 334 ts(ji,jj,jk,1,Kmm)=( zts0(ji,jj,jkp1,1)*ztmask0(ji,jj,jkp1) & 335 & + zts0(ji,jj,jkm1,1)*ztmask0(ji,jj,jkm1)) / zsummsk 336 ts(ji,jj,jk,2,Kmm)=( zts0(ji,jj,jkp1,2)*ztmask0(ji,jj,jkp1) & 337 & + zts0(ji,jj,jkm1,2)*ztmask0(ji,jj,jkm1)) / zsummsk 323 338 ! 324 339 ! update mask for next pass 325 ztmask1(ji,jj,jk)=1 326 ! 327 ! in case no neigbourg wet cell available at the same level 328 ! check if a wet cell is available below 329 ELSEIF (zdmask(ji,jj) == 1._wp .AND. zsummsk == 0._wp) THEN 330 ! 331 ! vertical extrapolation if horizontal extrapolation failed 332 jkm1=max(1,jk-1) ; jkp1=min(jpk,jk+1) 333 ! 334 ! check if a wet neigbourg cell is present 335 zsummsk = ztmask0(ji,jj,jkm1) + ztmask0(ji,jj,jkp1) 336 IF (zdmask(ji,jj) == 1._wp .AND. zsummsk /= 0._wp ) THEN 337 ts(ji,jj,jk,1,Kmm)=( zts0(ji,jj,jkp1,1)*ztmask0(ji,jj,jkp1) & 338 & + zts0(ji,jj,jkm1,1)*ztmask0(ji,jj,jkm1)) / zsummsk 339 ts(ji,jj,jk,2,Kmm)=( zts0(ji,jj,jkp1,2)*ztmask0(ji,jj,jkp1) & 340 & + zts0(ji,jj,jkm1,2)*ztmask0(ji,jj,jkm1)) / zsummsk 341 ! 342 ! update mask for next pass 343 ztmask1(ji,jj,jk)=1._wp 344 END IF 340 ztmask1(ji,jj,jk)=1._wp 345 341 END IF 346 END DO347 END DO342 END IF 343 END_2D 348 344 END DO 349 345 ! -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/LDF/ldfdyn.F90
r12340 r12353 73 73 74 74 !! * Substitutions 75 # include "vectopt_loop_substitute.h90"76 75 # include "do_loop_substitute.h90" 77 76 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/LDF/ldfslp.F90
r12340 r12353 74 74 75 75 !! * Substitutions 76 # include "vectopt_loop_substitute.h90"77 76 # include "do_loop_substitute.h90" 78 77 !!---------------------------------------------------------------------- … … 242 241 END_2D 243 242 DO jj = 3, jpj-2 ! other rows 244 DO ji = fs_2, fs_jpim1 ! vector opt.243 DO ji = 2, jpim1 ! vector opt. 245 244 uslp(ji,jj,jk) = z1_16 * ( zwz(ji-1,jj-1,jk) + zwz(ji+1,jj-1,jk) & 246 245 & + zwz(ji-1,jj+1,jk) + zwz(ji+1,jj+1,jk) & … … 318 317 END_2D 319 318 DO jj = 3, jpj-2 ! other rows 320 DO ji = fs_2, fs_jpim1 ! vector opt.319 DO ji = 2, jpim1 ! vector opt. 321 320 zcofw = wmask(ji,jj,jk) * z1_16 322 321 wslpi(ji,jj,jk) = ( zwz(ji-1,jj-1,jk) + zwz(ji+1,jj-1,jk) & … … 745 744 ! DO jk = 1, jpk 746 745 ! DO jj = 2, jpjm1 747 ! DO ji = fs_2, fs_jpim1 ! vector opt.746 ! DO ji = 2, jpim1 ! vector opt. 748 747 ! uslp (ji,jj,jk) = - ( gdept(ji+1,jj,jk,Kmm) - gdept(ji ,jj ,jk,Kmm) ) * r1_e1u(ji,jj) * umask(ji,jj,jk) 749 748 ! vslp (ji,jj,jk) = - ( gdept(ji,jj+1,jk,Kmm) - gdept(ji ,jj ,jk,Kmm) ) * r1_e2v(ji,jj) * vmask(ji,jj,jk) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/LDF/ldftra.F90
r12340 r12353 94 94 95 95 !! * Substitutions 96 # include "vectopt_loop_substitute.h90"97 96 # include "do_loop_substitute.h90" 98 97 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/SBC/cyclone.F90
r12340 r12353 37 37 38 38 !! * Substitutions 39 # include "vectopt_loop_substitute.h90"40 39 # include "do_loop_substitute.h90" 41 40 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/SBC/geo2ocean.F90
r12340 r12353 43 43 44 44 !! * Substitutions 45 # include "vectopt_loop_substitute.h90"46 45 # include "do_loop_substitute.h90" 47 46 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/SBC/sbc_oce.F90
r12340 r12353 159 159 160 160 !! * Substitutions 161 # include "vectopt_loop_substitute.h90"162 161 # include "do_loop_substitute.h90" 163 162 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/SBC/sbcabl.F90
r12182 r12353 16 16 PUBLIC sbc_abl ! routine called in sbcmod module 17 17 18 !! * Substitutions19 # include "vectopt_loop_substitute.h90"20 18 !!---------------------------------------------------------------------- 21 19 !! NEMO/OPA 3.7 , NEMO-consortium (2014) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/SBC/sbcblk.F90
r12343 r12353 128 128 129 129 !! * Substitutions 130 # include "vectopt_loop_substitute.h90"131 130 # include "do_loop_substitute.h90" 132 131 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/SBC/sbccpl.F90
r12340 r12353 198 198 199 199 !! Substitution 200 # include "vectopt_loop_substitute.h90"201 200 # include "do_loop_substitute.h90" 202 201 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/SBC/sbcflx.F90
r12340 r12353 38 38 39 39 !! * Substitutions 40 # include "vectopt_loop_substitute.h90"41 40 # include "do_loop_substitute.h90" 42 41 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/SBC/sbcfwb.F90
r12150 r12353 39 39 REAL(wp) :: area ! global mean ocean surface (interior domain) 40 40 41 !! * Substitutions42 # include "vectopt_loop_substitute.h90"43 41 !!---------------------------------------------------------------------- 44 42 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/SBC/sbcwave.F90
r12340 r12353 72 72 73 73 !! * Substitutions 74 # include "vectopt_loop_substitute.h90"75 74 # include "do_loop_substitute.h90" 76 75 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/STO/stopts.F90
r12340 r12353 26 26 27 27 !! * Substitutions 28 # include "vectopt_loop_substitute.h90"29 28 # include "do_loop_substitute.h90" 30 29 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRA/eosbn2.F90
r12340 r12353 179 179 180 180 !! * Substitutions 181 # include "vectopt_loop_substitute.h90"182 181 # include "do_loop_substitute.h90" 183 182 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRA/traadv.F90
r12236 r12353 66 66 INTEGER, PARAMETER :: np_QCK = 5 ! QUICK scheme 67 67 68 !! * Substitutions69 # include "vectopt_loop_substitute.h90"70 68 !!---------------------------------------------------------------------- 71 69 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRA/traadv_cen.F90
r12340 r12353 36 36 37 37 !! * Substitutions 38 # include "vectopt_loop_substitute.h90"39 38 # include "do_loop_substitute.h90" 40 39 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRA/traadv_fct.F90
r12340 r12353 45 45 46 46 !! * Substitutions 47 # include "vectopt_loop_substitute.h90"48 47 # include "do_loop_substitute.h90" 49 48 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRA/traadv_mus.F90
r12340 r12353 46 46 47 47 !! * Substitutions 48 # include "vectopt_loop_substitute.h90"49 48 # include "do_loop_substitute.h90" 50 49 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRA/traadv_qck.F90
r12340 r12353 40 40 41 41 !! * Substitutions 42 # include "vectopt_loop_substitute.h90"43 42 # include "do_loop_substitute.h90" 44 43 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRA/traadv_ubs.F90
r12340 r12353 38 38 39 39 !! * Substitutions 40 # include "vectopt_loop_substitute.h90"41 40 # include "do_loop_substitute.h90" 42 41 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRA/traatf.F90
r12340 r12353 57 57 58 58 !! * Substitutions 59 # include "vectopt_loop_substitute.h90"60 59 # include "do_loop_substitute.h90" 61 60 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRA/trabbl.F90
r12340 r12353 67 67 68 68 !! * Substitutions 69 # include "vectopt_loop_substitute.h90"70 69 # include "do_loop_substitute.h90" 71 70 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRA/tradmp.F90
r12340 r12353 52 52 53 53 !! * Substitutions 54 # include "vectopt_loop_substitute.h90"55 54 # include "do_loop_substitute.h90" 56 55 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRA/traisf.F90
r12340 r12353 22 22 23 23 !! * Substitutions 24 # include "vectopt_loop_substitute.h90"25 24 # include "do_loop_substitute.h90" 26 25 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRA/traldf.F90
r12236 r12353 38 38 PUBLIC tra_ldf_init ! called by nemogcm.F90 39 39 40 !! * Substitutions41 # include "vectopt_loop_substitute.h90"42 40 !!---------------------------------------------------------------------- 43 41 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRA/traldf_iso.F90
r12340 r12353 40 40 41 41 !! * Substitutions 42 # include "vectopt_loop_substitute.h90"43 42 # include "do_loop_substitute.h90" 44 43 !!---------------------------------------------------------------------- … … 262 261 !! III - vertical trend (full) 263 262 !!---------------------------------------------------------------------- 264 !265 ztfw(fs_2:1,:,:) = 0._wp ; ztfw(jpi:fs_jpim1,:,:) = 0._wp ! avoid to potentially manipulate NaN values266 263 ! 267 264 ! Vertical fluxes -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRA/traldf_lap_blp.F90
r12340 r12353 37 37 38 38 !! * Substitutions 39 # include "vectopt_loop_substitute.h90"40 39 # include "do_loop_substitute.h90" 41 40 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRA/traldf_triad.F90
r12340 r12353 40 40 41 41 !! * Substitutions 42 # include "vectopt_loop_substitute.h90"43 42 # include "do_loop_substitute.h90" 44 43 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRA/tramle.F90
r12340 r12353 48 48 49 49 !! * Substitutions 50 # include "vectopt_loop_substitute.h90"51 50 # include "do_loop_substitute.h90" 52 51 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRA/tranpc.F90
r12340 r12353 34 34 35 35 !! * Substitutions 36 # include "vectopt_loop_substitute.h90"37 36 # include "do_loop_substitute.h90" 38 37 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRA/traqsr.F90
r12340 r12353 67 67 68 68 !! * Substitutions 69 # include "vectopt_loop_substitute.h90"70 69 # include "do_loop_substitute.h90" 71 70 !!---------------------------------------------------------------------- … … 170 169 DO jk = 1, nksr + 1 171 170 DO jj = 2, jpjm1 ! Separation in R-G-B depending of the surface Chl 172 DO ji = fs_2, fs_jpim1171 DO ji = 2, jpim1 173 172 zchl = MIN( 10. , MAX( 0.03, sf_chl(1)%fnow(ji,jj,1) ) ) 174 173 zCtot = 40.6 * zchl**0.459 -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRA/trasbc.F90
r12340 r12353 42 42 43 43 !! * Substitutions 44 # include "vectopt_loop_substitute.h90"45 44 # include "do_loop_substitute.h90" 46 45 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRA/trazdf.F90
r12340 r12353 36 36 37 37 !! * Substitutions 38 # include "vectopt_loop_substitute.h90"39 38 # include "do_loop_substitute.h90" 40 39 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRA/zpshde.F90
r12340 r12353 31 31 32 32 !! * Substitutions 33 # include "vectopt_loop_substitute.h90"34 33 # include "do_loop_substitute.h90" 35 34 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRD/trddyn.F90
r12340 r12353 36 36 37 37 !! * Substitutions 38 # include "vectopt_loop_substitute.h90"39 38 # include "do_loop_substitute.h90" 40 39 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRD/trdglo.F90
r12340 r12353 51 51 52 52 !! * Substitutions 53 # include "vectopt_loop_substitute.h90"54 53 # include "do_loop_substitute.h90" 55 54 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRD/trdini.F90
r11960 r12353 25 25 PUBLIC trd_init ! called by nemogcm.F90 module 26 26 27 !! * Substitutions28 # include "vectopt_loop_substitute.h90"29 27 !!---------------------------------------------------------------------- 30 28 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRD/trdken.F90
r12340 r12353 40 40 41 41 !! * Substitutions 42 # include "vectopt_loop_substitute.h90"43 42 # include "do_loop_substitute.h90" 44 43 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRD/trdpen.F90
r11949 r12353 35 35 REAL(wp), ALLOCATABLE, SAVE, DIMENSION(:,:,:,:) :: rab_pe ! partial derivatives of PE anomaly with respect to T and S 36 36 37 !! * Substitutions38 # include "vectopt_loop_substitute.h90"39 37 !!---------------------------------------------------------------------- 40 38 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRD/trdtra.F90
r12340 r12353 41 41 42 42 !! * Substitutions 43 # include "vectopt_loop_substitute.h90"44 43 # include "do_loop_substitute.h90" 45 44 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/TRD/trdvor.F90
r12340 r12353 56 56 57 57 !! * Substitutions 58 # include "vectopt_loop_substitute.h90"59 58 # include "do_loop_substitute.h90" 60 59 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/USR/usrdef_fmask.F90
r10425 r12353 26 26 PUBLIC usr_def_fmask ! routine called by dommsk.F90 27 27 28 !! * Substitutions29 # include "vectopt_loop_substitute.h90"30 28 !!---------------------------------------------------------------------- 31 29 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/USR/usrdef_sbc.F90
r12340 r12353 31 31 32 32 !! * Substitutions 33 # include "vectopt_loop_substitute.h90"34 33 # include "do_loop_substitute.h90" 35 34 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/USR/usrdef_zgr.F90
r10425 r12353 29 29 PUBLIC usr_def_zgr ! called by domzgr.F90 30 30 31 !! * Substitutions32 # include "vectopt_loop_substitute.h90"33 31 !!---------------------------------------------------------------------- 34 32 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/ZDF/zdfddm.F90
r12340 r12353 30 30 31 31 !! * Substitutions 32 # include "vectopt_loop_substitute.h90"33 32 # include "do_loop_substitute.h90" 34 33 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/ZDF/zdfdrg.F90
r12340 r12353 73 73 74 74 !! * Substitutions 75 # include "vectopt_loop_substitute.h90"76 75 # include "do_loop_substitute.h90" 77 76 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/ZDF/zdfgls.F90
r12340 r12353 104 104 105 105 !! * Substitutions 106 # include "vectopt_loop_substitute.h90"107 106 # include "do_loop_substitute.h90" 108 107 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/ZDF/zdfiwm.F90
r12340 r12353 49 49 50 50 !! * Substitutions 51 # include "vectopt_loop_substitute.h90"52 51 # include "do_loop_substitute.h90" 53 52 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/ZDF/zdfric.F90
r12340 r12353 50 50 51 51 !! * Substitutions 52 # include "vectopt_loop_substitute.h90"53 52 # include "do_loop_substitute.h90" 54 53 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/ZDF/zdftke.F90
r12340 r12353 89 89 90 90 !! * Substitutions 91 # include "vectopt_loop_substitute.h90"92 91 # include "do_loop_substitute.h90" 93 92 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/OCE/do_loop_substitute.h90
r12341 r12353 1 #if defshow_comments1 #if defined show_comments 2 2 ! These comments are not intended to be retained during preprocessing; i.e. do not define "show_comments" 3 3 !!---------------------------------------------------------------------- … … 50 50 ! includes the possibility of strides for which an extra set of DO_3DS macros are defined. 51 51 ! 52 ! In the definitions below the inner PE domain is defined by start indices of (kIs, kJs) and end indices of (kIe, KJe) 52 ! In the following definitions the inner PE domain is defined by start indices of (___kIs_, __kJs_) and end indices of (__kIe_, __kJe_) 53 ! The following macros are defined just below: ___kIs_, __kJs_, ___kIsm1_, __kJsm1_, ___kIe_, __kJe_, ___kIep1_, __kJep1_. 54 ! These names are chosen to, hopefully, avoid any future, unintended matches elsewhere in the code. 53 55 ! 54 56 #endif 55 #define kIs256 #define kJs257 #define kIsm1158 #define kJsm1157 #define __kIs_ 2 58 #define __kJs_ 2 59 #define __kIsm1_ 1 60 #define __kJsm1_ 1 59 61 60 #define kIejpim161 #define kJejpjm162 #define kIep1jpi63 #define kJep1jpj62 #define __kIe_ jpim1 63 #define __kJe_ jpjm1 64 #define __kIep1_ jpi 65 #define __kJep1_ jpj 64 66 65 #define DO_2D_00_00 DO jj = kJs, kJe ; DO ji = kIs, kIe66 #define DO_2D_00_01 DO jj = kJs, kJe ; DO ji = kIs, kIep167 #define DO_2D_00_10 DO jj = kJs, kJe ; DO ji = kIsm1, kIe68 #define DO_2D_00_11 DO jj = kJs, kJe ; DO ji = kIsm1, kIep167 #define DO_2D_00_00 DO jj = __kJs_, __kJe_ ; DO ji = __kIs_, __kIe_ 68 #define DO_2D_00_01 DO jj = __kJs_, __kJe_ ; DO ji = __kIs_, __kIep1_ 69 #define DO_2D_00_10 DO jj = __kJs_, __kJe_ ; DO ji = __kIsm1_, __kIe_ 70 #define DO_2D_00_11 DO jj = __kJs_, __kJe_ ; DO ji = __kIsm1_, __kIep1_ 69 71 70 #define DO_2D_01_00 DO jj = kJs, kJep1 ; DO ji = kIs, kIe71 #define DO_2D_01_01 DO jj = kJs, kJep1 ; DO ji = kIs, kIep172 #define DO_2D_01_10 DO jj = kJs, kJep1 ; DO ji = kIsm1, kIe73 #define DO_2D_01_11 DO jj = kJs, kJep1 ; DO ji = kIsm1, kIep172 #define DO_2D_01_00 DO jj = __kJs_, __kJep1_ ; DO ji = __kIs_, __kIe_ 73 #define DO_2D_01_01 DO jj = __kJs_, __kJep1_ ; DO ji = __kIs_, __kIep1_ 74 #define DO_2D_01_10 DO jj = __kJs_, __kJep1_ ; DO ji = __kIsm1_, __kIe_ 75 #define DO_2D_01_11 DO jj = __kJs_, __kJep1_ ; DO ji = __kIsm1_, __kIep1_ 74 76 75 #define DO_2D_10_00 DO jj = kJsm1, kJe ; DO ji = kIs, kIe76 #define DO_2D_10_10 DO jj = kJsm1, kJe ; DO ji = kIsm1, kIe77 #define DO_2D_10_11 DO jj = kJsm1, kJe ; DO ji = kIsm1, kIep177 #define DO_2D_10_00 DO jj = __kJsm1_, __kJe_ ; DO ji = __kIs_, __kIe_ 78 #define DO_2D_10_10 DO jj = __kJsm1_, __kJe_ ; DO ji = __kIsm1_, __kIe_ 79 #define DO_2D_10_11 DO jj = __kJsm1_, __kJe_ ; DO ji = __kIsm1_, __kIep1_ 78 80 79 #define DO_2D_11_00 DO jj = kJsm1, kJep1 ; DO ji = kIs, kIe 80 #define DO_2D_11_01 DO jj = kJsm1, kJep1 ; DO ji = kIs, kIep1 81 #define DO_2D_11_10 DO jj = kJsm1, kJep1 ; DO ji = kIsm1, kIe 82 #define DO_2D_11_11 DO jj = kJsm1, kJep1 ; DO ji = kIsm1, kIep1 83 81 #define DO_2D_11_00 DO jj = __kJsm1_, __kJep1_ ; DO ji = __kIs_, __kIe_ 82 #define DO_2D_11_01 DO jj = __kJsm1_, __kJep1_ ; DO ji = __kIs_, __kIep1_ 83 #define DO_2D_11_10 DO jj = __kJsm1_, __kJep1_ ; DO ji = __kIsm1_, __kIe_ 84 #define DO_2D_11_11 DO jj = __kJsm1_, __kJep1_ ; DO ji = __kIsm1_, __kIep1_ 84 85 85 86 #define DO_3D_00_00(ks,ke) DO jk = ks, ke ; DO_2D_00_00 -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/SAS/diawri.F90
r12182 r12353 64 64 INTEGER, SAVE, ALLOCATABLE, DIMENSION(:) :: ndex_hA, ndex_A ! ABL 65 65 66 !! * Substitutions67 # include "vectopt_loop_substitute.h90"68 66 !!---------------------------------------------------------------------- 69 67 !! NEMO/SAS 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/TOP/PISCES/P2Z/p2zbio.F90
r12340 r12353 57 57 58 58 !! * Substitutions 59 # include "vectopt_loop_substitute.h90"60 59 # include "do_loop_substitute.h90" 61 60 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/TOP/PISCES/P2Z/p2zexp.F90
r12340 r12353 38 38 39 39 !! * Substitutions 40 # include "vectopt_loop_substitute.h90"41 40 # include "do_loop_substitute.h90" 42 41 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/TOP/PISCES/P4Z/p4zbc.F90
r12340 r12353 47 47 48 48 !! * Substitutions 49 # include "vectopt_loop_substitute.h90"50 49 # include "do_loop_substitute.h90" 51 50 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/TOP/PISCES/SED/trcdmp_sed.F90
r12340 r12353 35 35 36 36 !! * Substitutions 37 # include "vectopt_loop_substitute.h90"38 37 # include "do_loop_substitute.h90" 39 38 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/TOP/TRP/trcadv.F90
r12236 r12353 59 59 INTEGER, PARAMETER :: np_QCK = 5 ! QUICK scheme 60 60 61 !! * Substitutions62 # include "vectopt_loop_substitute.h90"63 61 !!---------------------------------------------------------------------- 64 62 !! NEMO/TOP 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/TOP/TRP/trcdmp.F90
r12340 r12353 44 44 45 45 !! * Substitutions 46 # include "vectopt_loop_substitute.h90"47 46 # include "do_loop_substitute.h90" 48 47 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/TOP/TRP/trcldf.F90
r12340 r12353 43 43 44 44 !! * Substitutions 45 # include "vectopt_loop_substitute.h90"46 45 # include "do_loop_substitute.h90" 47 46 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/TOP/TRP/trcsbc.F90
r12340 r12353 29 29 30 30 !! * Substitutions 31 # include "vectopt_loop_substitute.h90"32 31 # include "do_loop_substitute.h90" 33 32 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/src/TOP/trcbc.F90
r12340 r12353 47 47 48 48 !! * Substitutions 49 # include "vectopt_loop_substitute.h90"50 49 # include "do_loop_substitute.h90" 51 50 !!---------------------------------------------------------------------- -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/BENCH/MY_SRC/diawri.F90
r11949 r12353 77 77 INTEGER, SAVE, ALLOCATABLE, DIMENSION(:) :: ndex_bT 78 78 79 !! * Substitutions80 # include "vectopt_loop_substitute.h90"81 79 !!---------------------------------------------------------------------- 82 80 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/BENCH/MY_SRC/usrdef_zgr.F90
r11536 r12353 30 30 PUBLIC usr_def_zgr ! called by domzgr.F90 31 31 32 !! * Substitutions33 # include "vectopt_loop_substitute.h90"34 32 !!---------------------------------------------------------------------- 35 33 !! NEMO/OPA 4.0 , NEMO Consortium (2016) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/BENCH/MY_SRC/zdfiwm.F90
r11960 r12353 48 48 REAL(wp), ALLOCATABLE, SAVE, DIMENSION(:,:) :: hcri_iwm ! decay scale for low-mode critical slope dissipation (m) 49 49 50 !! * Substitutions51 # include "vectopt_loop_substitute.h90"52 50 !!---------------------------------------------------------------------- 53 51 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/CANAL/MY_SRC/diawri.F90
r12252 r12353 76 76 INTEGER, SAVE, ALLOCATABLE, DIMENSION(:) :: ndex_bT 77 77 78 !! * Substitutions79 # include "vectopt_loop_substitute.h90"80 78 !!---------------------------------------------------------------------- 81 79 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/CANAL/MY_SRC/domvvl.F90
r11960 r12353 62 62 REAL(wp) , ALLOCATABLE, SAVE, DIMENSION(:,:) :: frq_rst_hdv ! retoring period for low freq. divergence 63 63 64 !! * Substitutions65 # include "vectopt_loop_substitute.h90"66 64 !!---------------------------------------------------------------------- 67 65 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/CANAL/MY_SRC/trazdf.F90
r11949 r12353 35 35 PUBLIC tra_zdf_imp ! called by trczdf.F90 36 36 37 !! * Substitutions38 # include "vectopt_loop_substitute.h90"39 37 !!---------------------------------------------------------------------- 40 38 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/CANAL/MY_SRC/usrdef_sbc.F90
r11949 r12353 31 31 PUBLIC usrdef_sbc_ice_flx ! routine called by icestp.F90 for ice thermo 32 32 33 !! * Substitutions34 # include "vectopt_loop_substitute.h90"35 33 !!---------------------------------------------------------------------- 36 34 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/CANAL/MY_SRC/usrdef_zgr.F90
r10425 r12353 31 31 PUBLIC usr_def_zgr ! called by domzgr.F90 32 32 33 !! * Substitutions34 # include "vectopt_loop_substitute.h90"35 33 !!---------------------------------------------------------------------- 36 34 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/ICE_ADV1D/MY_SRC/usrdef_sbc.F90
r11949 r12353 33 33 PUBLIC usrdef_sbc_ice_flx ! routine called by icestp.F90 for ice thermo 34 34 35 !! * Substitutions36 # include "vectopt_loop_substitute.h90"37 35 !!---------------------------------------------------------------------- 38 36 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/ICE_ADV1D/MY_SRC/usrdef_zgr.F90
r10513 r12353 25 25 PUBLIC usr_def_zgr ! called by domzgr.F90 26 26 27 !! * Substitutions28 # include "vectopt_loop_substitute.h90"29 27 !!---------------------------------------------------------------------- 30 28 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/ICE_ADV2D/MY_SRC/usrdef_sbc.F90
r11949 r12353 33 33 PUBLIC usrdef_sbc_ice_flx ! routine called by icestp.F90 for ice thermo 34 34 35 !! * Substitutions36 # include "vectopt_loop_substitute.h90"37 35 !!---------------------------------------------------------------------- 38 36 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/ICE_ADV2D/MY_SRC/usrdef_zgr.F90
r10515 r12353 25 25 PUBLIC usr_def_zgr ! called by domzgr.F90 26 26 27 !! * Substitutions28 # include "vectopt_loop_substitute.h90"29 27 !!---------------------------------------------------------------------- 30 28 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/ICE_AGRIF/MY_SRC/usrdef_sbc.F90
r11949 r12353 33 33 PUBLIC usrdef_sbc_ice_flx ! routine called by icestp.F90 for ice thermo 34 34 35 !! * Substitutions36 # include "vectopt_loop_substitute.h90"37 35 !!---------------------------------------------------------------------- 38 36 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/ICE_AGRIF/MY_SRC/usrdef_zgr.F90
r10516 r12353 25 25 PUBLIC usr_def_zgr ! called by domzgr.F90 26 26 27 !! * Substitutions28 # include "vectopt_loop_substitute.h90"29 27 !!---------------------------------------------------------------------- 30 28 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/ISOMIP+/MY_SRC/eosbn2.F90
r12077 r12353 180 180 REAL(wp) :: BPE002 181 181 182 !! * Substitutions183 # include "vectopt_loop_substitute.h90"184 182 !!---------------------------------------------------------------------- 185 183 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/ISOMIP+/MY_SRC/istate.F90
r12077 r12353 41 41 PUBLIC istate_init ! routine called by step.F90 42 42 43 !! * Substitutions44 # include "vectopt_loop_substitute.h90"45 43 !!---------------------------------------------------------------------- 46 44 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/ISOMIP+/MY_SRC/sbcfwb.F90
r12077 r12353 39 39 REAL(wp) :: area ! global mean ocean surface (interior domain) 40 40 41 !! * Substitutions42 # include "vectopt_loop_substitute.h90"43 41 !!---------------------------------------------------------------------- 44 42 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/ISOMIP+/MY_SRC/tradmp.F90
r12077 r12353 51 51 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: resto !: restoring coeff. on T and S (s-1) 52 52 53 !! * Substitutions54 # include "vectopt_loop_substitute.h90"55 53 !!---------------------------------------------------------------------- 56 54 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/ISOMIP+/MY_SRC/usrdef_sbc.F90
r12077 r12353 32 32 PUBLIC usrdef_sbc_ice_flx ! routine called by icestp.F90 for ice thermo 33 33 34 !! * Substitutions35 # include "vectopt_loop_substitute.h90"36 34 !!---------------------------------------------------------------------- 37 35 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/ISOMIP/MY_SRC/usrdef_sbc.F90
r11949 r12353 32 32 PUBLIC usrdef_sbc_ice_flx ! routine called by icestp.F90 for ice thermo 33 33 34 !! * Substitutions35 # include "vectopt_loop_substitute.h90"36 34 !!---------------------------------------------------------------------- 37 35 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/ISOMIP/MY_SRC/usrdef_zgr.F90
r10491 r12353 30 30 PUBLIC usr_def_zgr ! called by domzgr.F90 31 31 32 !! * Substitutions33 # include "vectopt_loop_substitute.h90"34 32 !!---------------------------------------------------------------------- 35 33 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/LOCK_EXCHANGE/MY_SRC/usrdef_sbc.F90
r11949 r12353 31 31 PUBLIC usrdef_sbc_ice_flx ! routine called by icestp.F90 for ice thermo 32 32 33 !! * Substitutions34 # include "vectopt_loop_substitute.h90"35 33 !!---------------------------------------------------------------------- 36 34 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/LOCK_EXCHANGE/MY_SRC/usrdef_zgr.F90
r10425 r12353 27 27 PUBLIC usr_def_zgr ! called by domzgr.F90 28 28 29 !! * Substitutions30 # include "vectopt_loop_substitute.h90"31 29 !!---------------------------------------------------------------------- 32 30 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/OVERFLOW/MY_SRC/usrdef_sbc.F90
r11949 r12353 31 31 PUBLIC usrdef_sbc_ice_flx ! routine called by icestp.F90 for ice thermo 32 32 33 !! * Substitutions34 # include "vectopt_loop_substitute.h90"35 33 !!---------------------------------------------------------------------- 36 34 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/OVERFLOW/MY_SRC/usrdef_zgr.F90
r11077 r12353 29 29 PUBLIC usr_def_zgr ! called by domzgr.F90 30 30 31 !! * Substitutions32 # include "vectopt_loop_substitute.h90"33 31 !!---------------------------------------------------------------------- 34 32 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/STATION_ASF/MY_SRC/diawri.F90
r12249 r12353 55 55 INTEGER, SAVE, ALLOCATABLE, DIMENSION(:) :: ndex_hT, ndex_hU, ndex_hV 56 56 57 !! * Substitutions58 # include "vectopt_loop_substitute.h90"59 57 !!---------------------------------------------------------------------- 60 58 !! NEMO/SAS 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/VORTEX/MY_SRC/domvvl.F90
r12150 r12353 63 63 REAL(wp) , ALLOCATABLE, SAVE, DIMENSION(:,:) :: frq_rst_hdv ! retoring period for low freq. divergence 64 64 65 !! * Substitutions66 # include "vectopt_loop_substitute.h90"67 65 !!---------------------------------------------------------------------- 68 66 !! NEMO/OCE 4.0 , NEMO Consortium (2018) … … 415 413 DO jk = 1, jpkm1 ! a - first derivative: diffusive fluxes 416 414 DO jj = 1, jpjm1 417 DO ji = 1, fs_jpim1 ! vector opt.415 DO ji = 1, jpim1 ! vector opt. 418 416 un_td(ji,jj,jk) = rn_ahe3 * umask(ji,jj,jk) * e2_e1u(ji,jj) & 419 417 & * ( tilde_e3t_b(ji,jj,jk) - tilde_e3t_b(ji+1,jj ,jk) ) … … 433 431 DO jk = 1, jpkm1 ! c - second derivative: divergence of diffusive fluxes 434 432 DO jj = 2, jpjm1 435 DO ji = fs_2, fs_jpim1 ! vector opt.433 DO ji = 2, jpim1 ! vector opt. 436 434 tilde_e3t_a(ji,jj,jk) = tilde_e3t_a(ji,jj,jk) + ( un_td(ji-1,jj ,jk) - un_td(ji,jj,jk) & 437 435 & + vn_td(ji ,jj-1,jk) - vn_td(ji,jj,jk) & … … 731 729 DO jk = 1, jpk 732 730 DO jj = 1, jpjm1 733 DO ji = 1, fs_jpim1 ! vector opt.731 DO ji = 1, jpim1 ! vector opt. 734 732 pe3_out(ji,jj,jk) = 0.5_wp * ( umask(ji,jj,jk) * (1.0_wp - zlnwd) + zlnwd ) * r1_e1e2u(ji,jj) & 735 733 & * ( e1e2t(ji ,jj) * ( pe3_in(ji ,jj,jk) - e3t_0(ji ,jj,jk) ) & … … 744 742 DO jk = 1, jpk 745 743 DO jj = 1, jpjm1 746 DO ji = 1, fs_jpim1 ! vector opt.744 DO ji = 1, jpim1 ! vector opt. 747 745 pe3_out(ji,jj,jk) = 0.5_wp * ( vmask(ji,jj,jk) * (1.0_wp - zlnwd) + zlnwd ) * r1_e1e2v(ji,jj) & 748 746 & * ( e1e2t(ji,jj ) * ( pe3_in(ji,jj ,jk) - e3t_0(ji,jj ,jk) ) & … … 757 755 DO jk = 1, jpk 758 756 DO jj = 1, jpjm1 759 DO ji = 1, fs_jpim1 ! vector opt.757 DO ji = 1, jpim1 ! vector opt. 760 758 pe3_out(ji,jj,jk) = 0.5_wp * ( umask(ji,jj,jk) * umask(ji,jj+1,jk) * (1.0_wp - zlnwd) + zlnwd ) & 761 759 & * r1_e1e2f(ji,jj) & -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/VORTEX/MY_SRC/usrdef_sbc.F90
r11949 r12353 30 30 PUBLIC usrdef_sbc_ice_flx ! routine called by icestp.F90 for ice thermo 31 31 32 !! * Substitutions33 # include "vectopt_loop_substitute.h90"34 32 !!---------------------------------------------------------------------- 35 33 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/VORTEX/MY_SRC/usrdef_zgr.F90
r10425 r12353 29 29 PUBLIC usr_def_zgr ! called by domzgr.F90 30 30 31 !! * Substitutions32 # include "vectopt_loop_substitute.h90"33 31 !!---------------------------------------------------------------------- 34 32 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/WAD/MY_SRC/usrdef_sbc.F90
r11949 r12353 31 31 PUBLIC usrdef_sbc_ice_flx ! routine called by icestp.F90 for ice thermo 32 32 33 !! * Substitutions34 # include "vectopt_loop_substitute.h90"35 33 !!---------------------------------------------------------------------- 36 34 !! NEMO/OCE 4.0 , NEMO Consortium (2018) -
NEMO/branches/2019/dev_r11943_MERGE_2019/tests/WAD/MY_SRC/usrdef_zgr.F90
r10425 r12353 29 29 PUBLIC usr_def_zgr ! called by domzgr.F90 30 30 31 !! * Substitutions32 # include "vectopt_loop_substitute.h90"33 31 !!---------------------------------------------------------------------- 34 32 !! NEMO/OCE 4.0 , NEMO Consortium (2018)
Note: See TracChangeset
for help on using the changeset viewer.