Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
mean_field Module Reference

Implements mean_field_t.

Data Types

type  mean_field_t
 Computes the temporal mean of a field. More...
 

Functions/Subroutines

subroutine mean_field_init (this, f, field_name)
 Constructor.
 
subroutine mean_field_free (this)
 Destructor.
 
subroutine mean_field_reset (this)
 Resets a the mean field and the averaging time value to zero.
 
subroutine mean_field_update (this, k)
 Update the mean field with a new sample.
 

Function/Subroutine Documentation

◆ mean_field_free()

subroutine mean_field::mean_field_free ( class(mean_field_t), intent(inout this)
private

Definition at line 91 of file mean_field.f90.

◆ mean_field_init()

subroutine mean_field::mean_field_init ( class(mean_field_t), intent(inout this,
type(field_t), intent(in), target  f,
character(len=*), intent(in), optional  field_name 
)
Parameters
fThe 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 69 of file mean_field.f90.

◆ mean_field_reset()

subroutine mean_field::mean_field_reset ( class(mean_field_t), intent(inout this)
private

Definition at line 102 of file mean_field.f90.

◆ mean_field_update()

subroutine mean_field::mean_field_update ( class(mean_field_t), intent(inout this,
real(kind=rp), intent(in k 
)
private
Parameters
kTime since last sample.

Definition at line 112 of file mean_field.f90.

Here is the call graph for this function: