Interpretation of boundary conditions in the analytical and numerical shell solutions for mode analysis of multilayered structures