| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=dp), | public, | allocatable | :: | time(:) |
time events (points of interpolation) |
||
| real(kind=dp), | public, | allocatable | :: | offset(:,:) |
offset values (points of interpolation) |
||
| real(kind=dp), | public, | allocatable | :: | gain(:,:) |
gain values for 0th order simply 1 |
||
| real(kind=dp), | public, | allocatable | :: | x(:) |
spatial coordinates |
||
| integer, | public | :: | i | = | 1 |
last index (starting point for iteration) |
|
| type(simulation_t), | public, | pointer | :: | sim | |||
| type(c_funptr), | public | :: | init_signal_ext_ptr | = | C_NULL_FUNPTR | ||
| character(len=:), | public, | allocatable | :: | cfg_str | |||
| type(c_funptr), | public | :: | sign_ptr | = | C_NULL_FUNPTR | ||
| type(c_ptr), | public | :: | val_cfg | = | C_NULL_PTR | ||
| procedure(itf_signal), | public, | pointer, nopass | :: | val_fpt | => | null() | |
| procedure(init_signal_ext_if), | public, | pointer, nopass | :: | init_signal_ext | => | null() |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(signal_t), | intent(inout) | :: | me | |||
| type(simulation_t), | intent(inout), | target | :: | sim | ||
| type(input_t), | intent(in) | :: | input_cfg | |||
| character(len=*), | intent(in) | :: | key | |||
| real(kind=dp), | intent(in), | optional | :: | x(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(signal_t), | intent(inout) | :: | me |
interpolated value
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(signal_t), | intent(inout) | :: | me |
interpolated value
type :: signal_t real(dp), allocatable :: time(:) !! time events (points of interpolation) real(dp), allocatable :: offset(:,:) !! offset values (points of interpolation) real(dp), allocatable :: gain(:,:) !! gain values for 0th order simply 1 real(dp), allocatable :: x(:) !! spatial coordinates integer :: i = 1 !! last index (starting point for iteration) type(simulation_t), pointer :: sim type(c_funptr) :: init_signal_ext_ptr = C_NULL_FUNPTR character(:), allocatable :: cfg_str type(c_funptr) :: sign_ptr = C_NULL_FUNPTR type(c_ptr) :: val_cfg = C_NULL_PTR procedure(itf_signal), pointer, nopass :: val_fpt => null() procedure(init_signal_ext_if), pointer, nopass :: init_signal_ext => null() contains procedure :: init => signal_init procedure :: v1d => signal_v1d procedure :: v0d => signal_v0d end type signal_t