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 8894 for branches/2015/dev_r5003_MERCATOR6_CRS/NEMOGCM/NEMO/TOP_SRC – NEMO

Ignore:
Timestamp:
2017-12-04T18:06:36+01:00 (6 years ago)
Author:
cbricaud
Message:

crs improvments

Location:
branches/2015/dev_r5003_MERCATOR6_CRS/NEMOGCM/NEMO/TOP_SRC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5003_MERCATOR6_CRS/NEMOGCM/NEMO/TOP_SRC/TRP/trcldf_crs.F90

    r8088 r8894  
    2121   USE ldftra_oce,ONLY: ln_traldf_grif,rn_aht_0,rn_ahtb_0,lk_traldf_eiv     ! lateral diffusion coefficient on tracers 
    2222   USE ldfslp          ! ??? 
    23    USE traldf_bilapg   ! lateral mixing            (tra_ldf_bilapg routine) 
    24    USE traldf_bilap    ! lateral mixing            (tra_ldf_bilap routine) 
    2523   USE traldf_iso_crs      ! lateral mixing            (tra_ldf_iso routine) 
    26    USE traldf_iso_grif ! lateral mixing          (tra_ldf_iso_grif routine) 
    27    USE traldf_lap_crs      ! lateral mixing            (tra_ldf_lap routine) 
    2824   USE trd_oce 
    2925   USE trdtra 
     
    8884      ENDIF 
    8985 
    90 !      WRITE(numout,*) 'nldf', nldf 
    9186      SELECT CASE ( nldf )                       ! compute lateral mixing trend and add it to the general trend 
    92       CASE ( 0 )   ;   CALL tra_ldf_lap_crs   ( kt, nittrc000, 'TRC', gtru, gtrv, trb, tra, jptra            )  ! iso-level laplacian 
    9387      CASE ( 1 )                                                                                            ! rotated laplacian 
    94                        IF( ln_traldf_grif ) THEN 
    95                           CALL tra_ldf_iso_grif( kt, nittrc000, 'TRC', gtru, gtrv, trb, tra, jptra, rn_ahtb_0 ) 
    96                        ELSE 
    97                           CALL tra_ldf_iso_crs     ( kt, nittrc000, 'TRC', gtru ,gtrv , trb, tra, jptra, rn_ahtb_0 ) 
    98                        ENDIF 
    99       CASE ( 2 )   ;   CALL tra_ldf_bilap ( kt, nittrc000, 'TRC', gtru, gtrv, gtrui, gtrvi, trb, tra, jptra            )  ! iso-level bilaplacian 
    100       CASE ( 3 )   ;   CALL tra_ldf_bilapg( kt, nittrc000, 'TRC',             trb, tra, jptra            )  ! s-coord. horizontal bilaplacian 
     88                        CALL tra_ldf_iso_crs     ( kt, nittrc000, 'TRC', gtru ,gtrv , trb, tra, jptra, rn_ahtb_0 ) 
    10189         ! 
    10290      CASE ( -1 )                                     ! esopa: test all possibility with control print 
    103          CALL tra_ldf_lap_crs   ( kt, nittrc000, 'TRC', gtru, gtrv, trb, tra, jptra            ) 
    104          WRITE(charout, FMT="('ldf0 ')") ;  CALL prt_ctl_trc_info(charout) 
    10591                                            CALL prt_ctl_trc( tab4d=tra, mask=tmask, clinfo=ctrcnm, clinfo2='trd' ) 
    106          IF( ln_traldf_grif ) THEN 
    107             CALL tra_ldf_iso_grif( kt, nittrc000, 'TRC', gtru, gtrv, trb, tra, jptra, rn_ahtb_0 ) 
    108          ELSE 
    109             CALL tra_ldf_iso_crs     ( kt, nittrc000, 'TRC', gtru, gtrv, trb, tra, jptra, rn_ahtb_0 ) 
    110          ENDIF 
     92         CALL tra_ldf_iso_crs     ( kt, nittrc000, 'TRC', gtru, gtrv, trb, tra, jptra, rn_ahtb_0 ) 
    11193         WRITE(charout, FMT="('ldf1 ')") ;  CALL prt_ctl_trc_info(charout) 
    112                                             CALL prt_ctl_trc( tab4d=tra, mask=tmask, clinfo=ctrcnm, clinfo2='trd' ) 
    113          CALL tra_ldf_bilap ( kt, nittrc000, 'TRC', gtru, gtrv, gtrui, gtrvi, trb, tra, jptra            ) 
    114          WRITE(charout, FMT="('ldf2 ')") ;  CALL prt_ctl_trc_info(charout) 
    115                                             CALL prt_ctl_trc( tab4d=tra, mask=tmask, clinfo=ctrcnm, clinfo2='trd' ) 
    116          CALL tra_ldf_bilapg( kt, nittrc000, 'TRC',             trb, tra, jptra            ) 
    117          WRITE(charout, FMT="('ldf3 ')") ;  CALL prt_ctl_trc_info(charout) 
    11894                                            CALL prt_ctl_trc( tab4d=tra, mask=tmask, clinfo=ctrcnm, clinfo2='trd' ) 
    11995      END SELECT 
  • branches/2015/dev_r5003_MERCATOR6_CRS/NEMOGCM/NEMO/TOP_SRC/oce_trc.F90

    r8089 r8894  
    6666   USE par_oce , ONLY :   jp_tem   =>   jp_tem     !: indice for temperature 
    6767   USE par_oce , ONLY :   jp_sal   =>   jp_sal     !: indice for salinity 
     68 
     69   USE trc_oce    , ONLY : trc_oce_ext_lev_crs 
    6870 
    6971   !* IO manager * 
     
    142144   USE crs , ONLY :   e2t        =>   e2t_crs        !: horizontal scale factors at t-point (m)    
    143145   USE crs , ONLY :   e1e2t      =>   e1e2t_crs      !: cell surface at t-point (m2) 
     146   USE crs , ONLY :   e1e2w_msk  =>   e1e2w_msk      !: cell surface at t-point (m2) 
    144147   USE crs , ONLY :   e1u        =>   e1u_crs        !: horizontal scale factors at u-point (m) 
    145148   USE crs , ONLY :   e2u        =>   e2u_crs        !: horizontal scale factors at u-point (m) 
     
    342345   USE dom_oce , ONLY :   gdepw_0    =>  gdepw_0         !: f-points (m) 
    343346   USE dom_oce , ONLY :   gdept_1d   => gdept_1d          !: f-points (m) 
     347   USE dom_oce , ONLY :   e3t_1d     => e3t_1d          !: f-points (m) 
    344348   USE dom_oce , ONLY :   tmask      => tmask          !: f-points (m) 
    345349   USE dom_oce , ONLY :   umask      => umask          !: f-points (m) 
  • branches/2015/dev_r5003_MERCATOR6_CRS/NEMOGCM/NEMO/TOP_SRC/trcdia.F90

    r5105 r8894  
    2020   !! trcdib_wr   : outputs of biological fields 
    2121   !!---------------------------------------------------------------------- 
    22    USE trc_oce, ONLY : lk_offline ! offline flag 
     22   USE trc_oce, ONLY : lk_offline,nn_dttrc ! offline flag 
    2323   USE trc 
    2424   USE par_trc 
Note: See TracChangeset for help on using the changeset viewer.