60 class(
output_t),
intent(inout) :: this
61 real(kind=
rp),
intent(in) :: t
71 class(
output_t),
intent(inout) :: this
72 character(len=*),
intent(inout) :: fname
73 integer,
intent(in),
optional :: precision
75 if (
present(precision))
then
76 this%file_ =
file_t(fname, precision=precision)
85 class(
output_t),
intent(inout) :: this
86 integer,
intent(in) :: n
87 call this%file_%set_counter(n)
92 class(
output_t),
intent(inout) :: this
93 integer,
intent(in) :: n
94 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_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(this, fname, precision)
Output constructor.
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.