Neko  0.8.99
A portable framework for high-order spectral element flow simulations
sampler Module Reference

Defines a sampler.

Data Types

type  outp_t
 Pointer to an arbitrary output. More...
 
type  sampler_t
 Sampler. More...
 

Functions/Subroutines

subroutine sampler_init (this, T_end, size)
 Initialize a sampler. More...
 
subroutine sampler_free (this)
 Deallocate a sampler. More...
 
subroutine sampler_add (this, out, write_par, write_control)
 Add an output out to the sampler. More...
 
subroutine sampler_sample (this, t, tstep, ifforce)
 Sample all outputs in the sampler. More...
 
subroutine sampler_set_counter (this, t)
 Set sampling counter based on time (after restart) More...
 
subroutine sampler_set_sample_count (this, sample_number)
 Set sampling counter (after restart) explicitly. More...
 

Function/Subroutine Documentation

◆ sampler_add()

subroutine sampler::sampler_add ( class(sampler_t), intent(inout)  this,
class(output_t), intent(inout), target  out,
real(kind=rp), intent(in)  write_par,
character(len=*), intent(in)  write_control 
)
private

Definition at line 125 of file sampler.f90.

◆ sampler_free()

subroutine sampler::sampler_free ( class(sampler_t), intent(inout)  this)
private

Definition at line 109 of file sampler.f90.

◆ sampler_init()

subroutine sampler::sampler_init ( class(sampler_t), intent(inout)  this,
real(kind=rp), intent(in)  T_end,
integer, intent(in), optional  size 
)

Definition at line 79 of file sampler.f90.

◆ sampler_sample()

subroutine sampler::sampler_sample ( class(sampler_t), intent(inout)  this,
real(kind=rp), intent(in)  t,
integer, intent(in)  tstep,
logical, intent(in), optional  ifforce 
)
private

Definition at line 203 of file sampler.f90.

Here is the call graph for this function:

◆ sampler_set_counter()

subroutine sampler::sampler_set_counter ( class(sampler_t), intent(inout)  this,
real(kind=rp), intent(in)  t 
)
private

Definition at line 282 of file sampler.f90.

◆ sampler_set_sample_count()

subroutine sampler::sampler_set_sample_count ( class(sampler_t), intent(inout)  this,
integer, intent(in)  sample_number 
)
private

Definition at line 301 of file sampler.f90.