Petascale self-consistent electromagnetic computations using scalable and accurate algorithms for complex structures.