Neko 1.99.3
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
field_output::field_output_t Type Referenceabstract

A simple output saving a list of fields to a file. More...

Inheritance diagram for field_output::field_output_t:
Collaboration diagram for field_output::field_output_t:

Public Member Functions

procedure, pass(thisinit (this, name, nfields, precision, path, format)
 Constructor.
 
procedure, pass(thisfree (this)
 Destructor.
 
procedure, pass(thissample (this, t)
 Writes the data.
 
procedure, pass(thisinit_base (this, fname, precision, layout, overwrite)
 Output constructor.
 
procedure, pass(thisfree_base (this)
 Free the output.
 
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)
 
procedure(output_free), deferred, pass free (this)
 

Public Attributes

type(field_list_tfields
 The list of fields to save.
 
type(file_t) file_
 

Detailed Description

Definition at line 44 of file field_output.f90.

Member Function/Subroutine Documentation

◆ free() [1/2]

procedure, pass(this) field_output::field_output_t::free ( class(field_output_t), intent(inout this)

Definition at line 51 of file field_output.f90.

◆ free() [2/2]

procedure(output_free), deferred, pass output::output_t::free ( class(output_t), intent(inout this)
pure virtualinherited

Definition at line 49 of file output.f90.

◆ free_base()

procedure, pass(this) output::output_t::free_base ( class(output_t), intent(inout this)
inherited

Definition at line 45 of file output.f90.

◆ init()

procedure, pass(this) field_output::field_output_t::init ( class(field_output_t), intent(inout this,
character(len=*), intent(in name,
integer, intent(in nfields,
integer, intent(in), optional  precision,
character(len=*), intent(in), optional  path,
character(len=*), intent(in), optional  format 
)
Parameters
nameThe base name of the files.
nfieldsThe number of field pointers to preallocate in the field list.
precisionthe precision of the reals in the file.
pathOptional path to the write folder.
formatOptional suffix for the file name.

Definition at line 49 of file 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) field_output::field_output_t::sample ( class(field_output_t), intent(inout this,
real(kind=rp), intent(in t 
)
Parameters
tThe time value.

Definition at line 53 of file 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 48 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 46 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 47 of file output.f90.

Member Data Documentation

◆ fields

type(field_list_t) field_output::field_output_t::fields

Definition at line 46 of file field_output.f90.

◆ file_

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

Definition at line 42 of file output.f90.


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