Neko 1.99.1
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
mean_field_output::mean_field_output_t Type Referenceabstract

Output for a list of mean fields. More...

Inheritance diagram for mean_field_output::mean_field_output_t:
Collaboration diagram for mean_field_output::mean_field_output_t:

Public Member Functions

procedure, pass(thisinit (this, mean_fields, n_fields, start_time, coef, avg_dir, name, path)
 Constructor.
 
procedure, pass(thissample (this, t)
 Sample, i.e. extract the values of the fields, average, and write.
 
procedure, pass(thisinit_base (this, fname, precision, layout, overwrite)
 Output constructor.
 
procedure, pass(thisset_counter (this, n)
 Update the output's file counter.
 
procedure, pass(thisset_start_counter (this, n)
 Update the start of output's file counter.
 
procedure(output_sample), deferred, pass sample (this, t)
 

Public Attributes

type(mean_field_t), dimension(:), pointer mean_fields
 list of mean fields
 
type(field_list_tfields
 Pointers to the fields inside the mean_fields.
 
real(kind=rp) start_time
 Time to start output.
 
integer n_fields
 Number of fields.
 
type(map_1d_tmap_1d
 Space averaging object for 2 homogeneous directions.
 
type(map_2d_tmap_2d
 Space averaging object for 1 homogeneous direction.
 
integer output_dim
 The dimension of the output fields. Either 1, 2, or 3.
 
type(file_t) file_
 

Detailed Description

Definition at line 50 of file mean_field_output.f90.

Member Function/Subroutine Documentation

◆ init()

procedure, pass(this) mean_field_output::mean_field_output_t::init ( class(mean_field_output_t), intent(inout this,
type(mean_field_t), dimension(n_fields), intent(inout), target  mean_fields,
integer, intent(in n_fields,
real(kind=rp), intent(in start_time,
type(coef_t), intent(inout coef,
character(len=*), intent(in avg_dir,
character(len=*), intent(in), optional  name,
character(len=*), intent(in), optional  path 
)
Parameters
mean_fieldsArray of mean fields to output.
n_fieldsNumber of mean fields.
start_timeTime to start output.
SEMcoefficients.
avg_dirDirection(s) to average in. Either 'none', 'x', 'y', 'z', 'xy', 'xz', 'yz'.
nameName of the output file.
pathPath to the output file.

Definition at line 67 of file mean_field_output.f90.

◆ init_base()

procedure, pass(this) output::output_t::init_base ( class(output_t), intent(inout this,
character(len=*), intent(inout fname,
integer, intent(in), optional  precision,
integer, intent(in), optional  layout,
logical, intent(in), optional  overwrite 
)
inherited
Parameters
fnameName of the output file.
precisionOutput precision (sp or dp).

Definition at line 44 of file output.f90.

◆ sample() [1/2]

procedure, pass(this) mean_field_output::mean_field_output_t::sample ( class(mean_field_output_t), intent(inout this,
real(kind=rp), intent(in t 
)

Definition at line 69 of file mean_field_output.f90.

◆ sample() [2/2]

procedure(output_sample), deferred, pass output::output_t::sample ( class(output_t), intent(inout this,
real(kind=rp), intent(in t 
)
pure virtualinherited

Definition at line 47 of file output.f90.

◆ set_counter()

procedure, pass(this) output::output_t::set_counter ( class(output_t), intent(inout this,
integer, intent(in n 
)
inherited

Definition at line 45 of file output.f90.

◆ set_start_counter()

procedure, pass(this) output::output_t::set_start_counter ( class(output_t), intent(inout this,
integer, intent(in n 
)
inherited

Definition at line 46 of file output.f90.

Member Data Documentation

◆ fields

type(field_list_t) mean_field_output::mean_field_output_t::fields

Definition at line 54 of file mean_field_output.f90.

◆ file_

type(file_t) output::output_t::file_
inherited

Definition at line 42 of file output.f90.

◆ map_1d

type(map_1d_t) mean_field_output::mean_field_output_t::map_1d

Definition at line 60 of file mean_field_output.f90.

◆ map_2d

type(map_2d_t) mean_field_output::mean_field_output_t::map_2d

Definition at line 62 of file mean_field_output.f90.

◆ mean_fields

type(mean_field_t), dimension(:), pointer mean_field_output::mean_field_output_t::mean_fields

Definition at line 52 of file mean_field_output.f90.

◆ n_fields

integer mean_field_output::mean_field_output_t::n_fields

Definition at line 58 of file mean_field_output.f90.

◆ output_dim

integer mean_field_output::mean_field_output_t::output_dim

Definition at line 64 of file mean_field_output.f90.

◆ start_time

real(kind=rp) mean_field_output::mean_field_output_t::start_time

Definition at line 56 of file mean_field_output.f90.


The documentation for this type was generated from the following file: