Surface integral of a scalar field