[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 4182 2019-08-22 15:20:23Z banzhafs $ |
---|
[4182] | 28 | ! Corrected "Former revisions" section |
---|
| 29 | ! |
---|
| 30 | ! 3768 2019-02-27 14:35:58Z raasch |
---|
[3768] | 31 | ! unused variables commented out to avoid compiler warnings |
---|
| 32 | ! |
---|
| 33 | ! 3655 2019-01-07 16:51:22Z knoop |
---|
[2716] | 34 | ! Corrected "Former revisions" section |
---|
| 35 | ! |
---|
[4182] | 36 | ! 2007 2016-08-24 15:47:17Z kanani |
---|
| 37 | ! Initial revision |
---|
[2007] | 38 | ! |
---|
[4182] | 39 | ! |
---|
[2007] | 40 | ! Description: |
---|
| 41 | ! ------------ |
---|
| 42 | !> Execution of user-defined actions to initiate the urban surface model |
---|
| 43 | !------------------------------------------------------------------------------! |
---|
| 44 | SUBROUTINE user_init_urban_surface |
---|
| 45 | |
---|
| 46 | USE arrays_3d |
---|
| 47 | |
---|
[3768] | 48 | ! USE control_parameters, & |
---|
| 49 | ! ONLY: urban_surface |
---|
[2007] | 50 | |
---|
| 51 | USE indices |
---|
| 52 | |
---|
| 53 | USE kinds |
---|
| 54 | |
---|
| 55 | USE urban_surface_mod |
---|
[2232] | 56 | |
---|
| 57 | USE surface_mod |
---|
[2007] | 58 | |
---|
| 59 | USE user |
---|
| 60 | |
---|
| 61 | IMPLICIT NONE |
---|
| 62 | |
---|
[3768] | 63 | ! INTEGER(iwp) :: i !< grid index |
---|
| 64 | ! INTEGER(iwp) :: j !< grid index |
---|
| 65 | ! INTEGER(iwp) :: m !< running index on 1D wall-type grid |
---|
[2007] | 66 | |
---|
| 67 | ! |
---|
[2232] | 68 | !-- Here the user-defined urban surface initialization actions follow. |
---|
| 69 | !-- Example: set roughness length at urban surface |
---|
| 70 | ! DO m = 1, surf_usm_h%ns |
---|
| 71 | ! surf_usm_h%z0(m) = 0.1_wp |
---|
| 72 | ! ENDDO |
---|
[2007] | 73 | |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | END SUBROUTINE user_init_urban_surface |
---|
| 77 | |
---|