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

source: trunk/NEMO/TOP_SRC/SMS/trclsm.cfc.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_cfc
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.cfc'
33      OPEN( numnat, FILE= clname, FORM='formatted', STATUS = 'old')
34
35      write(numout,*) 'kbrlsm1: '
36C
37C  Namelist traback :
38C
39      READ(numnat,coffset)
40
41      write(numout,*) 'kbrlsm2: '
42
43      IF(lwp) THEN
44          WRITE(numout,*) ' '
45          WRITE(numout,*) 'coffset'
46          write(numout,coffset)
47          WRITE(numout,*) ' '
48      ENDIF
49
50c
51c
52c    calcul de nit000 et nitend d'apres les informations du namelist
53c    ---------------------------------------------------------------
54c      nan = nint(datedeb/10000.)
55c      itan = nint ( 24.*365.*60.*60. / rdt )
56c      itmoi= nint(((24.*365.*60.*60)/12.)/rdt)
57c
58c      nit000 = ( iannee-nan-1900) * itan
59c     . + imoistart * itmoi +1
60c
61c      nitend  = nit000 + itstep
62c     .    + iyrstep * itan
63c     .    +imoistep * itmoi - 1
64c
65c
66c      WRITE (numout,*) '     '
67c      WRITE (numout,*) 'nit000 = ',nit000,'  nitend=',nitend
68
69#endif
70
71
72
73
74
75
76
77
Note: See TracBrowser for help on using the repository browser.