#include <stdio.h>
#include <math.h>
#include "graph.h"
#include "conrec.h"
Defines | |
#define | xsect(p1, p2) (h[p2]*xh[p1]-h[p1]*xh[p2])/(h[p2]-h[p1]) |
#define | ysect(p1, p2) (h[p2]*yh[p1]-h[p1]*yh[p2])/(h[p2]-h[p1]) |
#define | min(x, y) (x<y?x:y) |
#define | max(x, y) (x>y?x:y) |
Functions | |
int | conrec (double **d, int ilb, int iub, int jlb, int jub, double *x, double *y, int nc, double *z, Graphics *g, int colour) |
Paul Bourke's conrec algorithm to draw contour lines of PDE fields. |
|
|
|
|
|
|
|
|
|
Paul Bourke's conrec algorithm to draw contour lines of PDE fields. C-code Copyright (c) 1996-1997 Nicholas Yue. |