← Back to team overview

python-meep team mailing list archive

Custom-src

 

Hello Python Meep users,

I am trying to generate a custom source from a large set of discrete data.
Although it is a depreciated procedure, one can efficiently define a
material function with inline C.  Is there a way to use inline C to load my
data and define my custom source function in a way that will run
efficiently in Meep or am I better off writing these type of scripts in the
Meep C++ interface.

Best,
Eric

Follow ups