Critical currents of YBCO tapes and Bi-2212 wires at different temperatures and magnetic fields