Function fed_tau_by_process_time

Function Documentation

int fed_tau_by_process_time(const float T, const int M, const float tau_max, const bool reordering, std::vector<float> &tau)

This function allocates an array of the least number of time steps such that a certain stopping time for the whole process can be obtained and fills it with the respective FED time step sizes for one cycle The function returns the number of time steps per cycle or 0 on failure.

  • T – Desired process stopping time

  • M – Desired number of cycles

  • tau_max – Stability limit for the explicit scheme

  • reordering – Reordering flag

  • tau – The vector with the dynamic step sizes