We study the influence of boundary conditions on stationary, periodic patterns in one-dimensional systems. We show how a conceptual understanding of the structure of equilibria in large domains can be based on the characterization of boundary layers through displacement-strain curves. Most prominently, we distinguish wavenumber-selecting and phase-selecting boundary conditions and show how they...