CONTOUR
Preprocess data for contour plots


CONTOUR is a FORTRAN90 program which preprocesses simple grid data into a form that the DISPLAY3 program can handle.

The idea is that there is a set of nodes arranged in a rectangular grid. There is a file containing the coordinates of the nodes, and the values of certain quantities at each node. Specifically, for each node, there is a line of the form:

        X  Y  V1  V2 ... VN
      
where the number of values "V" is the same for each node.

CONTOUR reads this data, tries to determine the shape NX by NY of the grid, arranges the data into elements, and writes out an element file and a node file suitable for input to DISPLAY.

Usage:

The name of the input file is usually specified on the command line:

        contour input_file
      
The output files are always named element.txt and node.txt.

Source Code:

Examples and Tests:

List of Routines:

The list of routines includes:

You can go up one level to the FORTRAN90 source codes.


Last revised on 30 August 2005.