Neko  0.8.1
A portable framework for high-order spectral element flow simulations
fld_file_output Module Reference

Implements fld_file_output_t. More...

Data Types

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

Functions/Subroutines

subroutine fld_file_output_init (this, precision, name, nfields, path)
 Constructor. More...
 
subroutine fld_file_output_sample (this, t)
 Writes the data. More...
 

Detailed Description

Implements fld_file_output_t.

Function/Subroutine Documentation

◆ fld_file_output_init()

subroutine fld_file_output::fld_file_output_init ( class(fld_file_output_t), intent(inout)  this,
integer, intent(in)  precision,
character(len=*), intent(in)  name,
integer, intent(in)  nfields,
character(len=*), intent(in), optional  path 
)

Constructor.

Parameters
precisionthe precison of the reals in the file.
nameThe base name of the files.
nameThe number of field pointers to preallocate in the field list.
pathOptional path to the write folder.

Definition at line 61 of file fld_file_output.f90.

◆ fld_file_output_sample()

subroutine fld_file_output::fld_file_output_sample ( class(fld_file_output_t), intent(inout)  this,
real(kind=rp), intent(in)  t 
)
private

Writes the data.

Parameters
tThe time value.

Definition at line 87 of file fld_file_output.f90.