Initial snark14m import
[snark14.git] / src / snark / user_fom5.c
1 /*
2  ***********************************************************
3  $SNARK_Header: S N A R K  1 4 - A PICTURE RECONSTRUCTION PROGRAM $
4  $HeadURL: svn://dig.cs.gc.cuny.edu/snark/trunk/src/snark/user_fom5.c $
5  $LastChangedRevision: 121 $
6  $Date: 2014-07-09 17:52:58 -0400 (Wed, 09 Jul 2014) $
7  $Author: agulati $
8  ***********************************************************
9
10  Previously part of :*/
11
12 /* ----------------------------- user_fom5.c -------------------------------
13
14  This function computes a user-defined figure of merit.
15
16  INPUTS:
17  itr1 - array of length niters containing the iteration numbers for the
18  first algorithm.
19  itr2 - array of length niters containing the iteration numbers for the
20  second algorithm.
21  niters - number of iterations to be compared
22  keywrd1 - string containing the keyword which defines the first algorithm.
23  keywrd2 - string containing the keyword which defines the second algorithm.
24
25  OUTPUTS:
26  user1 - array of length niters containing the structural accuracy for
27  the first algorithm.
28  user2 - array of length niters containing the structural accuracy for
29  the second algorithm.
30
31  */
32
33 #include "experimenter.h"
34 #include "user_fom5.h"
35
36 void user_fom5(int* itr1, int* itr2, int niters, char* keywrd1, char* keywrd2, double* user1, double* user2)
37 {
38         int i;
39
40         for (i = 0; i < niters; i++)
41         {/* this section is to be replaced */
42                 /* by the function to compute a */
43                 user1[i] = 0.0; /* user-defined figure of merit */
44                 user2[i] = 0.0;
45         }
46 }