Improved fast edge and facet finding algorithms for the RWG and SWG basis functions

The edges/facets shared by two adjacent triangular/tetrahedral elements are necessary for the RWG/SWG basis functions. Two improved fast algorithms with linear complexities for finding the shared edges/facets from the data of mesh generators are presented in this paper, which can be employed for easy constructions of universal simulation tools and for problem tests in computational electromagnetics researches.