-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPDAF_print_info.F90
More file actions
84 lines (77 loc) · 2.71 KB
/
PDAF_print_info.F90
File metadata and controls
84 lines (77 loc) · 2.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
! Copyright (c) 2004-2023 Lars Nerger
!
! This file is part of PDAF.
!
! PDAF is free software: you can redistribute it and/or modify
! it under the terms of the GNU Lesser General Public License
! as published by the Free Software Foundation, either version
! 3 of the License, or (at your option) any later version.
!
! PDAF is distributed in the hope that it will be useful,
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU Lesser General Public License for more details.
!
! You should have received a copy of the GNU Lesser General Public
! License along with PDAF. If not, see <http://www.gnu.org/licenses/>.
!
!$Id: PDAF_print_info.F90 1092 2023-02-16 18:44:42Z lnerger $
!BOP
!
! !ROUTINE: PDAF_print_info --- Print information for PDAF (timing and memory) to screen
!
! !INTERFACE:
SUBROUTINE PDAF_print_info(printtype)
! !DESCRIPTION:
! This routine displays the information from PDAF.
! Possible are to display the timing information and
! allocated memory.
!
! ! This is a core routine of PDAF and
! should not be changed by the user !
!
! !REVISION HISTORY:
! 2008-09 - Lars Nerger - Initial code
! Later revisions - see svn log
!
! !USES:
USE PDAF_mod_filter, &
ONLY: filterstr
IMPLICIT NONE
! !ARGUMENTS:
INTEGER, INTENT(inout) :: printtype ! Type of screen output:
! (1) timings, (2) memory
!EOP
! ********************************
! *** Print screen information ***
! ********************************
IF (TRIM(filterstr) == 'SEEK') THEN
CALL PDAF_seek_memtime(printtype)
ELSE IF (TRIM(filterstr) == 'SEIK') THEN
CALL PDAF_seik_memtime(printtype)
ELSE IF (TRIM(filterstr) == 'ENKF') THEN
CALL PDAF_enkf_memtime(printtype)
ELSE IF (TRIM(filterstr) == 'LSEIK') THEN
CALL PDAF_lseik_memtime(printtype)
ELSE IF (TRIM(filterstr) == 'ETKF') THEN
CALL PDAF_etkf_memtime(printtype)
ELSE IF (TRIM(filterstr) == 'LETKF') THEN
CALL PDAF_letkf_memtime(printtype)
ELSE IF (TRIM(filterstr) == 'ESTKF') THEN
CALL PDAF_estkf_memtime(printtype)
ELSE IF (TRIM(filterstr) == 'LESTKF') THEN
CALL PDAF_lestkf_memtime(printtype)
ELSE IF (TRIM(filterstr) == 'LENKF') THEN
CALL PDAF_lenkf_memtime(printtype)
ELSE IF (TRIM(filterstr) == 'NETF') THEN
CALL PDAF_netf_memtime(printtype)
ELSE IF (TRIM(filterstr) == 'LNETF') THEN
CALL PDAF_lnetf_memtime(printtype)
ELSE IF (TRIM(filterstr) == 'LKNETF') THEN
CALL PDAF_lknetf_memtime(printtype)
ELSE IF (TRIM(filterstr) == 'PF') THEN
CALL PDAF_pf_memtime(printtype)
ELSE IF (TRIM(filterstr) == '3DVAR') THEN
CALL PDAF_3dvar_memtime(printtype)
END IF
END SUBROUTINE PDAF_print_info