Defect is built as that in the semiconductor when some metal posts are withdrawn regularly from the two-dimensional (2D) photonic crystal (PC) formed by triangular arrays of metal posts. Such defect can be used to design cavity. The relation among the lat