init_storage Interface

interface
public module subroutine init_storage(self, ndim, nstorage, nfields, vstore_firsts)

Arguments

Type IntentOptional Attributes Name
class(multistep_storage_t), intent(inout) :: self

Instance of the type

integer, intent(in) :: ndim

Dimension of storage values

integer, intent(in) :: nstorage

Number of storage points

integer, intent(in) :: nfields

Number of fields to be stored

real(kind=GP), intent(in), optional, dimension(ndim, nstorage, nfields) :: vstore_firsts

Initial values for storage (default = 0)

Description

Initialises a Karniadakis scheme