The variable ewfd.Atotal, where
ewfd is the physics tag, was previously defined to include both loss due to material absorption and outcoupling loss due to radiation that reached ports (of slit type) but did not match the port mode fields. From this release, those two contributions are split into two variables:
ewfd.Atotal, includes the loss due to absorption in domains and at boundaries, whereas a new variable,
ewfd.Lsca, accounts for the scattering loss, such as the loss due to radiation not matching the port mode fields. The
ewfd.Lsca variable also includes the loss due to power flowing into
Perfectly Match Layer domains.
The ewfd.Atotal variable was previously available from the
Ports category in variable context menus. Now, it is available from the
Heating and losses category.
The Slit Type parameter in the settings for the
Port feature has changed from
PEC-backed to
Domain-backed. This change has consequences for models generated by API code. If the code previously did not explicitly set the
Slit Type parameter for the port, the slit type would be PEC-backed. Now, the same code will get the Domain-backed slit type. To get PEC-backed slit type behavior, manually add a Java statement similar to this one