FE-Project
Loading...
Searching...
No Matches
Public Member Functions | List of all members
scale_meshfield_statistics::meshfield_statistics_total Interface Reference

Public Member Functions

subroutine meshfield_statistics_total_1d (field, log_suppress, global, mean, sum)
 Calculate domain sum and area-weighted mean for 1D field.
 
subroutine meshfield_statistics_total_2d (field, log_suppress, global, mean, sum)
 Calculate domain sum and area-weighted mean for 2D field.
 
subroutine meshfield_statistics_total_3d (field, log_suppress, global, mean, sum)
 Calculate domain sum and area-weighted mean for 3D field.
 

Detailed Description

Definition at line 53 of file scale_meshfield_statistics.F90.

Member Function/Subroutine Documentation

◆ meshfield_statistics_total_1d()

subroutine scale_meshfield_statistics::meshfield_statistics_total::meshfield_statistics_total_1d ( class(meshfield1d), intent(in) field,
logical, intent(in), optional log_suppress,
logical, intent(in), optional global,
real(rp), intent(out), optional mean,
real(dp), intent(out), optional sum )

Calculate domain sum and area-weighted mean for 1D field.

Parameters
[in]log_suppresssuppress log output
[in]globalglobal or local sum
[out]meanarea-weighted mean
[out]sumdomain sum

Definition at line 134 of file scale_meshfield_statistics.F90.

137
138 implicit none
139
140 class(MeshField1D), intent(in) :: field
141 logical, intent(in), optional :: log_suppress
142 logical, intent(in), optional :: global
143 real(RP), intent(out), optional :: mean
144 real(DP), intent(out), optional :: sum
145
146 real(DP) :: statval
147 real(DP) :: total
148 !---------------------------------------------------------------------------
149
150 call calculate_statval( field, field%mesh%lcmesh_list(:), & ! (in)
151 statval, total ) ! (out)
152
153 call statistics_total_core( &
154 field%varname, statval, total, & ! (in)
155 log_suppress, global, & ! (in)
156 mean, sum ) ! (out)
157
158 return

◆ meshfield_statistics_total_2d()

subroutine scale_meshfield_statistics::meshfield_statistics_total::meshfield_statistics_total_2d ( class(meshfield2d), intent(in) field,
logical, intent(in), optional log_suppress,
logical, intent(in), optional global,
real(rp), intent(out), optional mean,
real(dp), intent(out), optional sum )

Calculate domain sum and area-weighted mean for 2D field.

Parameters
[in]log_suppresssuppress log output
[in]globalglobal or local sum
[out]meanarea-weighted mean
[out]sumdomain sum

Definition at line 164 of file scale_meshfield_statistics.F90.

167
168 implicit none
169
170 class(MeshField2D), intent(in) :: field
171 logical, intent(in), optional :: log_suppress
172 logical, intent(in), optional :: global
173 real(RP), intent(out), optional :: mean
174 real(DP), intent(out), optional :: sum
175
176 real(DP) :: statval
177 real(DP) :: total
178 !---------------------------------------------------------------------------
179
180 call calculate_statval( field, field%mesh%lcmesh_list(:), & ! (in)
181 statval, total ) ! (out)
182
183 call statistics_total_core( &
184 field%varname, statval, total, & ! (in)
185 log_suppress, global, & ! (in)
186 mean, sum ) ! (out)
187
188 return

◆ meshfield_statistics_total_3d()

subroutine scale_meshfield_statistics::meshfield_statistics_total::meshfield_statistics_total_3d ( class(meshfield3d), intent(in) field,
logical, intent(in), optional log_suppress,
logical, intent(in), optional global,
real(rp), intent(out), optional mean,
real(dp), intent(out), optional sum )

Calculate domain sum and area-weighted mean for 3D field.

Parameters
[in]log_suppresssuppress log output
[in]globalglobal or local sum
[out]meanarea-weighted mean
[out]sumdomain sum

Definition at line 194 of file scale_meshfield_statistics.F90.

197
198 implicit none
199
200 class(MeshField3D), intent(in) :: field
201 logical, intent(in), optional :: log_suppress
202 logical, intent(in), optional :: global
203 real(RP), intent(out), optional :: mean
204 real(DP), intent(out), optional :: sum
205
206 real(DP) :: statval
207 real(DP) :: total
208 !---------------------------------------------------------------------------
209
210 call calculate_statval( field, field%mesh%lcmesh_list(:), & ! (in)
211 statval, total ) ! (out)
212
213 call statistics_total_core( &
214 field%varname, statval, total, & ! (in)
215 log_suppress, global, & ! (in)
216 mean, sum ) ! (out)
217
218 return

The documentation for this interface was generated from the following file: