First of all thank you very much for the quick replies Lucas and Jean-Paul.
I should have been a little more specific. In my case, I obtain the integrated force, which refers to a cellsurface. So, I dont't get the total force for my whole surface and the force is only the same for every quadrature point of one cellface (uniformly distributed on one cellface). I just wanted to make sure that this approach makes sense. For simple geometries (no curved boundaries) the function measure() should work fine. It might be important to catch also the case of curved edges. I think for this case I can integrate the function 1 over the current domain, like already mentioned in the descripion of the function measure().
Best regards,
David