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.
trcini_my_trc.F90 in NEMO/trunk/src/TOP/MY_TRC – NEMO

source: NEMO/trunk/src/TOP/MY_TRC/trcini_my_trc.F90 @ 12377

Last change on this file since 12377 was 12377, checked in by acc, 4 years ago

The big one. Merging all 2019 developments from the option 1 branch back onto the trunk.

This changeset reproduces 2019/dev_r11943_MERGE_2019 on the trunk using a 2-URL merge
onto a working copy of the trunk. I.e.:

svn merge --ignore-ancestry \

svn+ssh://acc@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/NEMO/trunk \
svn+ssh://acc@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/NEMO/branches/2019/dev_r11943_MERGE_2019 ./

The --ignore-ancestry flag avoids problems that may otherwise arise from the fact that
the merge history been trunk and branch may have been applied in a different order but
care has been taken before this step to ensure that all applicable fixes and updates
are present in the merge branch.

The trunk state just before this step has been branched to releases/release-4.0-HEAD
and that branch has been immediately tagged as releases/release-4.0.2. Any fixes
or additions in response to tickets on 4.0, 4.0.1 or 4.0.2 should be done on
releases/release-4.0-HEAD. From now on future 'point' releases (e.g. 4.0.2) will
remain unchanged with periodic releases as needs demand. Note release-4.0-HEAD is a
transitional naming convention. Future full releases, say 4.2, will have a release-4.2
branch which fulfills this role and the first point release (e.g. 4.2.0) will be made
immediately following the release branch creation.

2020 developments can be started from any trunk revision later than this one.

  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
1MODULE trcini_my_trc
2   !!======================================================================
3   !!                         ***  MODULE trcini_my_trc  ***
4   !! TOP :   initialisation of the MY_TRC tracers
5   !!======================================================================
6   !! History :        !  2007  (C. Ethe, G. Madec) Original code
7   !!                  !  2016  (C. Ethe, T. Lovato) Revised architecture
8   !!----------------------------------------------------------------------
9   !! trc_ini_my_trc   : MY_TRC model initialisation
10   !!----------------------------------------------------------------------
11   USE par_trc         ! TOP parameters
12   USE oce_trc
13   USE trc
14   USE par_my_trc
15   USE trcnam_my_trc     ! MY_TRC SMS namelist
16   USE trcsms_my_trc
17
18   IMPLICIT NONE
19   PRIVATE
20
21   PUBLIC   trc_ini_my_trc   ! called by trcini.F90 module
22
23   !!----------------------------------------------------------------------
24   !! NEMO/TOP 4.0 , NEMO Consortium (2018)
25   !! $Id$
26   !! Software governed by the CeCILL license (see ./LICENSE)
27   !!----------------------------------------------------------------------
28CONTAINS
29
30   SUBROUTINE trc_ini_my_trc( Kmm )
31      !!----------------------------------------------------------------------
32      !!                     ***  trc_ini_my_trc  *** 
33      !!
34      !! ** Purpose :   initialization for MY_TRC model
35      !!
36      !! ** Method  : - Read the namcfc namelist and check the parameter values
37      !!----------------------------------------------------------------------
38      INTEGER, INTENT(in) ::   Kmm  ! time level indices
39      !
40      CALL trc_nam_my_trc
41      !
42      !                       ! Allocate MY_TRC arrays
43      IF( trc_sms_my_trc_alloc() /= 0 )   CALL ctl_stop( 'STOP', 'trc_ini_my_trc: unable to allocate MY_TRC arrays' )
44
45      IF(lwp) WRITE(numout,*)
46      IF(lwp) WRITE(numout,*) ' trc_ini_my_trc: passive tracer unit vector'
47      IF(lwp) WRITE(numout,*) ' To check conservation : '
48      IF(lwp) WRITE(numout,*) '   1 - No sea-ice model '
49      IF(lwp) WRITE(numout,*) '   2 - No runoff ' 
50      IF(lwp) WRITE(numout,*) '   3 - precipitation and evaporation equal to 1 : E=P=1 ' 
51      IF(lwp) WRITE(numout,*) ' ~~~~~~~~~~~~~~'
52     
53      IF( .NOT. ln_rsttr ) tr(:,:,:,jp_myt0:jp_myt1,Kmm) = 1.
54      !
55   END SUBROUTINE trc_ini_my_trc
56
57   !!======================================================================
58END MODULE trcini_my_trc
Note: See TracBrowser for help on using the repository browser.