Theoretical investigation on 3rd harmonic voltage in inductive measurements of critical current density in superconducting films