|
Neko 0.9.1
A portable framework for high-order spectral element flow simulations
|
Computes the temporal mean of a field. More...


Public Member Functions | |
| procedure, pass(this) | init (this, f, field_name) |
| Constructor. | |
| procedure, pass(this) | free (this) |
| Destructor. | |
| procedure, pass(this) | update (this, k) |
| Updates the mean value with a new sample. | |
| procedure, pass(this) | reset (this) |
| Resets the mean field. | |
| procedure(stats_quant_update), deferred, pass | update (this, k) |
Public Attributes | |
| type(field_t), pointer | f => null() |
| Pointer to the averaged field. | |
| type(field_t) | mf |
| Stores the mean field. | |
| real(kind=rp) | time |
| Total time across which the mean has been computed. | |
Definition at line 45 of file mean_field.f90.
Definition at line 56 of file mean_field.f90.
| procedure, pass(this) mean_field::mean_field_t::init | ( | class(mean_field_t), intent(inout) | this, |
| type(field_t), intent(inout), target | f, | ||
| character(len=*), intent(in), optional | field_name | ||
| ) |
| f | The field that will be averaged. |
| field_name. | Optional name for the mean field. By default the name of f prepended with mean_ is used. |
Definition at line 54 of file mean_field.f90.
Definition at line 60 of file mean_field.f90.
|
pure virtualinherited |
Definition at line 42 of file stats_quant.f90.
| procedure, pass(this) mean_field::mean_field_t::update | ( | class(mean_field_t), intent(inout) | this, |
| real(kind=rp), intent(in) | k | ||
| ) |
| k | Time since last sample. |
Definition at line 58 of file mean_field.f90.
Definition at line 47 of file mean_field.f90.
| type(field_t) mean_field::mean_field_t::mf |
Definition at line 49 of file mean_field.f90.
Definition at line 51 of file mean_field.f90.