|
Neko 1.99.10
A portable framework for high-order spectral element flow simulations
|
Implements the user_stats_t type.
Data Types | |
| type | user_stats_t |
| A simulation component that computes the averages of fields in the registry. More... | |
Functions/Subroutines | |
| subroutine | user_stats_init_from_json (this, json, case) |
| Constructor from json. | |
| subroutine | user_stats_restart (this, time) |
| subroutine | user_stats_init_from_controllers (this, name, case, order, preprocess_controller, compute_controller, output_controller, start_time, coef, avg_dir, filename, precision) |
| Constructor from components, passing controllers. | |
| subroutine | user_stats_init_from_controllers_properties (this, name, case, order, preprocess_control, preprocess_value, compute_control, compute_value, output_control, output_value, start_time, coef, avg_dir, filename, precision) |
| Constructor from components, passing properties to the time_based_controller` components in the base type. | |
| subroutine | user_stats_init_common (this, name, start_time, coef, avg_dir, filename, precision) |
| Common part of constructors. | |
| subroutine | user_stats_free (this) |
| Destructor. | |
| subroutine | user_stats_compute (this, time) |
| Update the running averages. | |
|
private |
| time | The current time state. |
Update the running average of the fields
Definition at line 309 of file user_stats.f90.
|
private |
Definition at line 287 of file user_stats.f90.
|
private |
| name | The unique name of the simcomp. |
| start_time | The start time for gathering samples for the average. |
| coef | The SEM coefficients. |
| avg_dir | The averaging direction. |
Allocate and initialize the mean fields
Definition at line 235 of file user_stats.f90.

|
private |
| name | The unique name of the simcomp. |
| case | The simulation case object. |
| order | The execution oder priority of the simcomp. |
| preprocess_controller | The controller for running preprocessing. |
| compute_controller | The controller for running compute. |
| output_controller | The controller for producing output. |
| start_time | The start time for gathering samples for the average. |
| coef | The SEM coefficients. |
| avg_dir | The averaging direction. |
| filename | The name of the file save the fields to. Optional, if not |
| precision | The real precision of the output data. Optional, defaults to single precision. |
Definition at line 162 of file user_stats.f90.
|
private |
| name | The unique name of the simcomp. |
| case | The simulation case object. |
| order | The execution oder priority of the simcomp. |
| preprocess_controller | Control mode for preprocessing. |
| preprocess_value | Value parameter for preprocessing. |
| compute_controller | Control mode for computing. |
| compute_value | Value parameter for computing. |
| output_controller | Control mode for output. |
| output_value | Value parameter for output. |
| start_time | The start time for gathering samples for the average. |
| coef | The SEM coefficients. |
| avg_dir | The averaging direction. |
| filename | The name of the file save the fields to. Optional, if not provided, fields are added to the main output file. |
| precision | The real precision of the output data. Optional, defaults to single precision. |
Definition at line 202 of file user_stats.f90.
| subroutine user_stats::user_stats_init_from_json | ( | class(user_stats_t), intent(inout), target | this, |
| type(json_file), intent(inout) | json, | ||
| class(case_t), intent(inout), target | case ) |
| json | The json paramter dictionary. |
| case | The neko case object. |
Get the number of stat fields and their names
Definition at line 100 of file user_stats.f90.

|
private |