public void Synchronize() { GMshNativeMethods.gmshModelGeoSynchronize(ref ierr); if (ierr != 0) { throw new GMshException(ierr); } }