コード例 #1
0
                /// <summary>
                /// Add a surface loop (a closed shell) formed by `surfaceTags'.  If `tag' is
                /// positive, set the tag explicitly; otherwise a new tag is selected
                /// automatically. Return the tag of the shell.
                /// </summary>
                public static int AddSurfaceLoop(int[] surfaceTags, int tag = -1)
                {
                    var index = Gmsh_Warp.GmshModelGeoAddSurfaceLoop(surfaceTags, surfaceTags.LongLength, tag, ref Gmsh._staticreff);

                    Gmsh.CheckException(MethodBase.GetCurrentMethod().MethodHandle);
                    return(index);
                }