Neko  0.8.1
A portable framework for high-order spectral element flow simulations
stats Module Reference

Defines a container for all statistics. More...

Data Types

type  quantp_t
 Pointer to an arbitrary quantitiy. More...
 
type  stats_t
 Statistics backend. More...
 

Functions/Subroutines

subroutine stats_init (this, T_begin, samp_interval, size)
 Initialize statistics, computed after T_begin. More...
 
subroutine stats_free (this)
 Deallocate. More...
 
subroutine stats_add (this, quant)
 Add a statistic quantitiy quant to the backend. More...
 
subroutine stats_eval (this, t, dt, tstep)
 Evaluated all statistical quantities. More...
 

Detailed Description

Defines a container for all statistics.

Function/Subroutine Documentation

◆ stats_add()

subroutine stats::stats_add ( class(stats_t), intent(inout)  this,
class(stats_quant_t), intent(inout), target  quant 
)

Add a statistic quantitiy quant to the backend.

Definition at line 106 of file statistics.f90.

◆ stats_eval()

subroutine stats::stats_eval ( class(stats_t), intent(inout)  this,
real(kind=rp), intent(in)  t,
real(kind=rp), intent(in)  dt,
integer, intent(in)  tstep 
)

Evaluated all statistical quantities.

Definition at line 123 of file statistics.f90.

◆ stats_free()

subroutine stats::stats_free ( class(stats_t), intent(inout)  this)

Deallocate.

Definition at line 94 of file statistics.f90.

◆ stats_init()

subroutine stats::stats_init ( class(stats_t), intent(inout)  this,
real(kind=rp), intent(in)  T_begin,
integer, intent(in)  samp_interval,
integer, intent(inout), optional  size 
)

Initialize statistics, computed after T_begin.

Definition at line 64 of file statistics.f90.