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 @ 186

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

CL + CE : NEMO TRC_SRC start

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