If I add the following line to a working simulation but do not define a primitive then I get a Segemtation fault.
sheet = csx.AddConductingSheet('Carbon_fiber', conductivity=2, thickness=1e-3)
Its a simple mistake to make and the FDTD simulator warns you of the error but then continues with the simulation and finishes with the fault.
----------------------------------------------------------------------
| openEMS 64bit -- version v0.0.36-82-g8a008a4
| (C) 2010-2023 Thorsten Liebig <thorsten.liebig@gmx.de> GPL license
----------------------------------------------------------------------
Used external libraries:
CSXCAD -- Version: v0.6.3-43-g3c24814
hdf5 -- Version: 1.10.7
compiled against: HDF5 library version: 1.10.7
tinyxml -- compiled against: 2.6.2
fparser
boost -- compiled against: 1_74
vtk -- Version: 9.1.0
compiled against: 9.1.0
Create FDTD operator (compressed SSE + multi-threading)
FDTD simulation size: 57x24x270 --> 369360 FDTD cells
FDTD timestep is: 2.40804e-13 s; Nyquist rate: 79 timesteps @2.62833e+10 Hz
Excitation signal length is: 3966 timesteps (9.55029e-10s)
Max. number of timesteps: 10000 ( --> 2.52143 * Excitation signal length)
openEMS::SetupFDTD: Warning, max. number of timesteps is smaller than three times the excitation.
You may want to choose a higher number of max. timesteps...
Create FDTD engine (compressed SSE + multi-threading)
Warning: No primitives found in property: Carbon_fiber!
Running FDTD engine... this may take a while... grab a cup of coffee?!?
[@ 4s] Timestep: 2983 || Speed: 274.6 MC/s (1.345e-03 s/TS) || Energy: ~1.02e-21 (- 0.00dB)
[@ 8s] Timestep: 6707 || Speed: 342.3 MC/s (1.079e-03 s/TS) || Energy: ~1.06e-29 (-79.85dB)
Time for 6707 iterations with 369360.00 cells : 8.03 sec
Speed: 308.47 MCells/s
Segmentation fault (core dumped)
If I add the following line to a working simulation but do not define a primitive then I get a Segemtation fault.
sheet = csx.AddConductingSheet('Carbon_fiber', conductivity=2, thickness=1e-3)Its a simple mistake to make and the FDTD simulator warns you of the error but then continues with the simulation and finishes with the fault.