Photonics

Photonics

RCWA Example

    • schinta3
      Subscriber

      Hello,

       

      I have been trying to modify this example https://optics.ansys.com/hc/en-us/articles/4416343906067

      However, even in the example, the following error is thrown: "struct does not contain a field named Fields" on line 77.

      The options structure is being passed to the rcwa solver correctly, as the max_N parameter appears correctly, however the field monitor positions do not. Is there a fix for this?

       

       

       

    • Guilin Sun
      Ansys Employee

      You may need to upgrade your version, as I tested the example and it works fine:

Viewing 1 reply thread
  • You must be logged in to reply to this topic.