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.
trclsm.gosac.h in trunk/NEMO/TOP_SRC/SMS – NEMO

source: trunk/NEMO/TOP_SRC/SMS/trclsm.gosac.h @ 247

Last change on this file since 247 was 247, checked in by opalod, 19 years ago

CL : Add CVS Header and CeCILL licence information

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
1
2CCC $Header$ 
3CCC  TOP 1.0 , LOCEAN-IPSL (2005) 
4C This software is governed by CeCILL licence see modipsl/doc/NEMO_CeCILL.txt
5C ---------------------------------------------------------------------------
6CCC $Header$
7CCC
8CCC                       trclsm.cfc.h
9CCC                       ****************
10CCC
11CCC  PURPOSE :
12CCC  ---------
13CCC     READs and PRINT options for cfc  namelist
14
15#if defined key_passivetrc && defined key_gosac
16ckbr
17ckbr
18      INTEGER ji
19      CHARACTER*32 clname
20
21CC
22CCC---------------------------------------------------------------------
23CCC  OPA8, LODYC (15/11/96)
24CCC---------------------------------------------------------------------
25C
26C 0. initializations
27C ------------------
28
29      namelist/coffset/xinitri
30
31      numnat=80
32      clname ='namelist.sms.gosac'
33      OPEN( numnat, FILE= clname, FORM='formatted', STATUS = 'old')
34
35
36      write(numout,*) 'kbrlsm1: '
37C
38C  Namelist traback :
39C
40      READ(numnat,coffset)
41
42      write(numout,*) 'kbrlsm2: '
43      WRITE(numout,*) 'kbrlsm3:xinitri= ', xinitri
44
45      IF(lwp) THEN
46          WRITE(numout,*) ' '
47          WRITE(numout,*) 'coffset'
48          write(numout,coffset)
49          WRITE(numout,*) ' '
50      ENDIF
51
52c
53c
54c    calcul de nit000 et nitend d'apres les informations du namelist
55c    ---------------------------------------------------------------
56c      nan = nint(datedeb/10000.)
57c      itan = nint ( 24.*365.*60.*60. / rdt )
58c      itmoi= nint(((24.*365.*60.*60)/12.)/rdt)
59c
60c      nit000 = ( iannee-nan-1900) * itan
61c     . + imoistart * itmoi +1
62c
63c      nitend  = nit000 + itstep
64c     .    + iyrstep * itan
65c     .    +imoistep * itmoi - 1
66c
67c
68c      WRITE (numout,*) '     '
69c      WRITE (numout,*) 'nit000 = ',nit000,'  nitend=',nitend
70
71#endif
72
73
74
75
76
77
78
79
Note: See TracBrowser for help on using the repository browser.