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 7956 for branches/2017/dev_r7881_no_wrk_alloc/NEMOGCM/NEMO/LIM_SRC_3/limhdf.F90 – NEMO

Ignore:
Timestamp:
2017-04-24T12:26:39+02:00 (7 years ago)
Author:
timgraham
Message:

Fixed out of bounds array problem in LIM. Results now identical to trunk version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r7881_no_wrk_alloc/NEMOGCM/NEMO/LIM_SRC_3/limhdf.F90

    r7917 r7956  
    6464      INTEGER , PARAMETER                 ::  num_iter_max = 100        ! Maximum number of iteration 
    6565      INTEGER , PARAMETER                 ::  num_convfrq  = 5          ! convergence check frequency of the Crant-Nicholson scheme (perf. optimization) 
    66       REAL(wp), POINTER, DIMENSION(:)     ::  zconv 
     66      REAL(wp), ALLOCATABLE, DIMENSION(:)     ::  zconv 
    6767      REAL(wp), ALLOCATABLE, DIMENSION(:,:,:), TARGET ::  zrlx 
    6868      REAL(wp), ALLOCATABLE, DIMENSION(:,:,:) ::  zdiv0, ztab0 
     
    8282      ALLOCATE( type_array(isize) ) 
    8383      ALLOCATE( psgn_array(isize) ) 
    84       ALLOCATE( zrlx(jpi, jpj, isize), zdiv0(jpi,jpj,isize),ztab0(jpi,jpj,isize)) 
     84      ALLOCATE( zrlx(jpi, jpj, isize), zdiv0(jpi,jpj,isize), ztab0(jpi,jpj,isize)) 
    8585 
    8686 
Note: See TracChangeset for help on using the changeset viewer.