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

Last change on this file since 3819 was 3768, checked in by raasch, 6 years ago

variables commented out + statement added to avoid compiler warnings about unused variables

  • Property svn:keywords set to Id
File size: 2.4 KB
RevLine 
[2007]1!> @file user_init_urban_surface.f90
[2696]2!------------------------------------------------------------------------------!
3! This file is part of the PALM model system.
[2007]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
[3655]18! Copyright 1997-2019 Leibniz Universitaet Hannover
[2007]19!--------------------------------------------------------------------------------!
20!
21! Current revisions:
22! -----------------
[2008]23!
[2233]24!
[2007]25! Former revisions:
26! -----------------
27! $Id: user_init_urban_surface.f90 3768 2019-02-27 14:35:58Z hellstea $
[3768]28! unused variables commented out to avoid compiler warnings
29!
30! 3655 2019-01-07 16:51:22Z knoop
[2716]31! Corrected "Former revisions" section
32!
33! 2696 2017-12-14 17:12:51Z kanani
34! Change in file header (GPL part)
[2007]35!
[2716]36! 2233 2017-05-30 18:08:54Z suehring
37!
[2233]38! 2232 2017-05-30 17:47:52Z suehring
39! Load surface_mod
40! Add simple example how to access surface data type
41!
[2012]42! 2011 2016-09-19 17:29:57Z kanani
43! Flag urban_surface is now defined in module control_parameters.
44!
[2008]45! 2007 2016-08-24 15:47:17Z kanani
46! Initial revision
[2007]47!
[2008]48!
[2007]49! Description:
50! ------------
51!> Execution of user-defined actions to initiate the urban surface model
52!------------------------------------------------------------------------------!
53 SUBROUTINE user_init_urban_surface
54
55    USE arrays_3d
56   
[3768]57!    USE control_parameters,                                                    &
58!        ONLY:  urban_surface
[2007]59   
60    USE indices
61   
62    USE kinds
63
64    USE urban_surface_mod
[2232]65
66    USE surface_mod   
[2007]67   
68    USE user
69
70    IMPLICIT NONE
71
[3768]72!    INTEGER(iwp) ::  i  !< grid index
73!    INTEGER(iwp) ::  j  !< grid index
74!    INTEGER(iwp) ::  m  !< running index on 1D wall-type grid
[2007]75
76!
[2232]77!-- Here the user-defined urban surface initialization actions follow.
78!-- Example: set roughness length at urban surface
79!     DO  m = 1, surf_usm_h%ns
80!        surf_usm_h%z0(m) = 0.1_wp
81!     ENDDO
[2007]82
83
84
85 END SUBROUTINE user_init_urban_surface
86
Note: See TracBrowser for help on using the repository browser.