Applied current density in the section of a type-II superconductor