Neko 1.99.3
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
average_fields_in_time.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

program average_fields_in_time
 Program to sum up averaged fields computed for statistics and mean field Martin Karp 27/01-23.
 
subroutine usage ()
 
subroutine avg_flds_in_time_fld (fld_fname, output_fname, start_time)
 Average fields from a series of fld files.
 
subroutine avg_flds_in_time_csv (in_fname, out_fname, start_time)
 Average fields from a series of csv files.
 
integer function determine_size_of_csv_sample (m)
 Finds the size of a statistics sample based on when the time stamp changes.
 
subroutine populate_matrix (file_name, m)
 Read a csv file, determine the # of rows and columns, allocate the matrix accordingly and populate the matrix with the data from the csv file.
 

Function/Subroutine Documentation

◆ average_fields_in_time()

program average_fields_in_time

Definition at line 3 of file average_fields_in_time.f90.

Here is the call graph for this function:

◆ avg_flds_in_time_csv()

subroutine average_fields_in_time::avg_flds_in_time_csv ( character(len=neko_fname_len), intent(in in_fname,
character(len=neko_fname_len), intent(in out_fname,
real(kind=rp), intent(in start_time 
)
private
Parameters
in_fnameThe name of the csv file to process.
output_fnameThe name of the output csv file.
start_timeThe starting time to use to compute the sampling time of the very first sample. In other words the time at which the statistics start to be sampled. NOTE: The format of the csv file is: time_0, x1, field1, field2, ... time_0, x2, field1, field2, ... ... time_0, xN, field1, field2, ... time_1, x1, field1, field2, ... time_1, x2, field1, field2, ... ... time_1, xN, field1, field2, ... etc...

Definition at line 149 of file average_fields_in_time.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ avg_flds_in_time_fld()

subroutine average_fields_in_time::avg_flds_in_time_fld ( character(len=neko_fname_len), intent(in fld_fname,
character(len=neko_fname_len), intent(in output_fname,
real(kind=rp), intent(in start_time 
)
private
Parameters
fld_fnameThe name of the fld series to process.
output_fnameThe name of the output fld file.
start_timeThe starting time to use to compute the sampling time of the very first sample. In other words the time at which the statistics start to be sampled.

Definition at line 89 of file average_fields_in_time.f90.

Here is the caller graph for this function:

◆ determine_size_of_csv_sample()

integer function average_fields_in_time::determine_size_of_csv_sample ( type(matrix_t), intent(in m)
private

Definition at line 238 of file average_fields_in_time.f90.

Here is the caller graph for this function:

◆ populate_matrix()

subroutine average_fields_in_time::populate_matrix ( character(len=*), intent(in file_name,
type(matrix_t), intent(inout m 
)
private

Definition at line 260 of file average_fields_in_time.f90.

Here is the caller graph for this function:

◆ usage()

subroutine average_fields_in_time::usage

Definition at line 48 of file average_fields_in_time.f90.

Here is the caller graph for this function: