source: LMDZ4/branches/LMDZ4V5.0-dev/libf/dyn3d/com_io_dyn_mod.F90 @ 5304

Last change on this file since 5304 was 1357, checked in by Ehouarn Millour, 15 years ago

Some cleanup and fixing the possibility to output fields in the dynamics, on the dynamical grids.

CLEANUPS:

  • arch-PW6_VARGAS.fcm : add potentially benefic compiling options
  • removed obsolete "control.h" in dyn3d/dyn3dpar (module control_mod.F90 is used instead)

OUTPUTS in the dynamics (3 sets of files, one for each grid: scalar, u, v):

  • removed "com_io_dyn.h" common; use module "com_io_dyn_mod.F90" instead
  • updated "initdynav.F","inithist.F","writehist.F" and "writedynav.F" in bibio: which field will be written is hard coded there.
  • flags "ok_dyn_ins" and "ok_dyn_ave" (loaded via conf_gcm.F) trigger output of fields in the dynamics: if ok_dyn_ins is true, then files "dyn_hist.nc", "dyn_histu.nc" and "dyn_histv.nc" are written (the frequency of the outputs is given by 'iecri' in run.def; values are written every 'iecri' dynamical step). if ok_dyn_ave is true then files "dyn_hist_ave.nc", "dyn_histu_ave.nc" and "dyn_histv_ave.nc" are written (the rate at which averages and made/written, in days, is given by 'periodav' in run.def).

EM

File size: 918 bytes
Line 
1!
2! $Id $
3!
4module com_io_dyn_mod
5
6  implicit none
7
8! Names of various files for outputs (in the dynamics)
9  ! to store instantaneous values:
10  character(len=18),parameter :: dynhist_file="dyn_hist.nc" ! on scalar grid
11  character(len=18),parameter :: dynhistv_file="dyn_histv.nc" ! on v grid
12  character(len=18),parameter :: dynhistu_file="dyn_histu.nc" ! on u grid
13
14  ! to store averaged values:
15  character(len=18),parameter :: dynhistave_file="dyn_hist_ave.nc"
16  character(len=18),parameter :: dynhistvave_file="dyn_histv_ave.nc"
17  character(len=18),parameter :: dynhistuave_file="dyn_histu_ave.nc"
18 
19! Ids of various files for outputs (in the dynamics)
20
21  ! instantaneous (these are set by inithist.F)
22  integer :: histid
23  integer :: histvid
24  integer :: histuid
25 
26  ! averages (these are set by initdynav.F)
27  integer :: histaveid
28  integer :: histvaveid
29  integer :: histuaveid
30 
31end module com_io_dyn_mod
Note: See TracBrowser for help on using the repository browser.