This subdirectory holds routines for mesh generation including the two main mesh generators, as well as some auxiliary routines like gmdoubleib, gmchecktri, and gmrefine. This subdirectory holds most of the other QMG functions not in the meshgen directory. These source files are used to build the subset of Tcl needed by QMG running under Matlab for parsing and hashtables. The full Tcl library is not compatible with Matlab, so QMG Matlab uses just a compatible subset. This subdirectory holds routines specific to the Tcl front end.
Some commands span several directories and files.
The most complicated example is probably gmviz. Invoking gmviz first executes gmviz.m or gmviz.tcl depending on the scripting language. General naming conventions used in the source code are as follows. Almost all names with global scope are prefixed as follows. The main exception to the prefix convention are global macros, which are not prefixed.