FLASH-X
Doxygen Generated Documentation From Interface Source Code
Logfile_interface.F90
Go to the documentation of this file.
1!! NOTICE
2!! Copyright 2022 UChicago Argonne, LLC and contributors
3!!
4!! Licensed under the Apache License, Version 2.0 (the "License");
5!! you may not use this file except in compliance with the License.
6!!
7!! Unless required by applicable law or agreed to in writing, software
8!! distributed under the License is distributed on an "AS IS" BASIS,
9!! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10!! See the License for the specific language governing permissions and
11!! limitations under the License.
12!!
13!! This is the header file for the Logfile module
14!! that defines its public interfaces.
16
17 implicit none
18
19#include "Simulation.h"
20#include "constants.h"
21
22 interface
23 subroutine Logfile_break ( char)
24 character(len=1), intent(in) :: char
25 end subroutine Logfile_break
26 end interface
27
28 interface
29 subroutine Logfile_close(logUnitLocal)
30 logical,optional,intent(IN) :: logUnitLocal
31 end subroutine Logfile_close
32 end interface
33
34 interface
35 subroutine Logfile_create ()
36 end subroutine Logfile_create
37 end interface
38
39 interface
40 subroutine Logfile_finalize()
41 end subroutine Logfile_finalize
42 end interface
43
44 interface
45 subroutine Logfile_getDateTimeStr(dateTimeStr)
46 implicit none
47 character(len=28), intent(OUT) :: dateTimeStr
48 end subroutine Logfile_getDateTimeStr
49 end interface
50
51 interface
52 subroutine Logfile_init()
53 end subroutine Logfile_init
54 end interface
55
56 interface
57 subroutine Logfile_open(logUnit,logUnitLocal)
58 integer,intent(OUT) :: logUnit
59 logical,intent(IN) :: logUnitLocal
60 end subroutine Logfile_open
61 end interface
62
63 interface Logfile_stamp
64 subroutine Logfile_stampInt(intVal, tag, attrib)
65 integer, intent(in) :: intVal
66 character(len=*), intent(in) :: tag
67 character(len=*), intent(in), OPTIONAL :: attrib
68 end subroutine Logfile_stampInt
69
70 subroutine Logfile_stampIntArray( intArr, len, tag, attrib)
71 character(len=*),intent(in) :: tag
72 character(len=*), intent(in),OPTIONAL :: attrib
73 integer,intent(in) :: len
74 integer, dimension(len), intent(in) :: intArr
75 end subroutine Logfile_stampIntArray
76
77 subroutine Logfile_stampReal( realVal, tag, attrib)
78 real, intent(in) :: realVal
79 character(len=*), intent(in) :: tag
80 character(len=*), intent(in), OPTIONAL :: attrib
81 end subroutine Logfile_stampReal
82
83 subroutine Logfile_stampRealArray( realArr, len, tag, attrib)
84 character(len=*),intent(in) :: tag
85 character(len=*), intent(in), OPTIONAL :: attrib
86 integer,intent(in) :: len
87 real, dimension(len),intent(in) :: realArr
88 end subroutine Logfile_stampRealArray
89
90 subroutine Logfile_stampStr( string, tag, attrib)
91 character(len=*), intent(in) :: string
92 character(len=*), intent(in), OPTIONAL :: tag, attrib
93 end subroutine Logfile_stampStr
94
95 subroutine Logfile_stampStrArray( strArr, len, tag, attrib)
96 character(len=*), intent(in) :: tag
97 character(len=*), intent(in), OPTIONAL :: attrib
98 integer,intent(in) :: len
99 character(len=*), dimension(len),intent(in) :: strArr
100 end subroutine Logfile_stampStrArray
101
102 subroutine Logfile_stampStrPair( strArr, len, dimen, tag, attrib)
103 character(len=*),intent(in) :: tag
104 character(len=*),intent(in), OPTIONAL :: attrib
105 integer,intent(in) :: len, dimen
106 character(len=*),dimension(len,dimen),intent(in) :: strArr
107 end subroutine Logfile_stampStrPair
108 end interface
109
110 interface
111 subroutine Logfile_stampMessage( string,force)
112 character(len=*), intent(in) :: string
113 logical, intent(in), optional :: force
114 end subroutine Logfile_stampMessage
115 end interface
116
117 interface
118 subroutine Logfile_stampVarMask(unkVarMask, willCallEos, tag, maskTag)
119 logical, intent(in) :: unkVarMask(:)
120 logical, intent(in) :: willCallEos
121 character(len=*),intent(in) :: tag, maskTag
122 end subroutine Logfile_stampVarMask
123 end interface
124
125 interface
126 subroutine Logfile_writeSummary(strArr, length, dim, strLen, numHeaders,reduced,separateFiles)
127 integer, intent(in) :: length, dim, strLen, numHeaders
128 character(len=MAX_STRING_LENGTH), dimension(length,dim), intent(in) :: strArr
129 logical, optional, intent(IN) :: reduced
130 logical, optional, intent(IN) :: separateFiles
131 end subroutine Logfile_writeSummary
132 end interface
133
134end Module Logfile_interface
subroutine Logfile_stampRealArray(realArr, len, tag, attrib)
subroutine Logfile_stampStr(string, tag, attrib)
subroutine Logfile_stampInt(intVal, tag, attrib)
subroutine Logfile_stampReal(realVal, tag, attrib)
subroutine Logfile_stampStrArray(strArr, len, tag, attrib)
subroutine Logfile_stampStrPair(strArr, len, dimen, tag, attrib)
subroutine Logfile_stampIntArray(intArr, len, tag, attrib)