Magnetoenhancement of superconductivity in composite d -wave superconductors