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

Public Member Functions

subroutine meshfield_statistics_maxmin_1d (field_list, log_suppress, global, maxval, minval)
 Search global maximum & minimum value for 1D field.
 
subroutine meshfield_statistics_maxmin_2d (field_list, log_suppress, global, maxval, minval)
 Search global maximum & minimum value for 2D field.
 
subroutine meshfield_statistics_maxmin_3d (field_list, log_suppress, global, maxval, minval)
 Search global maximum & minimum value for 3D field.
 

Detailed Description

Definition at line 46 of file scale_meshfield_statistics.F90.

Member Function/Subroutine Documentation

◆ meshfield_statistics_maxmin_1d()

subroutine scale_meshfield_statistics::meshfield_statistics_maxmin::meshfield_statistics_maxmin_1d ( class(meshfield1d), dimension(:), intent(in) field_list,
logical, intent(in), optional log_suppress,
logical, intent(in), optional global,
real(rp), dimension(size(field_list)), intent(out), optional maxval,
real(rp), dimension(size(field_list)), intent(out), optional minval )

Search global maximum & minimum value for 1D field.

Calculate max and min of 1D field

Parameters
[in]log_suppresssuppress log output
[in]globalglobal or local

Definition at line 227 of file scale_meshfield_statistics.F90.

230
231 implicit none
232
233 class(MeshField1D), intent(in) :: field_list(:)
234 logical, intent(in), optional :: log_suppress
235 logical, intent(in), optional :: global
236 real(RP), intent(out), optional :: maxval(size(field_list))
237 real(RP), intent(out), optional :: minval(size(field_list))
238
239 real(RP) :: statval_l( size(field_list),2)
240 integer :: statidx_l(3,size(field_list),2)
241 integer :: VA
242 !---------------------------------------------------------------------------
243
244 va = size(field_list)
245 call search_maxmin_local( &
246 va, field_list, field_list(1)%mesh%lcmesh_list, & ! (in)
247 statval_l, statidx_l ) ! (out)
248
249 call statistics_detail_core( &
250 va, field_list, statval_l, statidx_l, .not. global, log_suppress, & ! (in)
251 maxval, minval ) ! (out)
252
253 return

◆ meshfield_statistics_maxmin_2d()

subroutine scale_meshfield_statistics::meshfield_statistics_maxmin::meshfield_statistics_maxmin_2d ( class(meshfield2d), dimension(:), intent(in) field_list,
logical, intent(in), optional log_suppress,
logical, intent(in), optional global,
real(rp), dimension(size(field_list)), intent(out), optional maxval,
real(rp), dimension(size(field_list)), intent(out), optional minval )

Search global maximum & minimum value for 2D field.

Parameters
[in]log_suppresssuppress log output
[in]globalglobal or local

Definition at line 286 of file scale_meshfield_statistics.F90.

289
290 implicit none
291
292 class(MeshField2D), intent(in) :: field_list(:)
293 logical, intent(in), optional :: log_suppress
294 logical, intent(in), optional :: global
295 real(RP), intent(out), optional :: maxval(size(field_list))
296 real(RP), intent(out), optional :: minval(size(field_list))
297
298 real(RP) :: statval_l( size(field_list),2)
299 integer :: statidx_l(3,size(field_list),2)
300 integer :: VA
301 !---------------------------------------------------------------------------
302
303 va = size(field_list)
304 call search_maxmin_local( &
305 va, field_list, field_list(1)%mesh%lcmesh_list, & ! (in)
306 statval_l, statidx_l ) ! (out)
307
308 call statistics_detail_core( &
309 va, field_list, statval_l, statidx_l, .not. global, log_suppress, & ! (in)
310 maxval, minval ) ! (out)
311
312 return

◆ meshfield_statistics_maxmin_3d()

subroutine scale_meshfield_statistics::meshfield_statistics_maxmin::meshfield_statistics_maxmin_3d ( class(meshfield3d), dimension(:), intent(in) field_list,
logical, intent(in), optional log_suppress,
logical, intent(in), optional global,
real(rp), dimension(size(field_list)), intent(out), optional maxval,
real(dp), dimension(size(field_list)), intent(out), optional minval )

Search global maximum & minimum value for 3D field.

Parameters
[in]log_suppresssuppress log output
[in]globalglobal or local

Definition at line 346 of file scale_meshfield_statistics.F90.

349
350 implicit none
351
352 class(MeshField3D), intent(in) :: field_list(:)
353 logical, intent(in), optional :: log_suppress
354 logical, intent(in), optional :: global
355 real(RP), intent(out), optional :: maxval(size(field_list))
356 real(DP), intent(out), optional :: minval(size(field_list))
357
358 real(RP) :: statval_l( size(field_list),2)
359 integer :: statidx_l(3,size(field_list),2)
360 integer :: VA
361 !---------------------------------------------------------------------------
362
363 va = size(field_list)
364 call search_maxmin_local( &
365 va, field_list, field_list(1)%mesh%lcmesh_list, & ! (in)
366 statval_l, statidx_l ) ! (out)
367
368 call statistics_detail_core( &
369 va, field_list, statval_l, statidx_l, .not. global, log_suppress, & ! (in)
370 maxval, minval ) ! (out)
371
372 return

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