I'm losing my mind here. Consider $\Omega=S_1$, a circle, but could be any (1D) closed manifold. Now $\phi$ is my angle, parametrizing the circle. I define the angle to be $\phi\in [0,2\pi[$ and I want to calculate the following integral in two ways: $$\int_\Omega \phi\partial_\phi c,$$ where $c$ is a constant. Direct evaluation gives me 0.
Integration by parts (or Green Identity) gives me instead $$\int_{\partial\Omega}\phi c\, -\int_\Omega c.$$ If we were on a line, this would be 0. But since there is no boundary, we instead just get $2\pi c$!
Can someone explain what I am overlooking?