62 class(
output_t),
intent(inout) :: this
63 real(kind=
rp),
intent(in) :: t
68 class(
output_t),
intent(inout) :: this
78 class(
output_t),
intent(inout) :: this
79 character(len=*),
intent(inout) :: fname
80 integer,
intent(in),
optional :: precision
81 integer,
intent(in),
optional :: layout
82 logical,
intent(in),
optional :: overwrite
84 call this%file_%init(fname, precision = precision, layout = layout, &
85 overwrite = overwrite)
91 class(
output_t),
intent(inout) :: this
92 integer,
intent(in) :: n
93 call this%file_%set_counter(n)
98 class(
output_t),
intent(inout) :: this
99 integer,
intent(in) :: n
100 call this%file_%set_start_counter(n)
105 class(
output_t),
intent(inout) :: this
106 call this%file_%free()
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_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.
subroutine output_init_base(this, fname, precision, layout, overwrite)
Output constructor.
subroutine output_free_base(this)
Free the output.
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.