On certain surfaces with given Gaussian curvature in the theory of defects in crystals