Note on the Galerkin and Papkovitch stress functions