source: palm/trunk/SOURCE/user_init_urban_surface.f90 @ 3499

Last change on this file since 3499 was 2718, checked in by maronga, 7 years ago

deleting of deprecated files; headers updated where needed

  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1!> @file user_init_urban_surface.f90
2!------------------------------------------------------------------------------!
3! This file is part of the PALM model system.
4!
5! PALM is free software: you can redistribute it and/or modify it under the
6! terms of the GNU General Public License as published by the Free Software
7! Foundation, either version 3 of the License, or (at your option) any later
8! 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 2015 Czech Technical University in Prague
18! Copyright 1997-2018 Leibniz Universitaet Hannover
19!--------------------------------------------------------------------------------!
20!
21! Current revisions:
22! -----------------
23!
24!
25! Former revisions:
26! -----------------
27! $Id: user_init_urban_surface.f90 2718 2018-01-02 08:49:38Z suehring $
28! Corrected "Former revisions" section
29!
30! 2696 2017-12-14 17:12:51Z kanani
31! Change in file header (GPL part)
32!
33! 2233 2017-05-30 18:08:54Z suehring
34!
35! 2232 2017-05-30 17:47:52Z suehring
36! Load surface_mod
37! Add simple example how to access surface data type
38!
39! 2011 2016-09-19 17:29:57Z kanani
40! Flag urban_surface is now defined in module control_parameters.
41!
42! 2007 2016-08-24 15:47:17Z kanani
43! Initial revision
44!
45!
46! Description:
47! ------------
48!> Execution of user-defined actions to initiate the urban surface model
49!------------------------------------------------------------------------------!
50 SUBROUTINE user_init_urban_surface
51
52    USE arrays_3d
53   
54    USE control_parameters,                                                    &
55        ONLY:  urban_surface
56   
57    USE indices
58   
59    USE kinds
60
61    USE urban_surface_mod
62
63    USE surface_mod   
64   
65    USE user
66
67    IMPLICIT NONE
68
69    INTEGER(iwp) ::  i  !< grid index
70    INTEGER(iwp) ::  j  !< grid index
71    INTEGER(iwp) ::  m  !< running index on 1D wall-type grid
72
73!
74!-- Here the user-defined urban surface initialization actions follow.
75!-- Example: set roughness length at urban surface
76!     DO  m = 1, surf_usm_h%ns
77!        surf_usm_h%z0(m) = 0.1_wp
78!     ENDDO
79
80
81
82 END SUBROUTINE user_init_urban_surface
83
Note: See TracBrowser for help on using the repository browser.