- Timestamp:
- 2020-04-10T13:07:50+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/r4.0-HEAD_r12713_clem_dan_fixcpl/src/ICE/ice.F90
r12726 r12733 398 398 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: qcn_ice_top !: Surface conduction flux (W/m2) 399 399 400 !!---------------------------------------------------------------------- 401 !! * Only for atmospheric coupling 402 !!---------------------------------------------------------------------- 403 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: a_i_last_couple !: Ice fractional area at last coupling time 400 404 ! 401 405 !!---------------------------------------------------------------------- … … 412 416 INTEGER :: ice_alloc 413 417 ! 414 INTEGER :: ierr(1 6), ii418 INTEGER :: ierr(17), ii 415 419 !!----------------------------------------------------------------- 416 420 ierr(:) = 0 … … 494 498 ALLOCATE( t_si(jpi,jpj,jpl) , tm_si(jpi,jpj) , qcn_ice_bot(jpi,jpj,jpl) , qcn_ice_top(jpi,jpj,jpl) , STAT = ierr(ii) ) 495 499 500 ! * For atmospheric coupling 501 ii = ii + 1 502 ALLOCATE( a_i_last_couple(jpi,jpj,jpl) , STAT=ierr(ii) ) 503 496 504 ice_alloc = MAXVAL( ierr(:) ) 497 505 IF( ice_alloc /= 0 ) CALL ctl_stop( 'STOP', 'ice_alloc: failed to allocate arrays.' ) 498 506 ! 507 499 508 END FUNCTION ice_alloc 500 509
Note: See TracChangeset
for help on using the changeset viewer.