Pinning with a variable magnetic field of the two dimensional Ginzburg–Landau model. (July 2016)