Magnetic Boundary Conditions