add gratingmode solver