Refraction
Electrodynamics
Refraction occurs when an electromagnetic wave transitions between two different medium of different optical indexes. In a linear medium, this corresponds to the Maxwell equations
\begin{eqnarray} \vec{\nabla} \cdot \vec{E} &=& \frac{\rho}{\varepsilon} \end{eqnarray}