source: palm/trunk/SOURCE/user_init_land_surface.f90 @ 2232

Last change on this file since 2232 was 2232, checked in by suehring, 7 years ago

Adjustments according new topography and surface-modelling concept implemented

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