/[escript]/trunk/paso/profiling/Paso_tests.c
ViewVC logotype

Diff of /trunk/paso/profiling/Paso_tests.c

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

revision 2382 by artak, Tue Apr 14 03:48:22 2009 UTC revision 2490 by artak, Tue Jun 23 06:02:26 2009 UTC
# Line 49  void Paso_test_run(Paso_SystemMatrix* A, Line 49  void Paso_test_run(Paso_SystemMatrix* A,
49        fprintf(stdout,"Test solver: BICGSTAB with JACOBI\n");        fprintf(stdout,"Test solver: BICGSTAB with JACOBI\n");
50        Paso_Options_setDefaults(&options);        Paso_Options_setDefaults(&options);
51        A->solver=NULL;        A->solver=NULL;
52          options.verbose=TRUE;
53        options.method=PASO_BICGSTAB;        options.method=PASO_BICGSTAB;
54        Paso_test_matrix(A,b,&options);        Paso_test_matrix(A,b,&options);
55                
56        fprintf(stdout,"Test solver: GMRES with JACOBI\n");        fprintf(stdout,"Test solver: GMRES with JACOBI\n");
57        Paso_Options_setDefaults(&options);        Paso_Options_setDefaults(&options);
58        A->solver=NULL;        A->solver=NULL;
59          options.verbose=TRUE;
60        options.method=PASO_GMRES;        options.method=PASO_GMRES;
61        Paso_test_matrix(A,b,&options);        Paso_test_matrix(A,b,&options);
62                
63        fprintf(stdout,"Test solver: PRES20 with JACOBI\n");        fprintf(stdout,"Test solver: PRES20 with JACOBI\n");
64        Paso_Options_setDefaults(&options);        Paso_Options_setDefaults(&options);
65        A->solver=NULL;        A->solver=NULL;
66          options.verbose=TRUE;
67        options.method=PASO_PRES20;        options.method=PASO_PRES20;
68        Paso_test_matrix(A,b,&options);        Paso_test_matrix(A,b,&options);
69                
70        fprintf(stdout,"Test solver: MINRES with JACOBI\n");        fprintf(stdout,"Test solver: MINRES with JACOBI\n");
71        Paso_Options_setDefaults(&options);        Paso_Options_setDefaults(&options);
72        A->solver=NULL;        A->solver=NULL;
73          options.verbose=TRUE;
74        options.method=PASO_MINRES;        options.method=PASO_MINRES;
75        Paso_test_matrix(A,b,&options);        Paso_test_matrix(A,b,&options);
76                
77        fprintf(stdout,"Test solver: TFQMR with JACOBI\n");        fprintf(stdout,"Test solver: TFQMR with JACOBI\n");
78        Paso_Options_setDefaults(&options);        Paso_Options_setDefaults(&options);
79        A->solver=NULL;        A->solver=NULL;
80          options.verbose=TRUE;
81        options.method=PASO_TFQMR;        options.method=PASO_TFQMR;
82        Paso_test_matrix(A,b,&options);        Paso_test_matrix(A,b,&options);
83      }      }

Legend:
Removed from v.2382  
changed lines
  Added in v.2490

  ViewVC Help
Powered by ViewVC 1.1.26