New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 8518 for branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/iceadv.F90 – NEMO

Ignore:
Timestamp:
2017-09-13T18:46:56+02:00 (7 years ago)
Author:
clem
Message:

changes in style - part6 - commits of the day

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/iceadv.F90

    r8517 r8518  
    4141   INTEGER, PARAMETER ::   np_advPRA = 1   ! Prather scheme 
    4242   INTEGER, PARAMETER ::   np_advUMx = 2   ! Ultimate-Macho scheme 
    43  
     43   ! 
     44   ! ** namelist (namice_adv) ** 
     45   LOGICAL ::   ln_adv_Pra   ! Prather        advection scheme 
     46   LOGICAL ::   ln_adv_UMx   ! Ultimate-Macho advection scheme 
     47   INTEGER ::   nn_UMx       ! order of the UMx advection scheme    
     48   ! 
    4449   !! * Substitution 
    4550#  include "vectopt_loop_substitute.h90" 
     
    8590      CASE( np_advUMx )                ! ULTIMATE-MACHO scheme ! 
    8691         !                             !-----------------------! 
    87          CALL ice_adv_umx( kt, u_ice, v_ice,  & 
     92         CALL ice_adv_umx( nn_UMx, kt, u_ice, v_ice,  & 
    8893            &              ato_i, v_i, v_s, smv_i, oa_i, a_i, a_ip, v_ip, e_s, e_i ) 
    8994      !                                !-----------------------! 
     
    107112      IF( iom_use('deitrp') )   CALL iom_put( "deitrp" , diag_trp_ei         )         ! advected ice enthalpy (W/m2) 
    108113      IF( iom_use('destrp') )   CALL iom_put( "destrp" , diag_trp_es         )         ! advected snw enthalpy (W/m2) 
     114 
     115      IF( lrst_ice ) THEN                       !* write Prather fields in the restart file 
     116         IF( ln_adv_Pra )   CALL adv_pra_rst( 'WRITE', kt ) 
     117      ENDIF 
    109118                
    110119      ! controls 
     
    158167      IF( ioptio /= 1 )   CALL ctl_stop( 'ice_adv_init: choose one and only one ice advection scheme (ln_adv_Pra or ln_adv_UMx)' ) 
    159168      ! 
     169      IF( ln_adv_Pra )   CALL adv_pra_rst( 'READ' )  !* read or initialize all required files 
     170      ! 
    160171   END SUBROUTINE ice_adv_init 
    161172 
Note: See TracChangeset for help on using the changeset viewer.