Dimension independent programming. Boundary conditions.
