Description:
Compile: mpicc intersect.c-o intersect
Run: You can use the command mpirun-np SIZE intersect to run the string matching procedure, which SIZE is the number of processors used in this instance the use of the SIZE = 3 processors.
mpirun-np 3 intersect
Run Results:
Input:
please input first polygon
please input the count of vetex: 3
please input the vertex
32
25
43
please input second polygon
please input the count of vetex: 6
please input the vertex
01
1-1
1-2
62
54
14
Output:
Intersection of two polygons
Description: Enter the vertices (x, y) coordinates separated by a space.
To Search:
File list (Check if you may need any files):
17-2\intersect.c
....\readme.txt
17-2