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...
|
| procedure, pass(this) | init (this, case, simcomp_root) |
| | Constructor.
|
| procedure, pass(this) | free (this) |
| | Destructor.
|
| procedure, pass(this) | preprocess (this, time) |
| | Execute preprocess_ for all simcomps.
|
| procedure, pass(this) | compute (this, time) |
| | Execute compute_ for all simcomps.
|
| procedure, pass(this) | restart (this, time) |
| | Execute restart for all simcomps.
|
| procedure, pass(this) | time_to_next (this, time) |
| | The time until the next scheduled execution of any simcomp.
|
| procedure, pass(this) | get_n (this) |
| | Get the number of simcomps.
|
|
| procedure, pass(this), private | finalize (this) |
| | Finalize the initialization.
|
|
| integer, private | n_simcomps |
| | Number of simcomps.
|
| logical, private | finalized = .false. |
| | Flag to indicate if the simcomp executor has been finalized.
|
Definition at line 53 of file simcomp_executor.f90.
◆ compute()
| procedure, pass(this) simcomp_executor::simcomp_executor_t::compute |
( |
class(simcomp_executor_t), intent(inout) | this, |
|
|
type(time_state_t), intent(in) | time ) |
◆ finalize()
| procedure, pass(this), private simcomp_executor::simcomp_executor_t::finalize |
( |
class(simcomp_executor_t), intent(inout) | this | ) |
|
|
private |
◆ free()
| procedure, pass(this) simcomp_executor::simcomp_executor_t::free |
( |
class(simcomp_executor_t), intent(inout) | this | ) |
|
◆ get_n()
| procedure, pass(this) simcomp_executor::simcomp_executor_t::get_n |
( |
class(simcomp_executor_t), intent(in) | this | ) |
|
◆ init()
| procedure, pass(this) simcomp_executor::simcomp_executor_t::init |
( |
class(simcomp_executor_t), intent(inout) | this, |
|
|
type(case_t), intent(inout), target | case, |
|
|
character(len=*), intent(in), optional | simcomp_root ) |
- Parameters
-
| case | The case. |
| simcomp_root | The root name of the simulation components in the case. If not provided, the default is 'case.simulation_components'. |
Definition at line 65 of file simcomp_executor.f90.
◆ preprocess()
| procedure, pass(this) simcomp_executor::simcomp_executor_t::preprocess |
( |
class(simcomp_executor_t), intent(inout) | this, |
|
|
type(time_state_t), intent(in) | time ) |
◆ restart()
| procedure, pass(this) simcomp_executor::simcomp_executor_t::restart |
( |
class(simcomp_executor_t), intent(inout) | this, |
|
|
type(time_state_t), intent(in) | time ) |
◆ time_to_next()
| procedure, pass(this) simcomp_executor::simcomp_executor_t::time_to_next |
( |
class(simcomp_executor_t), intent(in) | this, |
|
|
type(time_state_t), intent(in) | time ) |
◆ case
| type(case_t), pointer simcomp_executor::simcomp_executor_t::case |
◆ finalized
| logical, private simcomp_executor::simcomp_executor_t::finalized = .false. |
|
private |
◆ n_simcomps
| integer, private simcomp_executor::simcomp_executor_t::n_simcomps |
|
private |
◆ simcomps
The documentation for this type was generated from the following file: