mesh function

Builds a mesh from a design aor set of points

Builds a mesh from a design aor set of points

mesh(intervals, mesh.type = "seq", mesh.sizes = 11)

Arguments

  • intervals: bounds to inverse in, each column contains min and max of each dimension
  • mesh.type: function or "unif" or "seq" (default) or "LHS" to preform interval partition
  • mesh.sizes: number of parts for mesh (duplicate for each dimension if using "seq")

Returns

delaunay mesh (list(p,tri,...) from geometry)

Examples

mesh = mesh(intervals=matrix(c(0,1,0,1),ncol=2),mesh.type="unif",mesh.sizes=10) plot2d_mesh(mesh)