Implements output_controller_t
|
subroutine | output_controller_init (this, time_end, size) |
| Constructor. More...
|
|
subroutine | output_controller_free (this) |
| Destructor. More...
|
|
subroutine | output_controller_add (this, out, write_par, write_control) |
| Add an output out to the controller. More...
|
|
subroutine | output_controller_execute (this, t, tstep, ifforce) |
| Query each of the controllers whether it is time to write, and if so, do so for the corresponding output. More...
|
|
subroutine | output_controller_set_counter (this, t) |
| Set write counter based on time (after restart) More...
|
|
subroutine | output_controller_set_write_count (this, counter) |
| Set write counter (after restart) explicitly. More...
|
|
◆ 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 |
|
) |
| |
|
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. |
Definition at line 131 of file output_controller.f90.
◆ output_controller_execute()
subroutine output_controller::output_controller_execute |
( |
class(output_controller_t), intent(inout) |
this, |
|
|
real(kind=rp), intent(in) |
t, |
|
|
integer, intent(in) |
tstep, |
|
|
logical, intent(in), optional |
ifforce |
|
) |
| |
|
private |
- Parameters
-
t | The time value. |
tstep | The current time-stepper iteration. |
ifforce | Whether to force a write. Optional, defaults to 0. |
Definition at line 213 of file output_controller.f90.
◆ output_controller_free()
subroutine output_controller::output_controller_free |
( |
class(output_controller_t), intent(inout) |
this | ) |
|
|
private |
◆ output_controller_init()
subroutine output_controller::output_controller_init |
( |
class(output_controller_t), intent(inout) |
this, |
|
|
real(kind=rp), intent(in) |
time_end, |
|
|
integer, intent(in), optional |
size |
|
) |
| |
- Parameters
-
time_end | The end time of thesimulation. |
size | The number of controllers to allocate for. Optional, defaults to 1. |
Definition at line 81 of file output_controller.f90.
◆ output_controller_set_counter()
subroutine output_controller::output_controller_set_counter |
( |
class(output_controller_t), intent(inout) |
this, |
|
|
real(kind=rp), intent(in) |
t |
|
) |
| |
|
private |
◆ output_controller_set_write_count()
subroutine output_controller::output_controller_set_write_count |
( |
class(output_controller_t), intent(inout) |
this, |
|
|
integer, intent(in) |
counter |
|
) |
| |
|
private |