Definition of a closed surface. Left: Some examples of closed surfaces include the surface of a sphere, surface of a torus, and surface of a cube. The magnetic flux through any of these surfaces is zero. Right: Some examples of non-closed surfaces include the disk surface, square surface, or hemisphere surface. They all have boundaries (red lines) and they do not fully enclose a 3D volume. The magnetic flux through these surfaces is not necessarily zero.