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 8569 for branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/icedyn_adv.F90 – NEMO

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

Prather: allocate specific arrays only when prather is used

File:
1 edited

Legend:

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

    r8564 r8569  
    111111      IF( iom_use('destrp') )   CALL iom_put( "destrp" , diag_trp_es )          ! advected snw enthalpy (W/m2) 
    112112 
    113       IF( lrst_ice ) THEN                       !* write Prather fields in the restart file 
    114          IF( ln_adv_Pra )   CALL adv_pra_rst( 'WRITE', kt ) 
    115       ENDIF 
    116                 
    117113      ! controls 
    118114      IF( ln_icediachk   )   CALL ice_cons_hsm(1, 'icedyn_adv', rdiag_v, rdiag_s, rdiag_t, rdiag_fv, rdiag_fs, rdiag_ft) ! conservation 
     
    165161      IF( ioptio /= 1 )   CALL ctl_stop( 'ice_dyn_adv_init: choose one and only one ice adv. scheme (ln_adv_Pra or ln_adv_UMx)' ) 
    166162      ! 
    167       IF( ln_adv_Pra )   CALL adv_pra_rst( 'READ' )  !* read or initialize all required files 
     163      IF( ln_adv_Pra )   CALL adv_pra_init  !* read or initialize all required files 
    168164      ! 
    169165   END SUBROUTINE ice_dyn_adv_init 
Note: See TracChangeset for help on using the changeset viewer.