Strain energy in hybrid nanowire structures with axially varying eigenstrain. (1st November 2022)