This post is from a suggested group
Mex for Linux Matlab
Hi everyone, I'm running a MATLAB simulation using the WaveSim function. However, I'm having some issues using Mex. I run a small version of my simulation on my laptop, where I can use the Mex option. For my full-scale simulation, I run the code on a Linux-based cluster. Is there a Linux version of the Mex file I think it is mexa64 or is there a source file I could use to make this mexa64 file?
Thanks for the response. I checked the Brueker and Osnabrugge papers. But was curious cause those compare for low index contrast. Particularly the Brueker case fig 6 has a 3500x difference in time. @Swapnil you mention a factor 53 vs 3500. Both are solid improvement. Can you comment on why sometimes the speed increase vs FDTD is larger than in other cases? @Evangelos Marakis: From a user perspective I would say I care about the total volume I can simulate in reasonable times with reasonable accuracy. If FDTD needs finer meshing for that, it just factors into that total volume. More or less all methods struggle with high index contrast so it's nice to see you a comparative advantage also in those cases. The other tricky case is metals, where FDTD and others need even finer grid steps.