Trapped thickness-shear modes in a contoured, partially electroded AT-cut quartz resonator