  Despite the rapidly evolving field of computational electromagnetics, few
open-source tools have managed to tackle the problem of automatic mesh
generation for properly discretizing the problem of interest into a finite set
of elements (cells). While several mesh generation algorithms have been
established in the field of computational physics, the vast majority of such
tools are targeted solely towards tetrahedral mesh formation, with the intended
primary application being the finite element method. In this work, a
computationally efficient non-uniform structured (rectilinear) mesh generation
algorithm for electromagnetic simulations is presented. We examine the speed,
performance and adaptability against previous work, and we evaluate its
robustness against a complex geometry case with a commercially-generated grid.
The mesh and simulation results produced using the generated grids of the
proposed method are found to be in solid agreement.
