Solution of the Dirichlet problem for the Laplace equation in general cylinder.