Transmission of longitudinal optical phonons through a barrier in uniaxial crystals