FDTD simulation size: 85x632x23 --> 1.23556e+006 FDTD cells

FDTD timestep is: 4.25416e-014 s; Nyquist rate: 652 timesteps @1.80264e+010 Hz

Excitation signal length is: 9620 timesteps (4.0925e-010s)

Max. number of timesteps: 1000000000 ( --> 103950 * Excitation signal length)

The structure has a bandgap and when I do not know exact resonance frequency, it can finish without converging. Normally without an error, but with wrong S-params after many hours.

The strange thing is that it kills Octave.

with linspace(f_start,f_stop,801), I can not find minimums with min().

After investigation, I found that octave starts throwing

**error even when calling**

*"error: subscript indices must be either positive integers less than 2^31 or logicals"***!**

*min(2:8)*max(2:8) works well, however.

Whats wrong? Is it OpenEMS influencing Octave engine, or some strange Octave behavior I am not familiar with?