예제 #1
0
 /// <summary>
 /// Set a reverse meshing constraint on the model entity of dimension `dim'
 /// and tag `tag'. If `val' is true, the mesh orientation will be reversed
 /// with respect to the natural mesh orientation (i.e. the orientation
 /// consistent with the orientation of the geometry). If `val' is false, the
 /// mesh is left as-is.
 /// </summary>
 public static void SetReverse(int dim, int tag, bool val = true)
 {
     Gmsh_Warp.GmshModelGeoMeshSetReverse(dim, tag, Convert.ToInt32(val), ref Gmsh._staticreff);
     Gmsh.CheckException(MethodBase.GetCurrentMethod().MethodHandle);
 }