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

Implements the spatial_average_t type.

Data Types

type  spatial_average_t
 A simulation component that writes spatial averages of registry fields. More...
 

Functions/Subroutines

subroutine spatial_average_init_from_json (this, json, case)
 Constructor from json.
 
subroutine spatial_average_init_from_components (this, name, fields, coef, avg_direction, output_filename)
 Constructor from components.
 
subroutine spatial_average_free (this)
 Destructor.
 
subroutine spatial_average_compute (this, time)
 Here to comply with the interface, does nothing.
 

Function/Subroutine Documentation

◆ spatial_average_compute()

subroutine spatial_average::spatial_average_compute ( class(spatial_average_t), intent(inout this,
type(time_state_t), intent(in time 
)
private
Parameters
timeThe current time state.

Definition at line 137 of file spatial_average.f90.

◆ spatial_average_free()

subroutine spatial_average::spatial_average_free ( class(spatial_average_t), intent(inout this)
private

Definition at line 128 of file spatial_average.f90.

◆ spatial_average_init_from_components()

subroutine spatial_average::spatial_average_init_from_components ( class(spatial_average_t), intent(inout), target  this,
character(len=*), intent(in name,
character(len=*), dimension(:), intent(in fields,
type(coef_t), intent(inout), target  coef,
character(len=*), intent(in avg_direction,
character(len=*), intent(in output_filename 
)
private
Parameters
nameThe unique name of the simcomp.
fieldsNames of the fields to average.
coefThe SEM coefficients.
avg_directionDirection(s) to average in.
output_filenameBase name of the output file.

Definition at line 100 of file spatial_average.f90.

◆ spatial_average_init_from_json()

subroutine spatial_average::spatial_average_init_from_json ( class(spatial_average_t), intent(inout), target  this,
type(json_file), intent(inout json,
class(case_t), intent(inout), target  case 
)
Parameters
jsonThe json parameter dictionary.
caseThe neko case object.

Definition at line 68 of file spatial_average.f90.