Resonant energy transfer and cross relaxation between Sm3+ ions in LiYF4 crystals