|
| procedure | init (this, json) |
| | Initialize the continuation scheduler from JSON defaults.
|
| |
| procedure | free (this) |
| | free continuation scheduler
|
| |
| procedure | json_get_or_register (this, json, name, target, value, default_value) |
| | Read a parameter from JSON and optionally register it for continuation. If the parameter is given as a scalar, its value is returned. If it is given as an array, the first entry is used as the initial value and the full array is registered for continuation. If the parameter is not found and no default_value is provided, the routine terminates with an error.
|
| |
| procedure | register_parameter (this, name, target, values, iterations) |
| | Register a continuation parameter.
|
| |
| procedure | update (this, iter) |
| | Update all registered parameters for the current iteration.
|
| |
| procedure | get_param_name (this, i) |
| | Get the name ith param in the scheduler.
|
| |
| procedure | get_n_params (this) |
| | Get the number of params in the scheduler.
|
| |
Definition at line 62 of file continuation_scheduler.f90.
◆ free()
◆ get_n_params()
◆ get_param_name()
◆ init()
◆ json_get_or_register()
| procedure continuation_scheduler::continuation_scheduler_t::json_get_or_register |
( |
class(continuation_scheduler_t), intent(inout) |
this, |
|
|
type(json_file), intent(inout) |
json, |
|
|
character(len=*), intent(in) |
name, |
|
|
real(kind=rp), intent(inout), target |
target, |
|
|
real(kind=rp), intent(out) |
value, |
|
|
real(kind=rp), intent(in), optional |
default_value |
|
) |
| |
- Parameters
-
| this | The continuation scheduler instance. |
| json | The json_file object. |
| name | The parameter name. |
| target | Variable that may be registered for continuation. |
| value | Returned value of the parameter. |
| default_value | Optional default value if the parameter is not found. |
Definition at line 68 of file continuation_scheduler.f90.
◆ register_parameter()
| procedure continuation_scheduler::continuation_scheduler_t::register_parameter |
( |
class(continuation_scheduler_t), intent(inout) |
this, |
|
|
character(len=*), intent(in) |
name, |
|
|
real(rp), intent(inout), target |
target, |
|
|
real(rp), dimension(:), intent(in) |
values, |
|
|
integer, intent(in), optional |
iterations |
|
) |
| |
◆ update()
◆ default_iterations
| integer continuation_scheduler::continuation_scheduler_t::default_iterations = 1 |
◆ params
The documentation for this type was generated from the following file: