Changeset 13493
- Timestamp:
- 2020-09-21T09:00:06+02:00 (3 years ago)
- Location:
- NEMO/branches/2020/SI3-03_VP_rheology/src/ICE
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/SI3-03_VP_rheology/src/ICE/icedyn_rhg.F90
r12741 r13493 34 34 INTEGER, PARAMETER :: np_rhgEVP = 1 ! EVP rheology 35 35 !! INTEGER, PARAMETER :: np_rhgEAP = 2 ! EAP rheology 36 INTEGER, PARAMETER :: np_rhgVP = 3 ! VP rheology 36 37 37 38 ! ** namelist (namrhg) ** 38 39 LOGICAL :: ln_rhg_EVP ! EVP rheology 40 LOGICAL :: ln_rhg_VP ! EVP rheology 39 41 ! 40 42 !! * Substitutions … … 76 78 !--------------! 77 79 SELECT CASE( nice_rhg ) 78 ! !------------------------ !79 CASE( np_rhgEVP ) ! Elasto-Viscous-Plastic !80 ! !------------------------ !80 ! !---------------------------------! 81 CASE( np_rhgEVP ) ! Elasto-Viscous-Plastic rheology ! 82 ! !---------------------------------! 81 83 CALL ice_dyn_rhg_evp( kt, stress1_i, stress2_i, stress12_i, shear_i, divu_i, delta_i ) 84 ! 85 END SELECT 86 87 ! !---------------------------------------------! 88 CASE( np_rhgVP ) ! Viscous-Plastic rheology ! 89 ! !---------------------------------------------! 90 CALL ice_dyn_rhg_vp ( kt, stress1_i, stress2_i, stress12_i, shear_i, divu_i, delta_i ) 82 91 ! 83 92 END SELECT … … 85 94 IF( lrst_ice ) THEN !* write EVP fields in the restart file 86 95 IF( ln_rhg_EVP ) CALL rhg_evp_rst( 'WRITE', kt ) 96 IF( ln_rhg_VP ) CALL rhg_lsr_rst( 'WRITE', kt ) 87 97 ENDIF 88 98 ! … … 110 120 INTEGER :: ios, ioptio ! Local integer output status for namelist read 111 121 !! 112 NAMELIST/namdyn_rhg/ ln_rhg_EVP, ln_aEVP, rn_creepl, rn_ecc , nn_nevp, rn_relast, ln_rhg_chkcvg 122 NAMELIST/namdyn_rhg/ ln_rhg_EVP, ln_aEVP, rn_creepl, rn_ecc , nn_nevp, rn_relast, ln_rhg_chkcvg, & 123 & ln_rhg_VP 113 124 !!------------------------------------------------------------------- 114 125 ! … … 133 144 WRITE(numout,*) ' ratio of elastic timescale over ice time step rn_relast = ', rn_relast 134 145 WRITE(numout,*) ' check convergence of rheology ln_rhg_chkcvg = ', ln_rhg_chkcvg 146 WRITE(numout,*) '' 147 WRITE(numout,*) ' rheology VP (icedyn_rhg_lsr) ln_rhg_VP = ', ln_rhg_VP 135 148 ENDIF 136 149 ! … … 139 152 IF( ln_rhg_EVP ) THEN ; ioptio = ioptio + 1 ; nice_rhg = np_rhgEVP ; ENDIF 140 153 !! IF( ln_rhg_EAP ) THEN ; ioptio = ioptio + 1 ; nice_rhg = np_rhgEAP ; ENDIF 154 IF( ln_rhg_VP ) THEN ; ioptio = ioptio + 1 ; nice_rhg = np_rhgVP ; ENDIF 141 155 IF( ioptio /= 1 ) CALL ctl_stop( 'ice_dyn_rhg_init: choose one and only one ice rheology' ) 142 156 ! 143 157 IF( ln_rhg_EVP ) CALL rhg_evp_rst( 'READ' ) !* read or initialize all required files 158 IF( ln_rhg_VP ) CALL rhg_lsr_rst( 'READ' ) !* read or initialize all required files 144 159 ! 145 160 END SUBROUTINE ice_dyn_rhg_init
Note: See TracChangeset
for help on using the changeset viewer.