Esempio n. 1
0
 /// <summary>
 /// Generate a mesh of the current model, up to dimension `dim' (0, 1, 2 or 3).
 /// </summary>
 public void Generate(int dim = 3)
 {
     GMshNativeMethods.gmshModelMeshGenerate(dim, ref ierr);
     if (ierr != 0)
     {
         throw new GMshException(ierr);
     }
 }