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

Output for spatially averaged fields.

Data Types

type  spatial_average_output_t
 Output for spatially averaged fields. More...
 

Functions/Subroutines

subroutine spatial_average_output_init (this, fields, coef, avg_direction, filename)
 Constructor.
 
subroutine spatial_average_output_free (this)
 Destructor.
 
subroutine spatial_average_output_sample (this, t)
 Sample the current fields, spatially average, and write.
 

Function/Subroutine Documentation

◆ spatial_average_output_free()

subroutine spatial_average_output::spatial_average_output_free ( class(spatial_average_output_t), intent(inout this)
private

Definition at line 115 of file spatial_average_output.f90.

◆ spatial_average_output_init()

subroutine spatial_average_output::spatial_average_output_init ( class(spatial_average_output_t), intent(inout this,
character(len=*), dimension(:), intent(in fields,
type(coef_t), intent(inout), target  coef,
character(len=*), intent(in avg_direction,
character(len=*), intent(in filename 
)
Parameters
fieldsNames of the fields to average.
coefSEM coefficients.
avg_directionDirection(s) to average in. Either 'x', 'y', 'z', 'xy', 'xz', or 'yz', matching the statistics output semantics.
filenameBase filename for the output file.

Definition at line 79 of file spatial_average_output.f90.

◆ spatial_average_output_sample()

subroutine spatial_average_output::spatial_average_output_sample ( class(spatial_average_output_t), intent(inout this,
real(kind=rp), intent(in t 
)
private
Parameters
tThe current time value.

Definition at line 128 of file spatial_average_output.f90.

Here is the call graph for this function: