Hi. I’d like to create a custom index perturbation material model. I’d like to write my own equations to compute delta_n and delta_alpha from the np density grid attribute. I need to use a more general Drude model to capture the effects of a dense electron-hole plasma (up to 10^22 cm-3). The model is similar to what you see in the paper linked below. To be clear, I am not interested in the generation aspect. I already have the necessary np density object instantiated in FDTD.
See equations 4 and 5 in the paper linked above. I wrote a script that calculates the delta_n and delta_alpha from the EHP density following this model. How do I implement this in FDTD? I have read a lot about the different material models and there doesn’t appear to be any clear way to do this. Does FDTD allow custom material models? Any help would be very greatly appreciated.