1D Contours

At the topmost level, pointers to 1D contours and their parameters are held by the Mesh Solutions. This relationship is defined in solution.h

The actual set of points are contained within each contour object. Contours are defined in contour.h

When 1D Contours are about to be plotted, they go through the following steps to make a contour.

The function Generate1DMeshContour is called and is passed the contour number and a pointer to the solution. (Each solution can have up to ten contours for 2D, but here only one is needed)

Generate1DMeshContour creates room for a contour whose size is equivalent to the number of points in the Geometry Point List in the 1D Data Set. The x-coordinate of each Contour Point is simply taken from the x-coordinate of the Geometry Point

The y-coordinate is either the solution value for this Geometry Point or the log based 10 of the solution value for this Geometry Point depending on the plotting scale being used.

The solution values for a 1d contour are generated when the 1D Cross Section is made. ( Creating a 1D Cross Section )


IPlot Home Page Technical Doc's User's Guide
IPlot and its accompanying WWW pages were written by Gene McKenna
a member of Stanford University's famous TCAD Group