Function fed_tau_internal

Function Documentation

int fed_tau_internal(const int n, const float scale, const float tau_max, const bool reordering, std::vector<float> &tau)

This function allocates an array of time steps and fills it with FED time step sizes The function returns the number of time steps per cycle or 0 on failure.

Parameters
  • n – Number of internal steps

  • scale – Ratio of t we search to maximal t

  • tau_max – Stability limit for the explicit scheme

  • reordering – Reordering flag

  • tau – The vector with the dynamic step sizes