[1682] | 1 | !> @file local_tremain_ini.f90 |
---|
[4677] | 2 | !--------------------------------------------------------------------------------------------------! |
---|
[2696] | 3 | ! This file is part of the PALM model system. |
---|
[1036] | 4 | ! |
---|
[4677] | 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. |
---|
[1036] | 8 | ! |
---|
[4677] | 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. |
---|
[1036] | 12 | ! |
---|
[4677] | 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/>. |
---|
[1036] | 15 | ! |
---|
[4828] | 16 | ! Copyright 1997-2021 Leibniz Universitaet Hannover |
---|
[4677] | 17 | !--------------------------------------------------------------------------------------------------! |
---|
[1036] | 18 | ! |
---|
[484] | 19 | ! Current revisions: |
---|
[1] | 20 | ! ----------------- |
---|
[4677] | 21 | ! |
---|
| 22 | ! |
---|
[1321] | 23 | ! Former revisions: |
---|
| 24 | ! ----------------- |
---|
| 25 | ! $Id: local_tremain_ini.f90 4828 2021-01-05 11:21:41Z hellstea $ |
---|
[4677] | 26 | ! file re-formatted to follow the PALM coding standard |
---|
| 27 | ! |
---|
| 28 | ! 4360 2020-01-07 11:25:50Z suehring |
---|
[2716] | 29 | ! Corrected "Former revisions" section |
---|
[4677] | 30 | ! |
---|
[4182] | 31 | ! 3655 2019-01-07 16:51:22Z knoop |
---|
| 32 | ! Corrected "Former revisions" section |
---|
[1321] | 33 | ! |
---|
[4182] | 34 | ! Revision 1.1 1998/03/18 20:15:05 raasch |
---|
| 35 | ! Initial revision |
---|
| 36 | ! |
---|
| 37 | ! |
---|
[1] | 38 | ! Description: |
---|
| 39 | ! ------------ |
---|
[1682] | 40 | !> Initialization of CPU-time measurements for different operating systems |
---|
[4677] | 41 | !--------------------------------------------------------------------------------------------------! |
---|
[1682] | 42 | SUBROUTINE local_tremain_ini |
---|
[4677] | 43 | |
---|
| 44 | |
---|
| 45 | USE cpulog, & |
---|
[1320] | 46 | ONLY: initial_wallclock_time |
---|
[4677] | 47 | |
---|
[1320] | 48 | USE kinds |
---|
[1] | 49 | |
---|
| 50 | IMPLICIT NONE |
---|
| 51 | |
---|
[1682] | 52 | INTEGER(idp) :: count !< |
---|
| 53 | INTEGER(idp) :: count_rate !< |
---|
[1] | 54 | |
---|
| 55 | ! |
---|
| 56 | !-- Get initial wall clock time |
---|
| 57 | CALL SYSTEM_CLOCK( count, count_rate ) |
---|
[1322] | 58 | initial_wallclock_time = REAL( count, KIND=wp ) / REAL( count_rate, KIND=wp ) |
---|
[1] | 59 | |
---|
| 60 | END SUBROUTINE local_tremain_ini |
---|