1 | !> @file user_init_land_surface.f90 |
---|
2 | !------------------------------------------------------------------------------! |
---|
3 | ! This file is part of PALM. |
---|
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 1997-2017 Leibniz Universitaet Hannover |
---|
18 | !------------------------------------------------------------------------------! |
---|
19 | ! |
---|
20 | ! Current revisions: |
---|
21 | ! ----------------- |
---|
22 | ! |
---|
23 | ! |
---|
24 | ! Former revisions: |
---|
25 | ! ----------------- |
---|
26 | ! $Id: user_init_land_surface.f90 2233 2017-05-30 18:08:54Z kanani $ |
---|
27 | |
---|
28 | ! 2232 2017-05-30 17:47:52Z suehring |
---|
29 | ! Load surface_mod |
---|
30 | ! Add simple example how to access surface data type |
---|
31 | ! |
---|
32 | ! 2000 2016-08-20 18:09:15Z knoop |
---|
33 | ! Forced header and separation lines into 80 columns |
---|
34 | ! |
---|
35 | ! 1972 2016-07-26 07:52:02Z maronga |
---|
36 | ! Update of use statements |
---|
37 | ! |
---|
38 | ! 1682 2015-10-07 23:56:08Z knoop |
---|
39 | ! Code annotations made doxygen readable |
---|
40 | ! |
---|
41 | ! 1585 2015-04-30 07:05:52Z maronga |
---|
42 | ! Changed description text |
---|
43 | ! |
---|
44 | ! 1496 2014-12-02 17:25:50Z maronga |
---|
45 | ! Initial revision |
---|
46 | ! |
---|
47 | ! Description: |
---|
48 | ! ------------ |
---|
49 | !> Execution of user-defined actions to initiate the land surface model |
---|
50 | !------------------------------------------------------------------------------! |
---|
51 | SUBROUTINE user_init_land_surface |
---|
52 | |
---|
53 | |
---|
54 | USE control_parameters |
---|
55 | |
---|
56 | USE indices |
---|
57 | |
---|
58 | USE kinds |
---|
59 | |
---|
60 | USE land_surface_model_mod |
---|
61 | |
---|
62 | USE netcdf_interface, & |
---|
63 | ONLY: dots_label, dots_unit, dots_num |
---|
64 | |
---|
65 | USE pegrid |
---|
66 | |
---|
67 | USE surface_mod |
---|
68 | |
---|
69 | USE user |
---|
70 | |
---|
71 | IMPLICIT NONE |
---|
72 | |
---|
73 | INTEGER(iwp) :: i !< grid index |
---|
74 | INTEGER(iwp) :: j !< grid index |
---|
75 | INTEGER(iwp) :: m !< running index on 1D wall-type grid |
---|
76 | |
---|
77 | ! |
---|
78 | !-- Here the user-defined land surface initialization actions follow. |
---|
79 | !-- Example: set roughness length at natural land-surface |
---|
80 | ! DO m = 1, surf_lsm_h%ns |
---|
81 | ! surf_lsm_h%z0(m) = 0.1_wp |
---|
82 | ! ENDDO |
---|
83 | |
---|
84 | |
---|
85 | END SUBROUTINE user_init_land_surface |
---|
86 | |
---|