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.
in_out_manager.F90 in trunk/NEMO/OPA_SRC – NEMO

source: trunk/NEMO/OPA_SRC/in_out_manager.F90 @ 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: 4.8 KB
Line 
1MODULE in_out_manager   
2
3   USE lib_print         ! formated print library
4   USE par_kind
5   USE par_oce
6
7   PUBLIC
8   !!----------------------------------------------------------------------
9   !!  OPA 9.0 , LOCEAN-IPSL (2005)
10   !! $Header$
11   !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt
12   !!----------------------------------------------------------------------
13
14   !!----------------------------------------------------------------------
15   !! namelist parameters
16   !! -------------------------------------
17   ! namrun:  parameters of the run
18   CHARACTER (len=16) ::    &   !:
19      cexper = "exp0"           !: experiment name used for output filename
20   
21   LOGICAL ::   &              !!: * namelist namrun *
22      ln_rstart = .FALSE. ,  &  !: start from (F) rest or (T) a restart file
23      ln_ctl    = .FALSE.       !: run control for debugging
24   
25   INTEGER ::                & !!: * namelist namrun *
26      no     = 0        ,    &  !: job number
27      nrstdt = 0        ,    &  !: control of the time step (0, 1 or 2)
28      nit000 = 1        ,    &  !: index of the first time step
29      nitend = 10       ,    &  !: index of the last time step
30      ndate0 = 961115   ,    &  !: initial calendar date aammjj
31      nleapy = 0        ,    &  !: Leap year calendar flag (0/1 or 30)
32      ninist = 0        ,    &  !: initial state output flag (0/1)
33      nbench = 0                !: benchmark parameter (0/1)
34   !!----------------------------------------------------------------------
35   !!                          Run control 
36   !!----------------------------------------------------------------------
37   
38   INTEGER ::                &  !:
39      nstop = 0 ,            &  !: e r r o r  flag (=number of reason for a
40      !                         !                   prematurely stop the run)
41      nwarn = 0                 !: w a r n i n g  flag (=number of warning
42      !                         !                       found during the run)
43
44   
45   CHARACTER (len=64) ::        &                                                    !:
46      cform_err="(/,' ===>>> : E R R O R',     /,'         ===========',/)"    ,   & !:
47      cform_war="(/,' ===>>> : W A R N I N G', /,'         ===============',/)"      !:
48   !!----------------------------------------------------------------------
49   !! output monitoring
50   !! -----------------------------------
51
52   LOGICAL ::   &               !:
53      lwp                ,   &  !: boolean : true on the 1st processor only
54      l_ctl                     !: = ln_ctl.AND.lwp (print control on the 1st proc)
55
56   INTEGER ::                &  !:
57      nstock =   10 ,        &  !: restart file frequency
58      nprint =    0 ,        &  !: level of print (0 no print)
59      nwrite =   10 ,        &  !: restart file frequency
60      nictl  = jpim1,        &  !: max i indice for the SUM control
61      njctl  = jpjm1            !: max j indice for the SUM control
62   !!----------------------------------------------------------------------
63   !! logical units
64   !! ------------------------------
65   INTEGER ::                &  !:
66      numstp     =  1 ,      &  !: logical unit for time step
67      numout     =  2 ,      &  !: logical unit for output print
68      numnam     =  3 ,      &  !: logical unit for namelist
69      numnam_ice =  4 ,      &  !: logical unit for ice namelist
70      numevo_ice = 17 ,      &  !: logical unit for ice variables (temp. evolution)
71      numsol     = 25 ,      &  !: logical unit for solver statistics
72      numwri     = 40 ,      &  !: logical unit for output write
73      numisp     = 41 ,      &  !: logical unit for island statistics
74      numgap     = 45 ,      &  !: logical unit for differences diagnostic
75      numwrs     = 46 ,      &  !: logical unit for output restart
76      numtdt     = 62 ,      &  !: logical unit for data temperature
77      numsdt     = 63 ,      &  !: logical unit for data salinity
78      numrnf     = 64 ,      &  !: logical unit for runoff data
79      numwso     = 71 ,      &  !: logical unit for 2d output write
80      numwvo     = 72 ,      &  !: logical unit for 3d output write
81      numsst     = 65 ,      &  !: logical unit for surface temperature data
82      numbol     = 67 ,      &  !: logical unit for "bol" diagnostics
83      numptr     = 68 ,      &  !: logical unit for Poleward TRansports
84      numflo     = 69 ,      &  !: logical unit for drifting floats
85      !                         !: * coupled units
86      numlhf     = 71 ,      &  !: unit to transfer fluxes
87      numlws     = 72 ,      &  !: unit to transfer stress
88      numlts     = 73 ,      &  !: unit to transfer sst
89      numlic     = 74           !: unit to transfer ice cover
90
91
92   !! Contral/debugging
93   !! -----------------
94   REAL(wp) ::               &  !:
95      u_ctl, v_ctl,          &  !: sum of ua and va trend
96      t_ctl, s_ctl              !: sum of ta and sa trend
97
98END MODULE in_out_manager
Note: See TracBrowser for help on using the repository browser.