예제 #1
0
 /// <summary>
 /// Set the field `tag' as the background mesh size field.
 /// </summary>
 public void SetAsBackgroundMesh(int tag)
 {
     GMshNativeMethods.gmshModelMeshFieldSetAsBackgroundMesh(tag, ref ierr);
     if (ierr != 0)
     {
         throw new GMshException(ierr);
     }
 }