Make INLA triangular mesh from faces and vertices
make_mesh(vertices, faces, use_INLA = TRUE)
INLA triangular mesh
A \(V \times 3\) matrix, where each row contains the Euclidean coordinates at which a given vertex in the mesh is located. \(V\) is the number of vertices in the mesh
An \(F \times 3\) matrix, where each row contains the vertex indices for a given triangular face in the mesh. \(F\) is the number of faces in the mesh.
(logical) Use the INLA package to make the mesh? Default:
TRUE
. Otherwise, mesh construction is based on an internal function,
galerkin_db
.
This function requires the INLA
package, which is not a CRAN package.
See https://www.r-inla.org/download-install for easy installation instructions.