Open source codes developed by Prof. Shanhui Fan's and Prof. Philippe Lalanne's groups, respectively. These codes are based on RCWA method. S4 runs faster, but Reticolo is better documented.
Lumerical provides examples on waveguide design.
Very fast FDTD- and cloud-based solver for large scale metasurface design and optimization.