Contains the simcomp_executor_t
type.
|
type | simcomp_executor_t |
| 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...
|
|
|
subroutine | simcomp_executor_init (this, case, simcomp_root) |
| Constructor. More...
|
|
subroutine | simcomp_executor_free (this) |
| Destructor. More...
|
|
subroutine | simcomp_executor_add (this, object, settings) |
| Appending a new simcomp to the executor. More...
|
|
subroutine | simcomp_executor_finalize (this) |
| Finalize the initialization. Sorts the simcomps based on the order property. Additionally we check that the order is unique, contiguous, starts at 1 and within bounds. More...
|
|
subroutine | simcomp_executor_preprocess (this, t, tstep) |
| Execute preprocess_ for all simcomps. More...
|
|
subroutine | simcomp_executor_compute (this, t, tstep) |
| Execute compute_ for all simcomps. More...
|
|
subroutine | simcomp_executor_restart (this, t) |
| Execute restart for all simcomps. More...
|
|
pure integer function | simcomp_executor_get_n (this) |
| Get the number of simcomps. More...
|
|
◆ simcomp_executor_add()
subroutine simcomp_executor::simcomp_executor_add |
( |
class(simcomp_executor_t), intent(inout) |
this, |
|
|
class(simulation_component_t), intent(in) |
object, |
|
|
type(json_file), intent(inout), optional |
settings |
|
) |
| |
|
private |
- Parameters
-
new_object | The simcomp to append. |
settings | The settings for the simcomp. |
Definition at line 211 of file simcomp_executor.f90.
◆ simcomp_executor_compute()
subroutine simcomp_executor::simcomp_executor_compute |
( |
class(simcomp_executor_t), intent(inout) |
this, |
|
|
real(kind=rp), intent(in) |
t, |
|
|
integer, intent(in) |
tstep |
|
) |
| |
|
private |
◆ simcomp_executor_finalize()
subroutine simcomp_executor::simcomp_executor_finalize |
( |
class(simcomp_executor_t), intent(inout) |
this | ) |
|
|
private |
◆ simcomp_executor_free()
subroutine simcomp_executor::simcomp_executor_free |
( |
class(simcomp_executor_t), intent(inout) |
this | ) |
|
|
private |
◆ simcomp_executor_get_n()
pure integer function simcomp_executor::simcomp_executor_get_n |
( |
class(simcomp_executor_t), intent(in) |
this | ) |
|
|
private |
◆ simcomp_executor_init()
subroutine simcomp_executor::simcomp_executor_init |
( |
class(simcomp_executor_t), intent(inout) |
this, |
|
|
type(case_t), intent(inout), target |
case, |
|
|
character(len=*), intent(in), optional |
simcomp_root |
|
) |
| |
|
private |
- 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 90 of file simcomp_executor.f90.
◆ simcomp_executor_preprocess()
subroutine simcomp_executor::simcomp_executor_preprocess |
( |
class(simcomp_executor_t), intent(inout) |
this, |
|
|
real(kind=rp), intent(in) |
t, |
|
|
integer, intent(in) |
tstep |
|
) |
| |
|
private |
◆ simcomp_executor_restart()
subroutine simcomp_executor::simcomp_executor_restart |
( |
class(simcomp_executor_t), intent(inout) |
this, |
|
|
real(kind=rp), intent(in) |
t |
|
) |
| |
|
private |
◆ neko_simcomps