May 29, 2023 at 9:29 pm
Ansys Employee
Hello,
1) It is possible to use a Gaussian or plane wave source, but the figure of merit needs to be the power in mode. This is a bit of an aside, but the adjoint source needs to be a mode source, which is not fundamental to the adjoint method, but the way lumopt is implemented is limited to guided mode photonics.
2)I think when using co-optimization you can use two separate scripts if needed to create two different set-ups, or specify the sources separately.
To make two files with different set-ups simply pass differnt scripts to the opt class, using the script_name parameter, for the second use the source_name parameter.