Two-stage schwarz-christoffel and finite-element simulations: Modeling inhomogeneous dielectrics