Neko  0.9.0
A portable framework for high-order spectral element flow simulations
simcomp_executor::simcomp_executor_t Type Reference

Singleton type that serves as a driver for the simulation components. Stores all the components in the case and provides an interface matching that of a single simcomp, which executes the corresponding routines for each stored simcomp. The execution order is based on the order property of each simcomp. By default, the order is by the order of apparence in the case file. More...

Collaboration diagram for simcomp_executor::simcomp_executor_t:

Public Member Functions

procedure, pass(this) init => simcomp_executor_init
 Constructor. More...
 
procedure, pass(this) free => simcomp_executor_free
 Destructor. More...
 
procedure, pass(this) add_user_simcomp => simcomp_executor_add
 Appending a new simcomp to the executor. More...
 
procedure, pass(this) preprocess => simcomp_executor_preprocess
 Execute preprocess_ for all simcomps. More...
 
procedure, pass(this) compute => simcomp_executor_compute
 Execute compute_ for all simcomps. More...
 
procedure, pass(this) restart => simcomp_executor_restart
 Execute restart for all simcomps. More...
 
procedure, pass(this) get_n => simcomp_executor_get_n
 Get the number of simcomps. More...
 

Public Attributes

class(simulation_component_wrapper_t), dimension(:), allocatable simcomps
 The simcomps. More...
 

Private Member Functions

procedure, pass(this), private finalize => simcomp_executor_finalize
 Finalize the initialization. More...
 

Private Attributes

integer, private n_simcomps
 Number of simcomps. More...
 
type(case_t), pointer, private case
 The case. More...
 
logical, private finalized = .false.
 Flag to indicate if the simcomp executor has been finalized. More...
 

Detailed Description

Definition at line 52 of file simcomp_executor.f90.

Member Function/Subroutine Documentation

◆ add_user_simcomp()

procedure, pass(this) simcomp_executor::simcomp_executor_t::add_user_simcomp

Definition at line 68 of file simcomp_executor.f90.

◆ compute()

procedure, pass(this) simcomp_executor::simcomp_executor_t::compute

Definition at line 72 of file simcomp_executor.f90.

◆ finalize()

procedure, pass(this), private simcomp_executor::simcomp_executor_t::finalize
private

Definition at line 76 of file simcomp_executor.f90.

◆ free()

procedure, pass(this) simcomp_executor::simcomp_executor_t::free

Definition at line 66 of file simcomp_executor.f90.

◆ get_n()

procedure, pass(this) simcomp_executor::simcomp_executor_t::get_n

Definition at line 78 of file simcomp_executor.f90.

◆ init()

procedure, pass(this) simcomp_executor::simcomp_executor_t::init

Definition at line 64 of file simcomp_executor.f90.

◆ preprocess()

procedure, pass(this) simcomp_executor::simcomp_executor_t::preprocess

Definition at line 70 of file simcomp_executor.f90.

◆ restart()

procedure, pass(this) simcomp_executor::simcomp_executor_t::restart

Definition at line 74 of file simcomp_executor.f90.

Member Data Documentation

◆ case

type(case_t), pointer, private simcomp_executor::simcomp_executor_t::case
private

Definition at line 59 of file simcomp_executor.f90.

◆ finalized

logical, private simcomp_executor::simcomp_executor_t::finalized = .false.
private

Definition at line 61 of file simcomp_executor.f90.

◆ n_simcomps

integer, private simcomp_executor::simcomp_executor_t::n_simcomps
private

Definition at line 57 of file simcomp_executor.f90.

◆ simcomps

class(simulation_component_wrapper_t), dimension(:), allocatable simcomp_executor::simcomp_executor_t::simcomps

Definition at line 55 of file simcomp_executor.f90.


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