home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-05-04 | 10.0 KB | 19 lines | [TEXT/MPS ] |
- # include <stdio.h>
- # include <Math.h>
-
- /*
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- fn_lap5c 5-point laplacian, constant stepsize
-
- p = pointer to source array
- t = pointer to target array
- x = number of x-points
- n = number of points in source array
- dx = 1 / (delta-x * delta-x)
- dy = 1 / (delta-y * delta-y)
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- */
- void fn_lap5c(p,t,x,n,dx,dy)
- float *p,*t;
- int x,n;
- extended