- Timestamp:
- 2011-03-01T20:04:06+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/LIM_SRC_3/limitd_me.F90
r2633 r2636 24 24 USE limcons ! LIM 25 25 USE in_out_manager ! I/O manager 26 USE prtctl ! Print control27 26 USE lbclnk ! lateral boundary condition - MPP exchanges 28 27 USE lib_mpp ! MPP library 28 USE prtctl ! Print control 29 29 USE wrk_nemo ! workspace manager 30 30 … … 78 78 CONTAINS 79 79 80 FUNCTION lim_itd_me_alloc()80 INTEGER FUNCTION lim_itd_me_alloc() 81 81 !!---------------------------------------------------------------------! 82 82 !! *** ROUTINE lim_itd_me_alloc *** 83 83 !!---------------------------------------------------------------------! 84 INTEGER :: lim_itd_me_alloc85 !!---------------------------------------------------------------------!86 !87 84 ALLOCATE( & 88 85 !* Variables shared among ridging subroutines … … 96 93 & dardg1dt(jpi,jpj) , dardg2dt(jpi,jpj) , & 97 94 & dvirdgdt(jpi,jpj) , opening(jpi,jpj) , STAT=lim_itd_me_alloc ) 98 ! 99 IF( lim_itd_me_alloc /= 0 ) THEN 100 CALL ctl_warn( 'lim_itd_me_alloc: failed to allocate arrays.' ) 101 END IF 95 ! 96 IF( lim_itd_me_alloc /= 0 ) CALL ctl_warn( 'lim_itd_me_alloc: failed to allocate arrays' ) 102 97 ! 103 98 END FUNCTION lim_itd_me_alloc … … 149 144 150 145 IF( wrk_in_use(2, 1,2,3,4,5,6,7,8) ) THEN 151 CALL ctl_stop(' : requested workspace arrays unavailable.') ; RETURN152 END 146 CALL ctl_stop('lim_itd_me: requested workspace arrays unavailable') ; RETURN 147 ENDIF 153 148 154 149 IF( numit == nstart ) CALL lim_itd_me_init ! Initialization (first time-step only) … … 494 489 END DO 495 490 496 IF( wrk_not_released(2, 1,2,3,4,5,6,7,8) ) CALL ctl_stop( 'lim_itd_me : failed to release workspace arrays.')491 IF( wrk_not_released(2, 1,2,3,4,5,6,7,8) ) CALL ctl_stop('lim_itd_me: failed to release workspace arrays') 497 492 ! 498 493 END SUBROUTINE lim_itd_me … … 525 520 526 521 IF( wrk_in_use(2, 1) ) THEN 527 CALL ctl_stop('lim_itd_me_icestrength : requested workspace array unavailable .') ; RETURN528 END 522 CALL ctl_stop('lim_itd_me_icestrength : requested workspace array unavailable') ; RETURN 523 ENDIF 529 524 530 525 !------------------------------------------------------------------------------! … … 678 673 ENDIF ! ksmooth 679 674 680 ! Boundary conditions 681 CALL lbc_lnk( strength, 'T', 1. ) 682 683 IF(wrk_not_released(2, 1))THEN 684 CALL ctl_stop('lim_itd_me_icestrength : failed to release workspace array.') 685 END IF 686 675 CALL lbc_lnk( strength, 'T', 1. ) ! Boundary conditions 676 677 IF( wrk_not_released(2, 1) ) CALL ctl_stop('lim_itd_me_icestrength: failed to release workspace array') 678 ! 687 679 END SUBROUTINE lim_itd_me_icestrength 688 680
Note: See TracChangeset
for help on using the changeset viewer.