Loading [MathJax]/extensions/tex2jax.js
Neko 0.9.99
A portable framework for high-order spectral element flow simulations
All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros Pages
simulation_component.f90 File Reference

Go to the source code of this file.

Data Types

type  simulation_component::simulation_component_t
 Base abstract class for simulation components. More...
 
type  simulation_component::simulation_component_wrapper_t
 A helper type that is needed to have an array of polymorphic objects. More...
 
interface  simulation_component::simulation_component_init
 The common constructor using a JSON dictionary. More...
 
interface  simulation_component::simulation_component_free
 Destructor. More...
 
interface  simulation_component::simulation_component_allocate
 Simulation component factory. Both constructs and initializes the object. More...
 
type  simulation_component::allocator_entry
 Called in user modules to add an allocator for custom types. More...
 

Modules

module  simulation_component
 Simulation components are objects that encapsulate functionality that can be fit to a particular compute pattern.
 

Functions/Subroutines

subroutine simulation_component::simulation_component_init_base (this, json, case)
 Constructor for the simulation_component_t (base) class.
 
subroutine simulation_component::simulation_component_init_base_from_controllers_properties (this, case, order, preprocess_control, preprocess_value, compute_control, compute_value, output_control, output_value)
 Constructor for the simulation_component_t (base) class via the properties of the time_based_controller components.
 
subroutine simulation_component::simulation_component_init_base_from_controllers (this, case, order, preprocess_controller, compute_controller, output_controller)
 Constructor for the simulation_component_t (base) class from components.
 
subroutine simulation_component::simulation_component_parse_json (this, json, case_params, preprocess_control, preprocess_value, compute_control, compute_value, output_control, output_value)
 Parse JSON to determine the properties of the time_based_controllers.
 
subroutine simulation_component::simulation_component_free_base (this)
 Destructor for the simulation_component_t (base) class.
 
subroutine simulation_component::simulation_component_preprocess_wrapper (this, time)
 Wrapper for calling preprocess_ based on the preprocess_controller. Serves as the public interface.
 
subroutine simulation_component::simulation_component_compute_wrapper (this, time)
 Wrapper for calling compute_ based on the compute_controller. Serves as the public interface.
 
subroutine simulation_component::simulation_component_restart_wrapper (this, time)
 Wrapper for calling set_counter_ based for the controllers.
 
subroutine simulation_component::restart_ (this, time)
 Dummy restart function.
 
subroutine simulation_component::preprocess_ (this, time)
 Dummy preprocessing function.
 
subroutine simulation_component::compute_ (this, time)
 Dummy compute function.
 

Variables

type(allocator_entry), dimension(:), allocatable simulation_component::simcomp_registry
 Registry of allocators for user-defined types.
 
integer simulation_component::simcomp_registry_size = 0
 The size of the simulation_component_registry