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

Implements field_output_t.

Data Types

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

Functions/Subroutines

subroutine field_output_init (this, name, nfields, precision, path, format)
 Constructor.
 
subroutine field_output_free (this)
 Destructor.
 
subroutine field_output_sample (this, t)
 Writes the data.
 

Function/Subroutine Documentation

◆ field_output_free()

subroutine field_output::field_output_free ( class(field_output_t), intent(inout this)
private

Definition at line 103 of file field_output.f90.

◆ field_output_init()

subroutine field_output::field_output_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 65 of file field_output.f90.

◆ field_output_sample()

subroutine field_output::field_output_sample ( class(field_output_t), intent(inout this,
real(kind=rp), intent(in t 
)
private
Parameters
tThe time value.

Definition at line 113 of file field_output.f90.