Create mesh object
Arguments
- domain
could be a
triangulation
returned bytriangulate
or a named list containing:nodes
, a #nodes-by-2 matrix containing the x and y coordinates of the mesh nodes;elements
, a #elements-by-3 matrix specifiying the triangles giving the row's indices innodes
of the triangles' vertices;boundary
, a #nodes-by-1 matrix, with entries either '1' or '0'. An entry '1' indicates that the corresponding node is a boundary node; an entry '0' indicates that the corresponding node is not a boundary node.