[lammps-users] Calculation of elastic constant from the crystal frame to the sample frame

I have calculated elastic constant with the help of alogo which is present in lammps example folder but I have to rotate this elastic tenor to the sample frame x= [112], y= [111], z = [1 -1 0]. How to proceed as I am stuck?