Neko 0.9.99
A portable framework for high-order spectral element flow simulations
|
Base abstract class for simulation components. More...
Public Member Functions | |
procedure, pass(this) | init_base (this, json, case) |
Constructor for the simulation_component_t (base) class. | |
procedure, pass(this) | free_base (this) |
Destructor for the simulation_component_t (base) class. | |
procedure, pass(this) | restart (this, time) |
Wrapper for calling set_counter for the time based controllers. Serves as the public interface. | |
procedure, pass(this) | preprocess (this, time) |
Wrapper for calling preprocess_ based on the preprocess_controller . Serves as the public interface. | |
procedure, pass(this) | compute (this, time) |
Wrapper for calling compute_ based on the compute_controller . Serves as the public interface. | |
procedure(simulation_component_init), deferred, pass | init (this, json, case) |
The common constructor using a JSON dictionary. | |
procedure(simulation_component_free), deferred, pass | free (this) |
Destructor. | |
procedure, pass(this) | preprocess_ (this, time) |
The preprocessing function to be executed during the run. | |
procedure, pass(this) | compute_ (this, time) |
The main function to be executed during the run. | |
procedure, pass(this) | restart_ (this, time) |
The restart function to be called upon restarting simulation. | |
Public Attributes | |
type(case_t), pointer | case |
Pointer to the simulation case. | |
type(time_based_controller_t) | preprocess_controller |
Controller for when to run preprocess . | |
type(time_based_controller_t) | compute_controller |
Controller for when to run compute . | |
type(time_based_controller_t) | output_controller |
Controller for when to do output. | |
integer | order |
The execution order, lowest excutes first. | |
Definition at line 49 of file simulation_component.f90.
procedure, pass(this) simulation_component::simulation_component_t::compute | ( | class(simulation_component_t), intent(inout) | this, |
type(time_state_t), intent(in) | time | ||
) |
time | The current time. |
Definition at line 74 of file simulation_component.f90.
procedure, pass(this) simulation_component::simulation_component_t::compute_ | ( | class(simulation_component_t), intent(inout) | this, |
type(time_state_t), intent(in) | time | ||
) |
time | The current time. |
Definition at line 82 of file simulation_component.f90.
|
pure virtual |
Definition at line 78 of file simulation_component.f90.
procedure, pass(this) simulation_component::simulation_component_t::free_base | ( | class(simulation_component_t), intent(inout) | this | ) |
Definition at line 64 of file simulation_component.f90.
|
pure virtual |
Definition at line 76 of file simulation_component.f90.
procedure, pass(this) simulation_component::simulation_component_t::init_base | ( | class(simulation_component_t), intent(inout) | this, |
type(json_file), intent(inout) | json, | ||
class(case_t), intent(inout), target | case | ||
) |
Definition at line 62 of file simulation_component.f90.
procedure, pass(this) simulation_component::simulation_component_t::preprocess | ( | class(simulation_component_t), intent(inout) | this, |
type(time_state_t), intent(in) | time | ||
) |
time | The current time. |
Definition at line 70 of file simulation_component.f90.
procedure, pass(this) simulation_component::simulation_component_t::preprocess_ | ( | class(simulation_component_t), intent(inout) | this, |
type(time_state_t), intent(in) | time | ||
) |
time | The current time. |
Definition at line 80 of file simulation_component.f90.
procedure, pass(this) simulation_component::simulation_component_t::restart | ( | class(simulation_component_t), intent(inout) | this, |
type(time_state_t), intent(in) | time | ||
) |
time | The current time. |
Definition at line 67 of file simulation_component.f90.
procedure, pass(this) simulation_component::simulation_component_t::restart_ | ( | class(simulation_component_t), intent(inout) | this, |
type(time_state_t), intent(in) | time | ||
) |
time | The current time. |
Definition at line 84 of file simulation_component.f90.
Definition at line 51 of file simulation_component.f90.
type(time_based_controller_t) simulation_component::simulation_component_t::compute_controller |
Definition at line 55 of file simulation_component.f90.
integer simulation_component::simulation_component_t::order |
Definition at line 59 of file simulation_component.f90.
type(time_based_controller_t) simulation_component::simulation_component_t::output_controller |
Definition at line 57 of file simulation_component.f90.
type(time_based_controller_t) simulation_component::simulation_component_t::preprocess_controller |
Definition at line 53 of file simulation_component.f90.