Abstract: Traditional electromagnetic (EM)-based design optimizations typically treat the EM simulation as a black-box and use optimization algorithms to externally drive EM simulations iteratively.