Datatype for storage
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=GP), | public, | allocatable, dimension(:,:,:) | :: | vstore |
Values of storage (ndim, nstorage, nfields) |
Initialises a Karniadakis scheme
| Type | Intent | Optional | 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) |
Returns ndim
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(multistep_storage_t), | intent(in) | :: | self |
Instance of the type |
Returns nstorage
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(multistep_storage_t), | intent(in) | :: | self |
Instance of the type |
Returns nfields
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(multistep_storage_t), | intent(in) | :: | self |
Instance of the type |
Shifts storage and vals_new will be placed at vsore(:,1,:)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(multistep_storage_t), | intent(inout) | :: | self |
Instance of the type |
||
| real(kind=GP), | intent(in), | dimension(self%ndim, self%nfields) | :: | vals_new |
New storage value |