/[MITgcm]/MITgcm/verification/testreport
ViewVC logotype

Diff of /MITgcm/verification/testreport

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.32 by edhill, Sun Dec 7 07:06:13 2003 UTC revision 1.33 by adcroft, Thu Dec 18 15:12:34 2003 UTC
# Line 437  createcodelet() Line 437  createcodelet()
437  #include <stdio.h>  #include <stdio.h>
438  #include <math.h>  #include <math.h>
439  int main( int argc, char** argv )  {  int main( int argc, char** argv )  {
440    int linnum,best;    int linnum,best,lncnt;
441    double a,b,diff;    double a,b,diff;
442    best = -16;    best = -16;
443    while( 1 )  {    lncnt = 0;
444      while( 1 & (lncnt+=1) < 999 )  {
445      scanf("%d", &linnum);      scanf("%d", &linnum);
446      if (linnum == -1)  break;      if (linnum == -1)  break;
447      scanf("%lf", &a);  scanf("%lf", &b);      scanf("%lf", &a);  scanf("%lf", &b);
# Line 456  int main( int argc, char** argv )  { Line 457  int main( int argc, char** argv )  {
457        }        }
458      }      }
459    }    }
460      if (lncnt == 999) best=-29;
461    printf("%d\n", -best);    printf("%d\n", -best);
462    return 0;    return 0;
463  }  }

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

  ViewVC Help
Powered by ViewVC 1.1.22