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 branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/NEMO/TOP_SRC/MY_TRC – NEMO

source: branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/NEMO/TOP_SRC/MY_TRC/trcini_my_trc.F90 @ 7953

Last change on this file since 7953 was 7646, checked in by timgraham, 7 years ago

Merge of dev_merge_2016 into trunk. UPDATE TO ARCHFILES NEEDED for XIOS2.
LIM_SRC_s/limrhg.F90 to follow in next commit due to change of kind (I'm unable to do it in this commit).
Merged using the following steps:

1) svn merge --reintegrate svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk .
2) Resolve minor conflicts in sette.sh and namelist_cfg for ORCA2LIM3 (due to a change in trunk after branch was created)
3) svn commit
4) svn switch svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk
5) svn merge svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/2016/dev_merge_2016 .
6) At this stage I checked out a clean copy of the branch to compare against what is about to be committed to the trunk.
6) svn commit #Commit code to the trunk

In this commit I have also reverted a change to Fcheck_archfile.sh which was causing problems on the Paris machine.

  • Property svn:keywords set to Id
File size: 2.3 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 (2016)
25   !! $Id$
26   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt)
27   !!----------------------------------------------------------------------
28CONTAINS
29
30   SUBROUTINE trc_ini_my_trc
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      !
39      CALL trc_nam_my_trc
40      !
41      !                       ! Allocate MY_TRC arrays
42      IF( trc_sms_my_trc_alloc() /= 0 )   CALL ctl_stop( 'STOP', 'trc_ini_my_trc: unable to allocate MY_TRC arrays' )
43
44      IF(lwp) WRITE(numout,*)
45      IF(lwp) WRITE(numout,*) ' trc_ini_my_trc: passive tracer unit vector'
46      IF(lwp) WRITE(numout,*) ' To check conservation : '
47      IF(lwp) WRITE(numout,*) '   1 - No sea-ice model '
48      IF(lwp) WRITE(numout,*) '   2 - No runoff ' 
49      IF(lwp) WRITE(numout,*) '   3 - precipitation and evaporation equal to 1 : E=P=1 ' 
50      IF(lwp) WRITE(numout,*) ' ~~~~~~~~~~~~~~'
51     
52      IF( .NOT. ln_rsttr ) trn(:,:,:,jp_myt0:jp_myt1) = 1.
53      !
54   END SUBROUTINE trc_ini_my_trc
55
56   !!======================================================================
57END MODULE trcini_my_trc
Note: See TracBrowser for help on using the repository browser.