Changeset 116


Ignore:
Timestamp:
06/20/17 14:51:53 (7 years ago)
Author:
dumas
Message:

Ant-40_iterbeta added in Makefile.grisli.inc | update steps_time_loop_avec_iterbeta.f90 to be coherent with steps_time_loop.f90 | OMP DO shifted in dragging_param_beta_mod.f90

Location:
trunk/SOURCES
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/SOURCES/Makefile.grisli.inc

    r112 r116  
    235235        bmelt-ant-regions_mod.o \ 
    236236        bmelt-ant-regions-oce_mod.o \ 
    237         fake-routines-ant_mod.o module_choix-antar40-0.4.o \ 
     237        fake-routines-ant_mod.o \ 
     238        dragging_prescr_beta_mod.o beta_iter_vitbil_mod.o \ 
     239        module_choix-antar40-0.4.o \ 
    238240        track_ant40_mod.o 
    239241         
     
    689691        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS) 
    690692         
     693Ant-40_iterbeta : $(Dim_Ant40) $(mod_dim_communs) \ 
     694        $(toy_recul)  \ 
     695        $(mod_communs) \ 
     696        $(mod_clim_tof) \ 
     697        $(mod_no_tracers) \ 
     698        $(mod_ell) $(Liste_Ant40) \ 
     699        $(diagnoshelf) \ 
     700        $(Liste_Netcdf) \ 
     701        $(routines_communes) steps_time_loop_avec_iterbeta.o \ 
     702        $(routine_elliptiques) \ 
     703        $(Liste_BLAS) 
     704 
     705        $(LK) -o  ../bin/Ant-40_iterbeta \ 
     706        $(Dim_Ant40) $(mod_dim_communs) \ 
     707        $(toy_recul)  \ 
     708        $(mod_communs) \ 
     709        $(mod_clim_tof) \ 
     710        $(mod_no_tracers) \ 
     711        $(mod_ell) $(Liste_Ant40) \ 
     712        $(diagnoshelf) \ 
     713        $(Liste_Netcdf) \ 
     714        $(routines_communes) steps_time_loop_avec_iterbeta.o \ 
     715        $(routine_elliptiques) $(NCDF_LIB) $(MKL_LIB) $(Liste_BLAS)      
     716         
    691717Snowball : $(Dim_Snowball) $(mod_dim_communs) \ 
    692718        $(toy_recul)  \ 
  • trunk/SOURCES/dragging_param_beta_mod.f90

    r92 r116  
    152152 
    153153! calcul de neff (pression effective sur noeuds majeurs) 
    154 !$OMP DO 
    155154if (sum(neffmx(:,:)).le.0.) neffmx(:,:) =1.e8 
    156155if (sum(neffmy(:,:)).le.0.) neffmy(:,:) =1.e8 
    157156 
     157!$OMP DO 
    158158do j=1,ny-1 
    159159   do i=1,nx-1 
  • trunk/SOURCES/steps_time_loop_avec_iterbeta.f90

    r50 r116  
    5656     if (itracebug.eq.1)  call tracebug(' Dans spinup_icethick : appelle icethick') 
    5757 
    58      call icethick3() 
     58     call icethick3 
    5959 
    6060     call calving 
     
    140140  !------------------------------------------------------------------ 
    141141 
    142   if ((NT.eq.1) &    !   .or.(NT.eq.2) 
    143        .or.(mod(abs(dble(TIME)),dble(DTPROFILE)).lt.dble(dtmin)) & 
    144        .or.(abs(TIME-TEND).lt.dtmin)) then 
     142  !if ((NT.eq.1) &    !   .or.(NT.eq.2) 
     143  !     .or.(mod(abs(dble(TIME)),dble(DTPROFILE)).lt.dble(dtmin)) & 
     144  !     .or.(abs(TIME-TEND).lt.dtmin)) then 
    145145 
    146146     !        call sortieprofile() 
    147147 
    148   endif 
     148  !endif 
    149149 
    150150  !  sorties netcdf Hassine (aout 2010)  (2D and 3D) 
     
    164164 
    165165  ! end of outputs 
     166  if (isynchro.eq.1) then 
     167                 diff_H = 0. 
     168                 Bm_dtt(:,:) = 0. 
     169                 bmelt_dtt(:,:) = 0. 
     170           calv_dtt(:,:)=0. 
     171                 ablbord_dtt(:,:)=0. 
     172                 diff_H_2D(:,:)=0. 
     173        endif    
    166174  !=================================================================== 
    167175 
     
    233241  !------------------------------------------- 
    234242  call masque() 
    235   call flottab() 
     243 
    236244  if (iter_beta.gt.0)   call init_dragging 
    237245 
     
    345353        if (itracebug.eq.1)  call tracebug(' Dans spinup_3_bed') 
    346354 
    347         if ((nbed.eq.1).and.nt.ne.1.and.isynchro.eq.1) then            
     355        if ((nbed.eq.1).and.nt.ne.1.and.isynchro.eq.1.and.(mod(abs(TIME),50.).lt.dtmin)) then            
    348356           call bedrock()                                            !  bedrock adjustment 
    349357        endif 
     
    444452           do m=1,iter_visco   
    445453              call diagnoshelf 
    446               call  mix_SIA_L1   
    447               call strain_rate() 
     454              call mix_SIA_L1   
     455              call strain_rate 
    448456           end do 
    449457 
    450458! iterations pour affiner beta en fonction des vitesses de bilan 
    451459  
    452            if ((time.ge.time_iter).and.(time.le.time_iter+15.)) then    !iterations seulment pendant 15 ans 
     460           if ((time.ge.time_iter).and.(time.le.time_iter+20.)) then    !iterations seulment pendant 15 ans 
    453461              do m=1,nb_iter_vitbil 
    454462                 call beta_iter_vitbil  
    455463                 call diagnoshelf 
    456                  call  mix_SIA_L1   
    457                  call strain_rate() 
     464                 call mix_SIA_L1   
     465                 call strain_rate 
    458466              end do 
    459467           end if 
Note: See TracChangeset for help on using the changeset viewer.