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