The book Bernoulli potential in superconductors will help you to understand superconductivity. Here you can download program calculating vortex lattice.