Hello Thorsten,
another excitation-related question:
How are excitations loaded / introduced into the FDTD domain? I find all the sources located in the .xml file that are then supposedly read again for initialization of the simulation. I need up to several hundred stacked excitations with time delayed activation of the (custom) source function to represent a lightning channel. I observed that the initialization becomes very slow (up to several hours) whereas the simulation itself might be done within an hour.
What do you think is the reason for this slow init process and would it be possible to introduce many excitations more efficiently into the grid?
If you can give me any hints, maybe I find a way to implement a more efficient routine...
Many thanks in advance!
Best regards,
Hannes
Accelerate initialization of many excitations
Moderator: thorsten
Re: Accelerate initialization of many excitations
Here an example of a slow initialization with 400 Custom excitation objects:
Best regards,
Hannes
... it takes about 8-9 minutes on my laptop.Best regards,
Hannes
Re: Accelerate initialization of many excitations
I think I was able to speedup the setup quit a lot. Please give the latest build a try.
I certainly need to make sure this has no unwanted side effect as this is a change in a dangerous place...
regards
Thorsten
I certainly need to make sure this has no unwanted side effect as this is a change in a dangerous place...
regards
Thorsten
Re: Accelerate initialization of many excitations
Hi Thorsten,
sorry for getting back to the topic so late.
Thank you very much - the performance boost is enormous!
Were you able to validate that no side effects have been evoked due to the code adaption?
Best,
Hannes
sorry for getting back to the topic so late.
Thank you very much - the performance boost is enormous!
Were you able to validate that no side effects have been evoked due to the code adaption?
Best,
Hannes
Re: Accelerate initialization of many excitations
I it seems to work it should be good 
