functiongetIndex

Function to get the index for the table look-up

Inputs

TypeNameDefaultDescription
RealtCurrent time
RealperiodTime period
Real[:]xTime stamps

Outputs

TypeNameDefaultDescription
IntegerkIndex in table