A simple and efficient adaptive mesh generation algorithm is proposed for t
he full-wave finite-element analysis of optical waveguides using edge/nodal
hybrid elements. We employ a local weight defined by a difference between
the fundamental and the higher order element solutions, This method can be
used for both the guided-mode analysis and the beam-propagation analysis, T
o show the validity and usefulness of the present scheme, the guided-mode a
nalysis of a rib waveguide and the beam-propagation analysis of a Y-branchi
ng polarization converter based on hybrid supermodes are performed.