Guilin Sun
Ansys Employee

It is in this page

This method is suggested to be used for photonic inverse design, not for every simulation, as it uses some kind of average method.

I strongly suggest you to use conformal meshing methods:

To reduece the difference, you may need to use finer mesh.