Globally hypoelliptic vector fields