Nonlinear Optics Simulation #4923
-
I noticed that Warpx could setting a set of "macroscopic.sigma_function(x,y,z), macroscopic.epsilon_function(x,y,z) and/or macroscopic.mu_function(x,y,z)" functions in "em_solver_medium" module. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, that would definitely work. I think we do not yet have support to pass a complex function to these local material properties, but otherwise this should be easy to add to WarpX. For injecting a light source, our current approach using an antenna should work for this as well. |
Beta Was this translation helpful? Give feedback.
Yes, that would definitely work.
I think we do not yet have support to pass a complex function to these local material properties, but otherwise this should be easy to add to WarpX.
For instance, one could add extra inputs for the imaginary part and update the macroscopic solvers slightly.
For injecting a light source, our current approach using an antenna should work for this as well.