New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 5111 for branches/2015/dev_r5094_UKMO_ISFCLEAN/NEMOGCM/NEMO/OPA_SRC/DYN/dynhpg.F90 – NEMO

Ignore:
Timestamp:
2015-03-02T16:30:57+01:00 (9 years ago)
Author:
mathiot
Message:

add some missing if ln_isfcav, test of option compatibility with ln_isfcav + small documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5094_UKMO_ISFCLEAN/NEMOGCM/NEMO/OPA_SRC/DYN/dynhpg.F90

    r5098 r5111  
    167167                           & the standard jacobian formulation hpg_sco or & 
    168168                           & the pressure jacobian formulation hpg_prj') 
     169 
     170      IF( ln_hpg_isf .AND. .NOT. ln_isfcav )   & 
     171           &   CALL ctl_stop( ' hpg_isf not available is ln_isfcav = false ' ) 
    169172      ! 
    170173      !                               ! Set nhpg from ln_hpg_... flags 
     
    187190      IF( ( .NOT. ln_hpg_isf ) .AND. ln_isfcav )   & 
    188191          &  CALL ctl_stop( 'Only hpg_isf has been corrected to work with ice shelf cavity.' ) 
     192      !  
     193      ! initialisation of ice load 
     194      riceload(:,:)=0.0 
    189195      ! 
    190196   END SUBROUTINE dyn_hpg_init 
Note: See TracChangeset for help on using the changeset viewer.