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 2798 for branches/2011/dev_r2784_CMCC1_topbfm/NEMOGCM/NEMO/TOP_SRC/trcstp.F90 – NEMO

Ignore:
Timestamp:
2011-07-11T16:18:18+02:00 (13 years ago)
Author:
vichi
Message:

Added initial coupling with BFM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_r2784_CMCC1_topbfm/NEMOGCM/NEMO/TOP_SRC/trcstp.F90

    r2528 r2798  
    1111   !!---------------------------------------------------------------------- 
    1212   USE oce_trc          ! ocean dynamics and active tracers variables 
     13#if ! defined key_bfm 
    1314   USE trc 
    1415   USE trctrp           ! passive tracers transport 
     
    2021   USE trdmod_trc_oce 
    2122   USE trdmld_trc 
     23#else 
     24   USE api_bfm, ONLY: bio_calc 
     25   USE par_bfm 
     26#ifdef key_obc 
     27   USE trcobcdta_bfm 
     28#endif 
     29#endif 
    2230   USE iom 
    2331   USE in_out_manager 
     
    4957      !!------------------------------------------------------------------- 
    5058 
     59#if defined key_bfm 
     60   !--------------------------------------------- 
     61   ! Check the main BFM flag 
     62   !--------------------------------------------- 
     63      IF (bio_calc) THEN 
     64 
     65                             CALL trc_bfm( kt )           ! main call to BFM 
     66 
     67                             CALL trc_trp_bfm( kt )       ! transport of BFM tracers 
     68 
     69                             CALL trc_dia_bfm( kt )       ! diagnostic output for BFM 
     70      END IF 
     71#else 
     72 
    5173      IF( MOD( kt - 1 , nn_dttrc ) == 0 ) THEN      ! only every nn_dttrc time step 
    5274         ! 
     
    7193         ! 
    7294      ENDIF 
     95#endif 
    7396 
    7497   END SUBROUTINE trc_stp 
Note: See TracChangeset for help on using the changeset viewer.