H2Lib  3.0
Data Fields
_tri2d Struct Reference

Representation of a two-dimensional triangular mesh. More...

#include <tri2d.h>

Data Fields

uint vertices
 Number of vertices.
 
uint edges
 Number of edges.
 
uint triangles
 Number of triangles.
 
real(* x )[2]
 coordinates of vertices
 
uint(* e )[2]
 Start and end points of edges.
 
uint(* t )[3]
 Edge of a triangle.
 
uintxb
 Boundary flags for vertices.
 
uinteb
 Boundary flags for edges.
 

Detailed Description

Representation of a two-dimensional triangular mesh.

Triangular meshes are represented by a hierarchy of geometric objects: vertices are at the lowest level, edges consist of vertices and triangles consist of edges. Functions like getvertices_tri2d are provided to skip levels of the hierarchy in order to obtain the vertices or edges of a tetrahedron.


The documentation for this struct was generated from the following file: