Analysis and Approximation of the Ginzburg–Landau Model of Superconductivity