Piecewise smooth homeomorphisms of bounded domains and their applications to the theory of grids

Sufficient homeomorphicity conditions for a map between bounded domains are obtained under various assumptions on the smoothness of the map. These conditions are used to substantiate adaptive grid generation algorithms for domains of complex geometry. As an example, a grid is constructed and the currents are computed in a sea hay considered as a complex, multiply connected domain.