- 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/dynspg.F90
r2633 r2636 14 14 USE oce ! ocean dynamics and tracers variables 15 15 USE dom_oce ! ocean space and time domain variables 16 USE phycst ! physical constants 16 17 USE obc_oce ! ocean open boundary conditions 17 18 USE sbc_oce ! surface boundary condition: ocean … … 26 27 USE prtctl ! Print control (prt_ctl routine) 27 28 USE in_out_manager ! I/O manager 28 USE phycst ! physical constants29 USE lib_mpp ! MPP library 29 30 30 31 IMPLICIT NONE … … 42 43 !! NEMO/OPA 3.2 , LODYC-IPSL (2009) 43 44 !! $Id$ 44 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 45 !!---------------------------------------------------------------------- 46 45 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 46 !!---------------------------------------------------------------------- 47 47 CONTAINS 48 48 … … 83 83 !!---------------------------------------------------------------------- 84 84 85 IF(wrk_in_use(3, 4,5))THEN 86 CALL ctl_stop('dyn_spg: requested workspace arrays unavailable.') 87 RETURN 88 END IF 85 IF( wrk_in_use(3, 4,5) ) THEN 86 CALL ctl_stop('dyn_spg: requested workspace arrays unavailable') ; RETURN 87 ENDIF 89 88 90 89 !!gm NOTA BENE : the dynspg_exp and dynspg_ts should be modified so that … … 154 153 & tab3d_2=va, clinfo2= ' Va: ', mask2=vmask, clinfo3='dyn' ) 155 154 ! 156 IF(wrk_not_released(3, 4,5))THEN 157 CALL ctl_stop('dyn_spg: failed to release workspace arrays.') 158 END IF 155 IF( wrk_not_released(3, 4,5) ) CALL ctl_stop('dyn_spg: failed to release workspace arrays') 159 156 ! 160 157 END SUBROUTINE dyn_spg … … 181 178 182 179 ! ! allocate dyn_spg arrays 183 IF( lk_dynspg_ts .AND. dyn_spg_ts_alloc() /= 0 ) CALL ctl_stop('STOP', 'dyn_spg_init: failed to allocate ts arrays')180 IF( lk_dynspg_ts .AND.dyn_spg_ts_alloc() /= 0 ) CALL ctl_stop('STOP', 'dyn_spg_init: failed to allocate ts arrays') 184 181 185 182 ! ! Control of surface pressure gradient scheme options
Note: See TracChangeset
for help on using the changeset viewer.