1.6. Running the program

Pdnmesh should be invoked at the command prompt. It can be run as a pure text mode program. However, if you need to exploit its full features, you need to run it in graphical (X window) mode. Pdnmesh also accepts command line options. Pdnmesh is typically invoked by:


$ pdnmesh -i input.file

The following flags can be used:

Table 1-1. Command Line options

optiondescription
-hPrint help
-vbe verbose
-a value set minimum area of each triangle to 'value'
-b value set maximum badness of each triangle to 'value'
-c value set contour levels to 'value'
-r value limit iterations to 'value'
-nx work only in text mode, dump output to files
-contours display contours by default
-mesh display mesh by default
-gradient display gradient by default
-V print version