This function searches for the right values in the periodic data read from file and interpolates them if needed.
Two different kinds of interpolation between the data tuples are available. \li \a 'none': No interpolation between the data points is performed. The data is evaluated as ]t1,t2] -> v1, ]t2,t3] -> v2, ... \li \a 'linear': The value is interpolated in a linear fashion from the provided data.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_from_file_temporal_type) | :: | me | datatype incl. the data read from file |
|||
type(tem_time_type), | intent(in) | :: | time | timer object incl. the current time information |
return value
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | iData | ||||
real(kind=rk), | private | :: | rPeriod | ||||
real(kind=rk), | private | :: | ratio | ||||
real(kind=rk), | private | :: | rRem |