Galerkin solution of the inverse problem for aquifer transmissivity