Magnetization processes in double-layer films for perpendicular recording