/// <summary> /// Awake the main user interface thread and process pending events, and /// optionally perform an action (currently the only `action' allowed is /// "update"). /// </summary> public void Awake(string action = "") { GMshNativeMethods.gmshFltkAwake(action, ref ierr); if (ierr != 0) { throw new GMshException(ierr); } }