55 class(
output_t),
intent(inout) :: this
56 real(kind=
rp),
intent(in) :: t
66 class(
output_t),
intent(inout) :: this
67 character(len=*),
intent(inout) :: fname
68 integer,
intent(in),
optional :: precision
70 if (
present(precision))
then
71 this%file_ =
file_t(fname, precision=precision)
80 class(
output_t),
intent(inout) :: this
81 integer,
intent(in) :: n
82 call this%file_%set_counter(n)
87 class(
output_t),
intent(inout) :: this
88 integer,
intent(in) :: n
89 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...
Abstract type defining an output type.