Interface conditions for electromagnetic fields
Maxwell's equations describe the behavior of electric field, magnetic field, electric flux density and magnetic flux density. The differential forms of these equations require that there's always an open neighbourhood around the point they're applied to, otherwise the vector fields E, D, B and H are not differentiable. In other words the medium must be continuous. On the boundary of two different medium with different values for electrical permittivity and magnetic permeability that doesn't apply.
However the boundary conditions for the elecromagnetic field vectors can be derived from the integral forms of Maxwell's equations.
Boundary conditions for electric field vectors
For electric flux density
where:
is normal vector from medium 1 to medium 2.
is the surface charge between the media.
For electric field
where:
is normal vector from medium 1 to medium 2.
Boundary conditions for magnetic field vectors
For magnetic flux density
where:
is normal vector from medium 1 to medium 2.
For magnetic field
where:
is normal vector from medium 1 to medium 2.
is the surface current density between the two media.