Neko  0.8.1
A portable framework for high-order spectral element flow simulations
field_writer::field_writer_t Type Reference

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

Inheritance diagram for field_writer::field_writer_t:
Collaboration diagram for field_writer::field_writer_t:

Public Member Functions

procedure, pass(this) init => field_writer_init_from_json
 Constructor from json, wrapping the actual constructor. More...
 
procedure, pass(this) init_from_attributes => field_writer_init_from_attributes
 Actual constructor. More...
 
procedure, pass(this) free => field_writer_free
 Destructor. More...
 
procedure, pass(this) compute_ => field_writer_compute
 Here to compy with the interface, does nothing. More...
 
procedure, pass(this) init_base => simulation_component_init_base
 Constructor for the simulation_component_t (base) class. More...
 
procedure, pass(this) free_base => simulation_component_free_base
 Destructor for the simulation_component_t (base) class. More...
 
procedure, pass(this) restart => simulation_component_restart_wrapper
 Wrapper for calling set_counter for the time based controllers. Serves as the public interface. More...
 
procedure, pass(this) compute => simulation_component_compute_wrapper
 Wrapper for calling compute_ based on the compute_controller. Serves as the public interface. More...
 

Public Attributes

type(case_t), pointer case
 Pointer to the simulation case. More...
 
type(time_based_controller_t) compute_controller
 Controller for when to run compute. More...
 
type(time_based_controller_t) output_controller
 Controller for when to do output. More...
 
integer order
 The execution order, lowest excutes first. More...
 

Private Attributes

type(fld_file_output_t), private output
 Output writer. More...
 

Detailed Description

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

Definition at line 50 of file field_writer.f90.

Member Function/Subroutine Documentation

◆ compute()

procedure, pass(this) simulation_component::simulation_component_t::compute
inherited

Wrapper for calling compute_ based on the compute_controller. Serves as the public interface.

Definition at line 67 of file simulation_component.f90.

◆ compute_()

procedure, pass(this) field_writer::field_writer_t::compute_

Here to compy with the interface, does nothing.

Definition at line 63 of file field_writer.f90.

◆ free()

procedure, pass(this) field_writer::field_writer_t::free

Destructor.

Definition at line 61 of file field_writer.f90.

◆ free_base()

procedure, pass(this) simulation_component::simulation_component_t::free_base
inherited

Destructor for the simulation_component_t (base) class.

Definition at line 61 of file simulation_component.f90.

◆ init()

procedure, pass(this) field_writer::field_writer_t::init

Constructor from json, wrapping the actual constructor.

Definition at line 56 of file field_writer.f90.

◆ init_base()

procedure, pass(this) simulation_component::simulation_component_t::init_base
inherited

Constructor for the simulation_component_t (base) class.

Definition at line 59 of file simulation_component.f90.

◆ init_from_attributes()

procedure, pass(this) field_writer::field_writer_t::init_from_attributes

Actual constructor.

Definition at line 58 of file field_writer.f90.

◆ restart()

procedure, pass(this) simulation_component::simulation_component_t::restart
inherited

Wrapper for calling set_counter for the time based controllers. Serves as the public interface.

Definition at line 64 of file simulation_component.f90.

Member Data Documentation

◆ case

type(case_t), pointer simulation_component::simulation_component_t::case
inherited

Pointer to the simulation case.

Definition at line 50 of file simulation_component.f90.

◆ compute_controller

type(time_based_controller_t) simulation_component::simulation_component_t::compute_controller
inherited

Controller for when to run compute.

Definition at line 52 of file simulation_component.f90.

◆ order

integer simulation_component::simulation_component_t::order
inherited

The execution order, lowest excutes first.

Definition at line 56 of file simulation_component.f90.

◆ output

type(fld_file_output_t), private field_writer::field_writer_t::output
private

Output writer.

Definition at line 52 of file field_writer.f90.

◆ output_controller

type(time_based_controller_t) simulation_component::simulation_component_t::output_controller
inherited

Controller for when to do output.

Definition at line 54 of file simulation_component.f90.


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