- 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/OPA_SRC/DYN/dynhpg.F90
r2633 r2636 36 36 USE prtctl ! Print control 37 37 USE lbclnk ! lateral boundary condition 38 USE lib_mpp ! MPP library 38 39 39 40 IMPLICIT NONE … … 80 81 !! 81 82 INTEGER, INTENT(in) :: kt ! ocean time-step index 82 !! 83 !!---------------------------------------------------------------------- 84 ! 85 IF(wrk_in_use(3, 1,2) ) THEN 83 !!---------------------------------------------------------------------- 84 ! 85 IF( wrk_in_use(3, 1,2) ) THEN 86 86 CALL ctl_stop('dyn_hpg: requested workspace arrays are unavailable') ; RETURN 87 END 87 ENDIF 88 88 ! 89 89 IF( l_trddyn ) THEN ! Temporary saving of ua and va trends (l_trddyn) … … 111 111 & tab3d_2=va, clinfo2= ' Va: ', mask2=vmask, clinfo3='dyn' ) 112 112 ! 113 IF( wrk_not_released(3, 1,2) ) CALL ctl_stop('dyn_hpg: failed to release workspace arrays')113 IF( wrk_not_released(3, 1,2) ) CALL ctl_stop('dyn_hpg: failed to release workspace arrays') 114 114 ! 115 115 END SUBROUTINE dyn_hpg … … 152 152 ! 153 153 IF( lk_vvl .AND. .NOT. ln_hpg_sco ) & 154 & CALL ctl_stop( 154 & CALL ctl_stop('dyn_hpg_init : variable volume key_vvl require the standard jacobian formulation hpg_sco') 155 155 ! 156 156 ! ! Set nhpg from ln_hpg_... flags … … 172 172 IF( ln_hpg_djc ) ioptio = ioptio + 1 173 173 IF( ln_hpg_rot ) ioptio = ioptio + 1 174 IF ( ioptio /= 1 ) CALL ctl_stop( 'NO or several hydrostatic pressure gradient options used' )174 IF( ioptio /= 1 ) CALL ctl_stop( 'NO or several hydrostatic pressure gradient options used' ) 175 175 ! 176 176 END SUBROUTINE dyn_hpg_init … … 619 619 !!---------------------------------------------------------------------- 620 620 621 IF( wrk_in_use(3, 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15) ) THEN621 IF( wrk_in_use(3, 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15) ) THEN 622 622 CALL ctl_stop('dyn:hpg_djc : requested workspace arrays unavailable') ; RETURN 623 END 623 ENDIF 624 624 625 625 IF( kt == nit000 ) THEN … … 819 819 END DO 820 820 ! 821 IF( wrk_not_released(3, 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15) ) &822 CALL ctl_stop('dyn:hpg_djc : failed to release workspace arrays .')821 IF( wrk_not_released(3, 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15) ) & 822 CALL ctl_stop('dyn:hpg_djc : failed to release workspace arrays') 823 823 ! 824 824 END SUBROUTINE hpg_djc
Note: See TracChangeset
for help on using the changeset viewer.