Source code for solving following problem: given the intensity the TIE is solved numerically for the phase using finite element methods. Furthermore, the TPE is solved using the characteristic method as well as the vanishing viscosity method. (commit 6f0901bf)