Two-point boundary conditions