XGEN
XGEN is a simple generator of uniform triangular meshes based on the Advancing Front method and written using the X-Windows Motif library. It can be used both in interactive and batch mode. The domain is defined using a combination of straight lines and circular arcs. If circular arcs are used, curved elements are produced. The output mesh has the Hermes2D format. XGEN is distributed under the BSD license.

Relaxed overlay points (left) and the corresponding triangular mesh (right).
Download and Installation
Installation instructions can be found in the User Documentation.Support and User Community
Use the Hermes2D mailing list if you have questions or need help.Development
XGEN is developed occasionally as it does not lie in our main funding stream. You are very welcome to contribute to the project, or fork it and develop it further on your own. Read here How to Submit Your First Pull Request. A few possible development directions are listed below.Possible Development Directions
- Currently the user has to enter all boundary vertices manually. We need to change this so that only the end points of segments are entered. All remaining points would be able to move, both in the interior and along boundary.
- Enable locally refined meshes by allowing the "electrical charge" of grid points to be different in subdomains. Currently, all of them have the same charge and thus the mesh has the same density everywhere.
- Enable circular arcs in addition to straight boundary abscissas (DONE in December 2010).
XGEN3D
We have an almost completed 3D version of XGEN that is waiting for someone to pick up and finish. We'll happy to provide the source files, just send a request to the mailing list.Contributors
- Pavel Solin (University of Nevada, Reno)
-
Zhonghua Ma (China University of Petroleum, Beijing)


