Particle swarm optimization of GaAs-AlGaAS nanowire photonic crystals as two-dimensional diffraction gratings for light trapping. (1st June 2022)