source: palm/trunk/SOURCE/user_module.f90 @ 1036

Last change on this file since 1036 was 1036, checked in by raasch, 12 years ago

code has been put under the GNU General Public License (v3)

  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1 MODULE user
2
3!--------------------------------------------------------------------------------!
4! This file is part of PALM.
5!
6! PALM is free software: you can redistribute it and/or modify it under the terms
7! of the GNU General Public License as published by the Free Software Foundation,
8! either version 3 of the License, or (at your option) any later version.
9!
10! PALM is distributed in the hope that it will be useful, but WITHOUT ANY
11! WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12! A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
13!
14! You should have received a copy of the GNU General Public License along with
15! PALM. If not, see <http://www.gnu.org/licenses/>.
16!
17! Copyright 1997-2012  Leibniz University Hannover
18!--------------------------------------------------------------------------------!
19!
20! Current revisions:
21! -----------------
22!
23!
24! Former revisions:
25! -----------------
26! $Id: user_module.f90 1036 2012-10-22 13:43:42Z raasch $
27!
28! 220 2008-12-18 07:00:36Z raasch
29! Former file user_interface.f90 split into one file per subroutine,
30! revision history cleaned up
31!
32! 159 2008-04-09 08:06:03Z raasch
33! bugfix in user_read_restart_data
34! small bugfixes for sample code (comments):
35! - initialize ustvst with 0.0 as it is now computed only until nxr and nyn
36! - two ALLOCATE statements moved from user_read_restart_data back to user_init
37! - remove 'READ (13) u2_av' statement in user_read_restart_data
38! +routines user_read_restart_data, user_spectra
39!
40! RCS Log replace by Id keyword, revision history cleaned up
41!
42! Revision 1.18  2006/06/02 15:25:00  raasch
43! +change of grid-defining arguments in routine user_define_netcdf_grid,
44! new argument "found" in user_data_output_2d and user_data_output_3d
45!
46! Revision 1.1  1998/03/24 15:29:04  raasch
47! Initial revision
48!
49!
50! Description:
51! ------------
52! Declaration of user-defined variables. This module may only be used
53! in the user-defined routines (contained in user_interface.f90).
54!------------------------------------------------------------------------------!
55
56    INTEGER ::  dots_num_palm, user_idummy
57    LOGICAL ::  user_defined_namelist_found = .FALSE.
58    REAL    ::  user_rdummy
59
60!
61!-- Sample for user-defined output
62!    REAL, DIMENSION(:,:,:), ALLOCATABLE ::  u2, u2_av
63!    REAL, DIMENSION(:,:,:), ALLOCATABLE ::  ustvst
64
65    SAVE
66
67 END MODULE user
Note: See TracBrowser for help on using the repository browser.