Files | |
file | stat.f |
2D and 3D statistics module | |
file | stat_IO.f |
IO routines for 2D/3D statistics module. | |
Functions/Subroutines | |
subroutine | stat_register () |
Register 2D and 3D statistics module. More... | |
subroutine | stat_init () |
Initilise statistics module. More... | |
logical function | stat_is_initialised () |
Check if module was initialised. More... | |
subroutine | stat_avg |
Main interface of statistics module. More... | |
subroutine | stat_init_int1d () |
Get local integration coefficients. More... | |
subroutine | stat_reshufflev (rvar, var, nl) |
Array reshuffle. More... | |
subroutine | stat_compute_1dav1 (lvar, npos, alpha, beta) |
Perform local 1D integration on 1 variable. More... | |
subroutine | stat_compute_1dav2 (lvar1, lvar2, npos, alpha, beta) |
Perform local 1D integration on multiplication of 2 variables. More... | |
subroutine | stat_gs_sum |
Global statistics summation. More... | |
subroutine | stat_compute () |
Compute statistics. More... | |
subroutine | stat_mfo () |
Main interface for saving statistics. More... | |
subroutine | stat_mfo_outfld3d () |
Statistics muti-file output of 3D data. More... | |
subroutine | stat_mfo_outfld2d () |
Statistics muti-file output of 2D data. More... | |
subroutine | stat_mfo_write_hdr2d |
Write hdr, byte key, global ordering of 2D data. More... | |
subroutine | stat_mfo_write_stat2d |
Write additional data at the end of the file. More... | |
subroutine | stat_mfo_crd2d |
Write element centres to the file (in case of AMR level as well) More... | |
subroutine stat_avg | ( | ) |
Main interface of statistics module.
This routine performs time averaging and file writing.
subroutine stat_compute | ( | ) |
Compute statistics.
subroutine stat_compute_1dav1 | ( | real, dimension(lx1,ly1,lz1,lelt) | lvar, |
integer | npos, | ||
real | alpha, | ||
real | beta | ||
) |
Perform local 1D integration on 1 variable.
[in] | lvar | integrated variable |
[in] | npos | position in stat_ruavg |
[in] | alpha,beta | time averaging parameters |
subroutine stat_compute_1dav2 | ( | real, dimension(lx1,ly1,lz1,lelt) | lvar1, |
real, dimension(lx1,ly1,lz1,lelt) | lvar2, | ||
integer | npos, | ||
real | alpha, | ||
real | beta | ||
) |
Perform local 1D integration on multiplication of 2 variables.
[in] | lvar1,lvar2 | integrated variable |
[in] | npos | position in stat_ruavg |
[in] | alpha,beta | time averaging parameters |
subroutine stat_gs_sum | ( | ) |
Global statistics summation.
subroutine stat_init | ( | ) |
Initilise statistics module.
subroutine stat_init_int1d | ( | ) |
Get local integration coefficients.
This version does 1D integration over one of the directions R,S,T. It supports curved coordinate systems, however axisymmetric 2.5D cases are not supported
logical function stat_is_initialised | ( | ) |
Check if module was initialised.
subroutine stat_mfo | ( | ) |
Main interface for saving statistics.
subroutine stat_mfo_crd2d | ( | ) |
Write element centres to the file (in case of AMR level as well)
subroutine stat_mfo_outfld2d | ( | ) |
Statistics muti-file output of 2D data.
This routine is just modification of mfo_outfld
subroutine stat_mfo_outfld3d | ( | ) |
Statistics muti-file output of 3D data.
subroutine stat_mfo_write_hdr2d | ( | ) |
Write hdr, byte key, global ordering of 2D data.
This routine is just modification of mfo_write_hdr
subroutine stat_mfo_write_stat2d | ( | ) |
Write additional data at the end of the file.
subroutine stat_register | ( | ) |
Register 2D and 3D statistics module.
subroutine stat_reshufflev | ( | real, dimension(lx1,ly1,lz1,lelt) | rvar, |
real, dimension(lx1,ly1,lz1,lelt) | var, | ||
integer | nl | ||
) |
Array reshuffle.
Reorder directions in such a way that the uniform direction corresponds to the the first index
[out] | rvar | reshuffled array |
[in] | var | input array |
[in] | nl | element number to reshuffle |