/// <summary> /// Add a new model, with name `name', and set it as the current model. /// </summary> public void Add(string name) { GMshNativeMethods.gmshModelAdd(name, ref ierr); if (ierr != 0) { throw new GMshException(ierr); } }