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

Implements the field_writer_t type.

Data Types

type  field_writer_t
 A simulation component that writes a 3d field to a file. More...
 

Functions/Subroutines

subroutine field_writer_init_from_json (this, json, case)
 Constructor from json.
 
subroutine field_writer_init_from_attributes (this, fields, filename, precision)
 Actual constructor.
 
subroutine field_writer_free (this)
 Destructor.
 
subroutine field_writer_compute (this, t, tstep)
 Here to comply with the interface, does nothing.
 

Function/Subroutine Documentation

◆ field_writer_compute()

subroutine field_writer::field_writer_compute ( class(field_writer_t), intent(inout this,
real(kind=rp), intent(in t,
integer, intent(in tstep 
)
private
Parameters
tThe time value.
tstepThe current time-step

Definition at line 150 of file field_writer.f90.

◆ field_writer_free()

subroutine field_writer::field_writer_free ( class(field_writer_t), intent(inout this)
private

Definition at line 142 of file field_writer.f90.

◆ field_writer_init_from_attributes()

subroutine field_writer::field_writer_init_from_attributes ( class(field_writer_t), intent(inout this,
character(len=20), dimension(:), intent(in), allocatable  fields,
character(len=*), intent(in), optional  filename,
integer, intent(in), optional  precision 
)
private
Parameters
fieldsArray of field names to be sampled.
filenameThe name of the file save the fields to. Optional, if not provided, fields are added to the main output file.
precisionThe real precision of the output data. Optional, defaults to single precision.

Definition at line 103 of file field_writer.f90.

Here is the caller graph for this function:

◆ field_writer_init_from_json()

subroutine field_writer::field_writer_init_from_json ( class(field_writer_t), intent(inout this,
type(json_file), intent(inout json,
class(case_t), intent(inout), target  case 
)
Parameters
jsonJSON object with the parameters.
caseThe case object.

Definition at line 69 of file field_writer.f90.

Here is the call graph for this function: