inla.mesh.boundary.RdConstructs an list of inla.mesh.segment object from boundary or
interior constraint information in an inla.mesh object.
inla.mesh.boundary(mesh, grp = NULL)
inla.mesh.interior(mesh, grp = NULL)A list of inla.mesh.segment objects.
loc = matrix(runif(100*2)*1000,100,2)
mesh = inla.mesh.create.helper(points.domain=loc, max.edge=c(50,500))
#> Warning: error in running command
#> Error in fmesher.read(prefix, "manifold"): File '/tmp/Rtmp4ztB6d/fmesher53bd2cd38166.manifold' does not exist.
boundary = inla.mesh.boundary(mesh)
#> Error: object 'mesh' not found
interior = inla.mesh.interior(mesh)
#> Error: object 'mesh' not found