inla.mesh.boundary {INLA}R Documentation

Constraint segment extraction for inla.mesh

Description

[Deprecated] since ⁠23.08.18⁠. Use fmesher::fm_segm() instead.

Constructs an list of inla.mesh.segment object from boundary or interior constraint information in an inla.mesh() object.

Usage

inla.mesh.boundary(mesh, grp = NULL)

inla.mesh.interior(mesh, grp = NULL)

Arguments

mesh

An inla.mesh object.

grp

Group indices to extract. If NULL, all boundary/interior constrain groups are extracted.

Value

A list of inla.mesh.segment objects.

Author(s)

Finn Lindgren finn.lindgren@gmail.com

See Also

inla.mesh.segment(), inla.mesh.create(), inla.mesh.create.helper()

Examples


loc <- matrix(runif(100 * 2) * 1000, 100, 2)
mesh <- fmesher::fm_mesh_2d_inla(loc.domain = loc, max.edge = c(50, 500))
boundary <- inla.mesh.boundary(mesh)
interior <- inla.mesh.interior(mesh)

[Package INLA version 25.10.19 Index]