Theory of anchoring on a two-dimensionally grooved surface.