Changeset 14141
- Timestamp:
- 2020-12-09T17:00:01+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/OCE/DYN/dynhpg.F90
r14118 r14141 183 183 ENDIF 184 184 ! 185 IF( .NOT.ln_linssh .AND. .NOT.(ln_hpg_sco.OR.ln_hpg_prj.OR.ln_hpg_isf.OR.ln_hpg_djc) ) & 186 & CALL ctl_stop('dyn_hpg_init : non-linear free surface requires either ', & 187 & ' the standard jacobian formulation hpg_sco or ' , & 188 & ' the pressure jacobian formulation hpg_prj' ) 189 ! 185 IF( .NOT.ln_linssh .AND. (ln_hpg_zco.OR.ln_hpg_zps) ) & 186 & CALL ctl_stop( 'dyn_hpg_init : non-linear free surface incompatible with hpg_zco or hpg_zps' ) 187 ! 188 IF( .NOT. (ln_hpg_isf.AND.ln_isfcav) ) & 189 & CALL ctl_stop( 'dyn_hpg_init : ln_hpg_isf=T requires ln_isfcav=T and vice versa' ) 190 ! 191 #if defined key_qco 190 192 IF( ln_hpg_isf ) THEN 191 IF( .NOT. ln_isfcav ) CALL ctl_stop( ' hpg_isf not available if ln_isfcav = false ' ) 192 ELSE 193 IF( ln_isfcav ) CALL ctl_stop( 'Only hpg_isf has been corrected to work with ice shelf cavity.' ) 193 CALL ctl_stop( 'dyn_hpg_init : key_qco and ln_hpg_isf not yet compatible' ) 194 194 ENDIF 195 #endif 195 196 ! 196 197 ! ! Set nhpg from ln_hpg_... flags & consistency check … … 239 240 END IF 240 241 END IF 242 ! 241 243 END SUBROUTINE dyn_hpg_init 242 244
Note: See TracChangeset
for help on using the changeset viewer.