示例#1
0
文件: Fltk.cs 项目: msruzy/Gmsh.Net
 /// <summary>
 /// Run the event loop of the graphical user interface, i.e. repeatedly call
 /// `wait()'. First automatically create the user interface if it has not yet
 /// been initialized. Can only be called in the main thread.
 /// </summary>
 public void Run()
 {
     GMshNativeMethods.gmshFltkRun(ref ierr);
     if (ierr != 0)
     {
         throw new GMshException(ierr);
     }
 }