60 class(
output_t),
intent(inout) :: this
61 real(kind=
rp),
intent(in) :: t
70 subroutine output_init(this, fname, precision, layout, overwrite)
71 class(
output_t),
intent(inout) :: this
72 character(len=*),
intent(inout) :: fname
73 integer,
intent(in),
optional :: precision
74 integer,
intent(in),
optional :: layout
75 logical,
intent(in),
optional :: overwrite
77 call this%file_%init(fname, precision = precision, layout = layout, &
78 overwrite = overwrite)
84 class(
output_t),
intent(inout) :: this
85 integer,
intent(in) :: n
86 call this%file_%set_counter(n)
91 class(
output_t),
intent(inout) :: this
92 integer,
intent(in) :: n
93 call this%file_%set_start_counter(n)
Abstract interface for sampling an output type at time t.
Module for file I/O operations.
integer, parameter, public rp
Global precision used in computations.
subroutine output_init(this, fname, precision, layout, overwrite)
Output constructor.
subroutine output_set_start_counter(this, n)
Update the start of output's file counter.
subroutine output_set_counter(this, n)
Update the output's file counter.
A wrapper around a polymorphic generic_file_t that handles its init. This is essentially a factory fo...
Wrapper around an output_t pointer.
Abstract type defining an output type.