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

Ignore:
Timestamp:
2017-07-25T19:44:54+02:00 (7 years ago)
Author:
clem
Message:

remove most of wrk_alloc

File:
1 edited

Legend:

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

    r8371 r8373  
    8787      REAL(wp), PARAMETER :: zfric_umin = 0._wp           ! lower bound for the friction velocity (cice value=5.e-04) 
    8888      REAL(wp), PARAMETER :: zch        = 0.0057_wp       ! heat transfer coefficient 
    89       REAL(wp), POINTER, DIMENSION(:,:) ::   zu_io, zv_io, zfric   ! ice-ocean velocity (m/s) and frictional velocity (m2/s2) 
     89      REAL(wp), DIMENSION(jpi,jpj) ::   zu_io, zv_io, zfric   ! ice-ocean velocity (m/s) and frictional velocity (m2/s2) 
    9090      ! 
    9191      !!------------------------------------------------------------------- 
    9292 
    9393      IF( nn_timing == 1 )   CALL timing_start('limthd') 
    94  
    95       CALL wrk_alloc( jpi,jpj, zu_io, zv_io, zfric ) 
    9694 
    9795      IF( kt == nit000 .AND. lwp ) THEN 
     
    322320 
    323321      IF( ln_ctl )       CALL lim_prt3D( 'limthd' )  ! Control print 
    324       ! 
    325       CALL wrk_dealloc( jpi,jpj, zu_io, zv_io, zfric ) 
    326322      ! 
    327323      IF( nn_timing == 1 )  CALL timing_stop('limthd') 
Note: See TracChangeset for help on using the changeset viewer.