Some details of the Galerkin finite element method