Changeset 2715 for trunk/NEMOGCM/NEMO/LIM_SRC_3/limdia.F90
- Timestamp:
- 2011-03-30T17:58:35+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/LIM_SRC_3/limdia.F90
r2528 r2715 52 52 53 53 REAL(wp), DIMENSION(jpinfmx) :: vinfom ! temporary working space 54 REAL(wp), DIMENSION(jpi,jpj) :: aire ! masked grid cell area54 REAL(wp), ALLOCATABLE, SAVE, DIMENSION(:,:) :: aire ! masked grid cell area 55 55 56 56 !! * Substitutions … … 67 67 !! *** ROUTINE lim_dia *** 68 68 !! 69 !! ** Purpose : Computation and outputs on file ice.evolu70 !! the temporal evolution of some key variables69 !! ** Purpose : Computation and outputs on file ice.evolu 70 !! the temporal evolution of some key variables 71 71 !!------------------------------------------------------------------- 72 72 INTEGER :: jv, ji, jj, jl ! dummy loop indices … … 410 410 !!------------------------------------------------------------------- 411 411 INTEGER :: jv ! dummy loop indice 412 INTEGER :: ntot , ndeb , irecl ! local integers412 INTEGER :: ierr, ntot , ndeb , irecl ! local integers 413 413 REAL(wp) :: zxx0, zxx1 ! local scalars 414 414 CHARACTER(len=jpchinf) :: titinf … … 431 431 ENDIF 432 432 433 aire(:,:) = area(:,:) * tms(:,:) * tmask_i(:,:) ! masked grid cell area (interior domain only) 433 ALLOCATE( aire(jpi,jpj) , STAT=ierr ) ! masked grid cell area (interior domain only) 434 IF( lk_mpp ) CALL mpp_sum( ierr ) 435 IF( ierr /= 0 ) CALL ctl_stop( 'STOP', 'lim_dia_init_2 : unable to allocate arrays' ) 436 aire(:,:) = area(:,:) * tms(:,:) * tmask_i(:,:) 434 437 435 438 ! Titles of ice key variables : 436 439 titvar(1) = 'NoIt' ! iteration number 437 440 titvar(2) = 'T yr' ! time step in years 438 nbvt = 2! number of time variables441 nbvt = 2 ! number of time variables 439 442 440 443 titvar(3) = 'AI_N' ! sea ice area in the northern Hemisp.(10^12 km2)
Note: See TracChangeset
for help on using the changeset viewer.