An alternative Galerkin formulation for streamline problems