Trisurf Monte Carlo simulator
Samo Penic
2013-11-30 20ae8328e6eb4b99c8e9c306ab6e09ac4922f395
commit | author | age
d7639a 1 #include<stdio.h>
SP 2
3 /** Compares positions of the vertices in two files to given accuracy
4   *
5   * @author Samo Penic
6   * @date to be done
7   *
8   * Usage: float3cmp vertexfile1 vertexfile2 eps
9   *
10   * Compares files with 3 floats in a line for similarities. Result of
11   * comparison is reported on stdout.
12 */
13 int main(int argv, char *argc[]){
14
15     if(argv!=4){
16         fprintf(stderr,"Error. Usage: float3cmp vertexfile1 vertexfile2 eps\n");
17         exit(1);
18     }
19     
20     fprintf("Comparing %s and %s for equality. Criterion: abs(float1-float2)< %f\n", argc[1], argc[2],argc[3]);
21
22 return 0;
23