42 integer,
private :: len = 0
61 type(
field_t),
intent(inout),
target :: f
63 character(len=80) :: name
64 character(len=5) :: id_str
72 allocate(this%lf(len))
75 write(id_str,
'(I0)') i
76 name = trim(f%name)//
'_lag'//id_str
77 call this%lf(i)%init(this%f%dof, name)
87 if (
associated(this%f))
then
92 call this%lf(i)%free()
109 do i = this%len, 2, -1
110 this%lf(i) = this%lf(i-1)
subroutine field_series_set(this, g)
Set all fields in a series to g.
subroutine field_series_update(this)
Update a field series (evict oldest entry)
integer function field_series_size(this)
Return the size of the field series.
subroutine field_series_free(this)
Deallocates a field series.
subroutine field_series_init(this, f, len)
Initialize a field series of length len for a field f.
field_series_ptr_t, To easily obtain a pointer to a field series