Simplified constant generation of the gridGeneration class.