64 class(
output_t),
intent(inout) :: this
65 real(kind=
dp),
intent(in) :: t
70 class(
output_t),
intent(inout) :: this
80 class(
output_t),
intent(inout) :: this
81 character(len=*),
intent(inout) :: fname
82 integer,
intent(in),
optional :: precision
83 integer,
intent(in),
optional :: layout
84 logical,
intent(in),
optional :: overwrite
86 call this%file_%init(fname, precision = precision, layout = layout, &
87 overwrite = overwrite)
90 call this%configure_file()
96 class(
output_t),
intent(inout) :: this
101 class(
output_t),
intent(inout) :: this
102 integer,
intent(in) :: n
103 call this%file_%set_counter(n)
108 class(
output_t),
intent(inout) :: this
109 integer,
intent(in) :: n
110 call this%file_%set_start_counter(n)
115 class(
output_t),
intent(inout) :: this
116 call this%file_%free()
Abstract interface for sampling an output type at time t.
Module for file I/O operations.
integer, parameter, public dp
subroutine output_configure_file(this)
Applies settings to the file (does nothing unless overridden).
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.