% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mesh2fem.R
\name{mesh2fem}
\alias{mesh2fem}
\alias{mesh2fem.barrier}
\title{Illustrative code for Finite Element matrices of a mesh in 2d domain.}
\usage{
mesh2fem(mesh, order = 2, barrier.triangles = NULL)

mesh2fem.barrier(mesh, barrier.triangles = NULL)
}
\arguments{
\item{mesh}{a 2d mesh object.}

\item{order}{the desired order.}

\item{barrier.triangles}{integer index to specify the
triangles in the barrier domain}
}
\value{
a list object containing the FE matrices.

a list object containing the FE matrices
for the barrier problem.
}
\description{
Illustrative code for Finite Element matrices of a mesh in 2d domain.

Illustrative code for Finite Element matrices when some triangles are
in a barrier domain.
}
