Skip to main content
. 2017 May 24;11:34. doi: 10.3389/fninf.2017.00034

Table 2.

Parameters of the waveform-relaxation algorithm.

Parameter name Type Default Description
use_wfr bool true Boolean parameter to enable (true) or disable (false) the use of the waveform-relaxation technique. If disabled and any rate-based units (or neurons supporting gap junctions) are present, communication in every step is automatically activated (dmin = h).
wfr_comm_interval double 1.0 ms Instantaneous rate connections (and gap junctions) contribute to the calculation of the minimal network delay with min (dmin, wfr_comm_interval). This way the length of the iteration interval of the waveform relaxation can be regulated.
wfr_tol double 10−4 Convergence criterion for waveform relaxation. The iteration is stopped if the rates of all units change less than wfr_tol from one iteration to the next.
wfr_max_iterations int 15 Maximum number of iterations performed in one application of the waveform relaxation. If the maximum number of iterations has been carried out without reaching the accuracy goal the algorithm advances system time and the reference implementation issues a warning. Additional speed-up in the simulation of rate-based units can only be achieved by wfr_max_iterations < dmin/h.
wfr_interpolation_order int 3 This parameter is exclusively used for gap junctions (see Hahne et al., 2015, their Section 2.1.2) and has no influence on the simulation of rate-based models.

The different parameters of the waveform-relaxation algorithm together with their C++ data-type, default value, and a brief description.