source: palm/trunk/SOURCE/user_init.f90 @ 219

Last change on this file since 219 was 211, checked in by raasch, 16 years ago

user interface was split into one single file per subroutine

  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1 SUBROUTINE user_init
2
3!------------------------------------------------------------------------------!
4! Actual revisions:
5! -----------------
6! Former file user_interface.f90 split into one file per subroutine
7!
8! Former revisions:
9! -----------------
10! $Id: user_init.f90 211 2008-11-11 04:46:24Z letzel $
11!
12! Description:
13! ------------
14! Execution of user-defined initializing actions
15!------------------------------------------------------------------------------!
16
17    USE control_parameters
18    USE indices
19    USE netcdf_control
20    USE pegrid
21    USE user
22
23    IMPLICIT NONE
24
25    CHARACTER (LEN=20) :: field_char
26!
27!-- Here the user-defined initializing actions follow:
28!-- Sample for user-defined output
29!    ALLOCATE( u2(nzb:nzt+1,nys-1:nyn+1,nxl-1:nxr+1) )
30!    ALLOCATE( ustvst(nzb:nzt+1,nys-1:nyn+1,nxl-1:nxr+1) );  ustvst = 0.0
31
32!-- Sample for user-defined time series
33!-- For each time series quantity you have to give a label and a unit,
34!-- which will be used for the NetCDF file. They must not contain more than
35!-- seven characters. The value of dots_num has to be increased by the
36!-- number of new time series quantities. Its old value has to be store in
37!-- dots_num_palm. See routine user_statistics on how to output calculate
38!-- and output these quantities.
39!    dots_label(dots_num+1) = 'abs_umx'
40!    dots_unit(dots_num+1)  = 'm/s'
41!    dots_label(dots_num+2) = 'abs_vmx'
42!    dots_unit(dots_num+2)  = 'm/s'
43!
44!    dots_num_palm = dots_num
45!    dots_num = dots_num + 2
46
47 END SUBROUTINE user_init
48
Note: See TracBrowser for help on using the repository browser.