source: palm/trunk/SOURCE/local_tremain_ini.f90 @ 4835

Last change on this file since 4835 was 4828, checked in by Giersch, 4 years ago

Copyright updated to year 2021, interface pmc_sort removed to accelarate the nesting code

  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1!> @file local_tremain_ini.f90
2!--------------------------------------------------------------------------------------------------!
3! This file is part of the PALM model system.
4!
5! PALM is free software: you can redistribute it and/or modify it under the terms of the GNU General
6! Public License as published by the Free Software Foundation, either version 3 of the License, or
7! (at your option) any later version.
8!
9! PALM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
10! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
11! Public License for more details.
12!
13! You should have received a copy of the GNU General Public License along with PALM. If not, see
14! <http://www.gnu.org/licenses/>.
15!
16! Copyright 1997-2021 Leibniz Universitaet Hannover
17!--------------------------------------------------------------------------------------------------!
18!
19! Current revisions:
20! -----------------
21!
22!
23! Former revisions:
24! -----------------
25! $Id: local_tremain_ini.f90 4828 2021-01-05 11:21:41Z raasch $
26! file re-formatted to follow the PALM coding standard
27!
28! 4360 2020-01-07 11:25:50Z suehring
29! Corrected "Former revisions" section
30!
31! 3655 2019-01-07 16:51:22Z knoop
32! Corrected "Former revisions" section
33!
34! Revision 1.1  1998/03/18 20:15:05  raasch
35! Initial revision
36!
37!
38! Description:
39! ------------
40!> Initialization of CPU-time measurements for different operating systems
41!--------------------------------------------------------------------------------------------------!
42 SUBROUTINE local_tremain_ini
43
44
45    USE cpulog,                                                                                    &
46        ONLY:  initial_wallclock_time
47
48    USE kinds
49
50    IMPLICIT NONE
51
52    INTEGER(idp)     ::  count      !<
53    INTEGER(idp)     ::  count_rate !<
54
55!
56!-- Get initial wall clock time
57    CALL SYSTEM_CLOCK( count, count_rate )
58    initial_wallclock_time = REAL( count, KIND=wp ) / REAL( count_rate, KIND=wp )
59
60 END SUBROUTINE local_tremain_ini
Note: See TracBrowser for help on using the repository browser.