Using only regular hexahedrons to approximate surfaces

Yes, it’s like this. But can the cells near the cylindrical surface gradually decrease to fit closer to the surface, for example: