Closed pingpongballz closed 2 years ago
Hi @pingpongballz ,
My apologies for my very late answer. I wanted to re-derive the equations and then forgot about this issue. It seems you are indeed correct! There is a 1/c factor missing. I have updated the code and the README.
Hi,
I was browsing through
objects.py
when I came upon this, lines 192-199,which is
f = 0.5*sc*inv(ε)*σe*du/ε0
In https://github.com/flaport/fdtd#lossy-medium, the following is written:by taking
dt = sc * du/c
I can expandf = (0.5*sc*inv(ε)*σe*du)/(ε0*c)
My question is, why wasn't 1/speed of light,
1/c
included inself.absorption_factor
? There must be something I'm missing, right?Any clarification to my confusion would be most appreciated 😄