Mesh Generaton

This program is for mesh generation needed for multi-domain simulations of solutions of partial differential equations. It can edit both 2D and 3D domain configurations, as seen in the screenshots above. This program requires a two-button mouse.

Mesh Generator was created for X Windows using C++ and OpenGL, and has been tested on Ubuntu Linux and Mac OS X. The code can be freely modified and distributed as long as the copyright notice in the file downloaded from this site is included in its entirety at the top of the modified or distributed code.


Compiling for Linux

Required packages: g++, libx11-dev, libgl1-mesa-dev, libglu1-mesa-dev
Command: g++ MeshGen.cpp -o MeshGen.out -lX11 -lGL -lGLU

Compiling for Mac OS X

Required libraries: libX11.dylib, libGL.dylib, libGLU.dylib (found in the Xcode disk image under Packages/X11SDK.pkg)
Instructions: Open Xcode and follow the steps below. Note: The binary only works if called from xterm.