예제 #1
0
 /// <summary>
 /// Set a transfinite meshing constraint on the curve `tag', with `numNodes'
 /// nodes distributed according to `meshType' and `coef'. Currently
 /// supported types are "Progression" (geometrical progression with power
 /// `coef') and "Bump" (refinement toward both extremities of the curve).
 /// </summary>
 public static void SetTransfiniteCurve(int tag, int nPoints, string meshType = "Progression", double coef = 1)
 {
     Gmsh_Warp.GmshModelGeoMeshSetTransfiniteCurve(tag, nPoints, meshType, coef, ref Gmsh._staticreff);
     Gmsh.CheckException(MethodBase.GetCurrentMethod().MethodHandle);
 }