
Houses cut sine signal class - periodic signal with passed period, interpeting params(1) and params(2) as the point in the period when the signal turns on/off, and is the shape of a half-sine
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(CutSineSignal), | intent(inout) | :: | this | |||
| real(kind=rk), | intent(in) | :: | time | |||
| real(kind=rk), | intent(in) | :: | period | |||
| real(kind=rk), | intent(in), | optional, | dimension(:) | :: | params |
Periodic signal where in params(1) and params(2) are between 0 and 1. Returns half-sine if params(1)
| procedure, public :: calculate => calculateCutSine |