Neko  0.8.1
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...

Public Member Functions

procedure, pass(this) init => simcomp_executor_init
 Constructor. More...
 
procedure, pass(this) free => simcomp_executor_free
 Destructor. 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...
 

Public Attributes

class(simulation_component_wrapper_t), dimension(:), allocatable simcomps
 The simcomps. More...
 
integer, dimension(:), allocatable order
 Index array defining the order of execution, i.e. simcomps(order(1)) is first to execute, and so on. More...
 

Detailed Description

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.

Definition at line 51 of file simcomp_executor.f90.

Member Function/Subroutine Documentation

◆ compute()

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

Execute compute_ for all simcomps.

Definition at line 63 of file simcomp_executor.f90.

◆ free()

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

Destructor.

Definition at line 61 of file simcomp_executor.f90.

◆ init()

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

Constructor.

Definition at line 59 of file simcomp_executor.f90.

◆ restart()

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

Execute restart for all simcomps.

Definition at line 65 of file simcomp_executor.f90.

Member Data Documentation

◆ order

integer, dimension(:), allocatable simcomp_executor::simcomp_executor_t::order

Index array defining the order of execution, i.e. simcomps(order(1)) is first to execute, and so on.

Definition at line 56 of file simcomp_executor.f90.

◆ simcomps

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

The simcomps.

Definition at line 53 of file simcomp_executor.f90.


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