electric field boundary conditions