/// <summary> /// Refine the mesh of the current model by uniformly splitting the elements. /// </summary> public void Refine() { GMshNativeMethods.gmshModelMeshRefine(ref ierr); if (ierr != 0) { throw new GMshException(ierr); } }