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

Last change on this file since 15 was 15, checked in by opalod, 20 years ago

CT : UPDATE001 : First major NEMO update

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.4 KB
Line 
1MODULE in_out_manager   
2
3   USE lib_print         ! formated print library
4   USE par_kind
5
6   PUBLIC
7
8   !!----------------------------------------------------------------------
9   !! namelist parameters
10   !! -------------------------------------
11   ! namrun:  parameters of the run
12   CHARACTER (len=16) ::    &   !:
13      cexper = "exp0"           !: experiment name used for output filename
14   
15   LOGICAL ::   &              !!: * namelist namrun *
16      ln_rstart = .FALSE. ,  &  !: start from (F) rest or (T) a restart file
17      ln_ctl    = .FALSE.       !: run control for debugging
18   
19   INTEGER ::                & !!: * namelist namrun *
20      no     = 0        ,    &  !: job number
21      nrstdt = 0        ,    &  !: control of the time step (0, 1 or 2)
22      nit000 = 1        ,    &  !: index of the first time step
23      nitend = 10       ,    &  !: index of the last time step
24      ndate0 = 961115   ,    &  !: initial calendar date aammjj
25      nleapy = 0        ,    &  !: Leap year calendar flag (0/1 or 30)
26      ninist = 0                !: initial state output flag (0/1)
27   !!----------------------------------------------------------------------
28   !!                          Run control 
29   !!----------------------------------------------------------------------
30   
31   INTEGER ::                &  !:
32      nstop = 0 ,            &  !: e r r o r  flag (=number of reason for a
33      !                         !                   prematurely stop the run)
34      nwarn = 0                 !: w a r n i n g  flag (=number of warning
35      !                         !                       found during the run)
36
37   
38   CHARACTER (len=64) ::        &                                                    !:
39      cform_err="(/,' ===>>> : E R R O R',     /,'         ===========',/)"    ,   & !:
40      cform_war="(/,' ===>>> : W A R N I N G', /,'         ===============',/)"      !:
41   !!----------------------------------------------------------------------
42   !! output monitoring
43   !! -----------------------------------
44
45   LOGICAL ::   &               !:
46      lwp                ,   &  !: boolean : true on the 1st processor only
47      l_ctl                     !: = ln_ctl.AND.lwp (print control on the 1st proc)
48
49   INTEGER ::                &  !:
50      nstock = 10 ,          &  !: restart file frequency
51      nprint =  0 ,          &  !: level of print (0 no print)
52      nwrite = 10               !: restart file frequency
53   !!----------------------------------------------------------------------
54   !! logical units
55   !! ------------------------------
56   INTEGER ::                &  !:
57      numstp     =  1 ,      &  !: logical unit for time step
58      numout     =  2 ,      &  !: logical unit for output print
59      numnam     =  3 ,      &  !: logical unit for namelist
60      numnam_ice =  4 ,      &  !: logical unit for ice namelist
61      nummpp     =  8 ,      &  !: logical unit for mpp test print
62      numevo_ice = 17 ,      &  !: logical unit for ice variables (temp. evolution)
63      numsol     = 25 ,      &  !: logical unit for solver statistics
64      numwri     = 40 ,      &  !: logical unit for output write
65      numisp     = 41 ,      &  !: logical unit for island statistics
66      numwrs     = 46 ,      &  !: logical unit for output restart
67      numtdt     = 62 ,      &  !: logical unit for data temperature
68      numsdt     = 63 ,      &  !: logical unit for data salinity
69      numwso     = 71 ,      &  !: logical unit for 2d output write
70      numwvo     = 72 ,      &  !: logical unit for 3d output write
71      numsst     = 65 ,      &  !: logical unit for surface temperature data
72      numgap     = 45 ,      &  !: logical unit for differences diagnostic
73      numbol     = 67 ,      &  !: logical unit for "bol" diagnostics
74      numptr     = 68 ,      &  !: logical unit for Poleward TRansports
75      numflo     = 69 ,      &  !: logical unit for drifting floats
76      !                         !: * coupled units
77      numlhf     = 71 ,      &  !: unit to transfer fluxes
78      numlws     = 72 ,      &  !: unit to transfer stress
79      numlts     = 73 ,      &  !: unit to transfer sst
80      numlic     = 74           !: unit to transfer ice cover
81
82
83   !! Contral/debugging
84   !! -----------------
85   REAL(wp) ::               &  !:
86      u_ctl, v_ctl,          &  !: sum of ua and va trend
87      t_ctl, s_ctl              !: sum of ta and sa trend
88
89END MODULE in_out_manager
Note: See TracBrowser for help on using the repository browser.