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 | |
---|---|
|
|
File size: 1.7 KB |
Line | |
---|---|
1 | |
2 | CCC $Header$ |
3 | CCC TOP 1.0 , LOCEAN-IPSL (2005) |
4 | C This software is governed by CeCILL licence see modipsl/doc/NEMO_CeCILL.txt |
5 | C --------------------------------------------------------------------------- |
6 | CCC $Header$ |
7 | CCC |
8 | CCC trclsm.cfc.h |
9 | CCC **************** |
10 | CCC |
11 | CCC PURPOSE : |
12 | CCC --------- |
13 | CCC READs and PRINT options for cfc namelist |
14 | |
15 | #if defined key_passivetrc && defined key_cfc |
16 | ckbr |
17 | ckbr |
18 | INTEGER ji |
19 | CHARACTER*32 clname |
20 | |
21 | CC |
22 | CCC--------------------------------------------------------------------- |
23 | CCC OPA8, LODYC (15/11/96) |
24 | CCC--------------------------------------------------------------------- |
25 | C |
26 | C 0. initializations |
27 | C ------------------ |
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: ' |
36 | C |
37 | C Namelist traback : |
38 | C |
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 | |
50 | c |
51 | c |
52 | c calcul de nit000 et nitend d'apres les informations du namelist |
53 | c --------------------------------------------------------------- |
54 | c nan = nint(datedeb/10000.) |
55 | c itan = nint ( 24.*365.*60.*60. / rdt ) |
56 | c itmoi= nint(((24.*365.*60.*60)/12.)/rdt) |
57 | c |
58 | c nit000 = ( iannee-nan-1900) * itan |
59 | c . + imoistart * itmoi +1 |
60 | c |
61 | c nitend = nit000 + itstep |
62 | c . + iyrstep * itan |
63 | c . +imoistep * itmoi - 1 |
64 | c |
65 | c |
66 | c WRITE (numout,*) ' ' |
67 | c 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.