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.
trcice.F90 in branches/2015/dev_r5171_CNRS_LIM3_seaicebgc/NEMOGCM/NEMO/TOP_SRC – NEMO

source: branches/2015/dev_r5171_CNRS_LIM3_seaicebgc/NEMOGCM/NEMO/TOP_SRC/trcice.F90 @ 5325

Last change on this file since 5325 was 5325, checked in by aumont, 9 years ago

various bugfixes and code changes

File size: 3.3 KB
Line 
1MODULE trcice
2   !!======================================================================
3   !!                         ***  MODULE trcice  ***
4   !! TOP :   Manage the communication between TOP and sea ice
5   !!======================================================================
6   !! History :  3.5  ! 2013    (M. Vancoppenolle, O. Aumont, G. Madec), original code
7   !!----------------------------------------------------------------------
8#if defined key_top
9   !!----------------------------------------------------------------------
10   !!   'key_top'                                                TOP models
11   !!----------------------------------------------------------------------
12   !!   trc_ice   :  Call the appropriate sea ice tracer subroutine
13   !!----------------------------------------------------------------------
14
15   USE oce_trc         ! shared variables between ocean and passive tracers
16   USE trc             ! passive tracers common variables
17!  USE trcrst          ! passive tracers restart
18!  USE trcice_cfc      ! CFC      initialisation
19   USE trcice_pisces   ! PISCES   initialisation
20!  USE trcice_c14b     ! C14 bomb initialisation
21!  USE trcice_my_trc   ! MY_TRC   initialisation
22!  USE trcdta          ! initialisation form files
23!  USE daymod          ! calendar manager
24!  USE zpshde          ! partial step: hor. derivative   (zps_hde routine)
25!  USE prtctl_trc      ! Print control passive tracers (prt_ctl_trc_init routine)
26!  USE trcsub       ! variables to substep passive tracers
27!  USE in_out_manager 
28   
29   IMPLICIT NONE
30   PRIVATE
31   
32   PUBLIC   trc_ice_ini ! called by trc_nam
33
34CONTAINS
35   
36   SUBROUTINE trc_ice_ini
37      !!---------------------------------------------------------------------
38      !!                     ***  ROUTINE trc_ice_ini ***
39      !!
40      !! ** Purpose :   Initialization of the ice module for tracers
41      !!
42      !! ** Method  : -
43      !!           
44      !!---------------------------------------------------------------------
45      ! --- Variable declarations --- !
46
47      IF(lwp) THEN
48         WRITE(numout,*)
49         WRITE(numout,*) 'trc_ice_ini : Initialize sea ice tracer boundary condition'
50         WRITE(numout,*) '~~~~~~~~~~~~~'
51      ENDIF
52
53      IF( nn_timing == 1 )  CALL timing_start('trc_ice_ini')
54
55      !
56      trc_i(:,:,:) = 0.0d0 ! by default
57      trc_o(:,:,:) = 0.0d0 ! by default
58
59      IF ( nn_ice_tr == 1 ) THEN
60         IF( lk_pisces  )       CALL trc_ice_ini_pisces       ! PISCES  bio-model
61         ! to be written
62         !IF( lk_cfc     )       CALL trc_ice_ini_cfc          ! CFC     tracers
63         !IF( lk_c14b    )       CALL trc_ice_ini_c14b         ! C14 bomb  tracer
64         !IF( lk_my_trc  )       CALL trc_ice_ini_my_trc       ! MY_TRC  tracers
65      ENDIF
66
67      IF( nn_timing == 1 )   CALL timing_stop('trc_ice_ini')
68      !
69   END SUBROUTINE trc_ice_ini
70
71#else
72   !!----------------------------------------------------------------------
73   !!  Empty module :                                     No passive tracer
74   !!----------------------------------------------------------------------
75CONTAINS
76   SUBROUTINE trc_ice_ini                   ! Dummy routine   
77   END SUBROUTINE trc_ice_ini
78#endif
79
80   !!======================================================================
81END MODULE trcice
Note: See TracBrowser for help on using the repository browser.