Library
A fast direct solver for scattering from periodic structures with multiple material interfaces in two dimensions