Changeset 14644 for NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/src/OCE/DYN/dynspg.F90
- Timestamp:
- 2021-03-26T15:33:49+01:00 (3 years ago)
- Location:
- NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final
- Property svn:externals
-
old new 9 9 10 10 # SETTE 11 ^/utils/CI/sette _wave@13990sette11 ^/utils/CI/sette@14244 sette
-
- Property svn:externals
-
NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/src/OCE/DYN/dynspg.F90
r14219 r14644 58 58 CONTAINS 59 59 60 SUBROUTINE dyn_spg( kt, Kbb, Kmm, Krhs, puu, pvv, pssh, puu_b, pvv_b, Kaa )60 SUBROUTINE dyn_spg( kt, Kbb, Kmm, Krhs, puu, pvv, pssh, puu_b, pvv_b, Kaa, k_only_ADV ) 61 61 !!---------------------------------------------------------------------- 62 62 !! *** ROUTINE dyn_spg *** … … 81 81 REAL(dp), DIMENSION(jpi,jpj,jpt) , INTENT(inout) :: pssh ! SSH 82 82 REAL(wp), DIMENSION(jpi,jpj,jpt) , INTENT(inout) :: puu_b, pvv_b !barotropic velocities at main time levels 83 INTEGER , OPTIONAL , INTENT( in ) :: k_only_ADV ! only Advection in the RHS 83 84 ! 84 85 INTEGER :: ji, jj, jk ! dummy loop indices … … 99 100 IF( ln_apr_dyn & ! atmos. pressure 100 101 .OR. ( .NOT.ln_dynspg_ts .AND. (ln_tide_pot .AND. ln_tide) ) & ! tide potential (no time slitting) 101 .OR. ln_ice_embd ) THEN ! embedded sea-ice 102 .OR. ln_ice_embd & ! embedded sea-ice 103 .OR. ( ln_wave .and. ln_bern_srfc ) ) THEN ! depth-independent Bernoulli head 102 104 ! 103 105 DO_2D( 0, 0, 0, 0 ) … … 167 169 SELECT CASE ( nspg ) !== surface pressure gradient computed and add to the general trend ==! 168 170 CASE ( np_EXP ) ; CALL dyn_spg_exp( kt, Kmm, puu, pvv, Krhs ) ! explicit 169 CASE ( np_TS ) ; CALL dyn_spg_ts ( kt, Kbb, Kmm, Krhs, puu, pvv, pssh, puu_b, pvv_b, Kaa ) ! time-splitting171 CASE ( np_TS ) ; CALL dyn_spg_ts ( kt, Kbb, Kmm, Krhs, puu, pvv, pssh, puu_b, pvv_b, Kaa, k_only_ADV ) ! time-splitting 170 172 END SELECT 171 173 !
Note: See TracChangeset
for help on using the changeset viewer.