Implements output_controller_t
|
| subroutine | output_controller_init (this, time_end, size) |
| | Constructor.
|
| |
| subroutine | output_controller_free (this) |
| | Destructor.
|
| |
| subroutine | output_controller_add (this, out, write_par, write_control, start_time) |
| | Add an output out to the controller.
|
| |
| subroutine | output_controller_execute (this, time, ifforce) |
| | Query each of the controllers whether it is time to write, and if so, do so for the corresponding output.
|
| |
| subroutine | output_controller_set_counter (this, time) |
| | Set write counter based on time (after restart)
|
| |
| subroutine | output_controller_set_write_count (this, counter) |
| | Set write counter (after restart) explicitly.
|
| |
◆ output_controller_add()
| subroutine output_controller::output_controller_add |
( |
class(output_controller_t), intent(inout) |
this, |
|
|
class(output_t), intent(inout), target |
out, |
|
|
real(kind=rp), intent(in) |
write_par, |
|
|
character(len=*), intent(in) |
write_control, |
|
|
real(kind=rp), intent(in), optional |
start_time |
|
) |
| |
|
private |
- Parameters
-
| out | The output to add. |
| write_par | The output frequency value, in accordance with write_control. |
| write_control | Determines the meaning of write_par. Accepts the usual list of control options. |
| start_time | When to start writing the output |
Definition at line 134 of file output_controller.f90.
◆ output_controller_execute()
- Parameters
-
| t | The time value. |
| tstep | The current time-stepper iteration. |
| ifforce | Whether to force a write. Optional, defaults to 0. |
Definition at line 228 of file output_controller.f90.
◆ output_controller_free()
◆ output_controller_init()
- Parameters
-
| time_end | The end time of the simulation. |
| size | The number of controllers to allocate for. Optional, defaults to 1. |
Definition at line 83 of file output_controller.f90.
◆ output_controller_set_counter()
◆ output_controller_set_write_count()