MeshKit
1.0
|
Name: TriangleMesher
External dependencies: Triangle Library from http://www.cs.cmu.edu/~quake/triangle.html
Input: direction, input file
Output: 2D mesh
Interface(s) used: MOAB
Setup:
Notes: This TriangleMesher will mesh a set of nodes, and add just the triangles. meshing is done in a plane controlled by a separate option (direction 1, 2, or 3) default is 3, which means xy plane options passed now are 'pc', which means that the convex hull is generated. Triangles with one edge larger than a user suppled value (default HUGE) are removed from the output. Future improvements should allow for refinement of an existing mesh and constraining edges. The user should keep in mind that everything happens in a plane.
MeshKit can link with static and shared-library for Triangle. Install Triangle using Ubuntu/OSX package manager. If needed use commands: "ar cru libtriangle.a triangle.o" "libtool --mode=compile gcc -Wall -c triangle.c" and/or libtool --mode=link gcc -rpath=/usr/local/lib -o libtriangle.la triangle.lo