Write Boundary Conditions For Magnetic Field