[211] | 1 | MODULE user |
---|
| 2 | |
---|
[1036] | 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 | ! |
---|
[484] | 20 | ! Current revisions: |
---|
[211] | 21 | ! ----------------- |
---|
[226] | 22 | ! |
---|
[211] | 23 | ! |
---|
| 24 | ! Former revisions: |
---|
| 25 | ! ----------------- |
---|
| 26 | ! $Id: user_module.f90 1037 2012-10-22 14:10:22Z hoffmann $ |
---|
| 27 | ! |
---|
[1037] | 28 | ! 1036 2012-10-22 13:43:42Z raasch |
---|
| 29 | ! code put under GPL (PALM 3.9) |
---|
| 30 | ! |
---|
[226] | 31 | ! 220 2008-12-18 07:00:36Z raasch |
---|
| 32 | ! Former file user_interface.f90 split into one file per subroutine, |
---|
| 33 | ! revision history cleaned up |
---|
| 34 | ! |
---|
[211] | 35 | ! 159 2008-04-09 08:06:03Z raasch |
---|
| 36 | ! bugfix in user_read_restart_data |
---|
| 37 | ! small bugfixes for sample code (comments): |
---|
| 38 | ! - initialize ustvst with 0.0 as it is now computed only until nxr and nyn |
---|
| 39 | ! - two ALLOCATE statements moved from user_read_restart_data back to user_init |
---|
| 40 | ! - remove 'READ (13) u2_av' statement in user_read_restart_data |
---|
| 41 | ! +routines user_read_restart_data, user_spectra |
---|
| 42 | ! |
---|
| 43 | ! RCS Log replace by Id keyword, revision history cleaned up |
---|
| 44 | ! |
---|
| 45 | ! Revision 1.18 2006/06/02 15:25:00 raasch |
---|
| 46 | ! +change of grid-defining arguments in routine user_define_netcdf_grid, |
---|
| 47 | ! new argument "found" in user_data_output_2d and user_data_output_3d |
---|
| 48 | ! |
---|
| 49 | ! Revision 1.1 1998/03/24 15:29:04 raasch |
---|
| 50 | ! Initial revision |
---|
| 51 | ! |
---|
| 52 | ! |
---|
| 53 | ! Description: |
---|
| 54 | ! ------------ |
---|
| 55 | ! Declaration of user-defined variables. This module may only be used |
---|
| 56 | ! in the user-defined routines (contained in user_interface.f90). |
---|
| 57 | !------------------------------------------------------------------------------! |
---|
| 58 | |
---|
| 59 | INTEGER :: dots_num_palm, user_idummy |
---|
| 60 | LOGICAL :: user_defined_namelist_found = .FALSE. |
---|
[220] | 61 | REAL :: user_rdummy |
---|
[211] | 62 | |
---|
| 63 | ! |
---|
| 64 | !-- Sample for user-defined output |
---|
| 65 | ! REAL, DIMENSION(:,:,:), ALLOCATABLE :: u2, u2_av |
---|
| 66 | ! REAL, DIMENSION(:,:,:), ALLOCATABLE :: ustvst |
---|
| 67 | |
---|
| 68 | SAVE |
---|
| 69 | |
---|
| 70 | END MODULE user |
---|