/[escript]/trunk/esys2/finley/src/finleyC/System_setDefaults.c
ViewVC logotype

Diff of /trunk/esys2/finley/src/finleyC/System_setDefaults.c

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

revision 82 by jgs, Tue Oct 26 06:53:54 2004 UTC revision 97 by jgs, Tue Dec 14 05:39:33 2004 UTC
# Line 19  Line 19 
19  /* set the default values for solver options */  /* set the default values for solver options */
20    
21  void Finley_SystemMatrix_setDefaults(Finley_SolverOptions* options) {  void Finley_SystemMatrix_setDefaults(Finley_SolverOptions* options) {
22    options->verbose=FALSE;    options->method=ESCRIPT_DEFAULT_METHOD;
23    options->reordering=NO_REORDERING;    options->symmetric=FALSE;
24      options->verbose=TRUE;
25      options->reordering=ESCRIPT_NO_REORDERING;
26    options->tolerance=1.E-8;    options->tolerance=1.E-8;
27    options->final_residual=0;    options->final_residual=0;
28    options->iterative_method=BICGSTAB;    options->preconditioner=ESCRIPT_JACOBI;
   options->preconditioner=JACOBI;  
29    options->iter_max=1000;    options->iter_max=1000;
30    options->iter=0;    options->iter=0;
31    options->drop_tolerance=0.01;    options->drop_tolerance=0.01;
32    options->drop_storage=2.;    options->drop_storage=2.;
33    options->iterative=FALSE;    options->restart=-1;
34      options->truncation=20;
35  }  }
36    
37  /*  /*
38   * $Log$   * $Log$
39   * Revision 1.1  2004/10/26 06:53:57  jgs   * Revision 1.2  2004/12/14 05:39:31  jgs
40   * Initial revision   * *** empty log message ***
41     *
42     * Revision 1.1.1.1.2.2  2004/12/07 10:12:05  gross
43     * GMRES added
44     *
45     * Revision 1.1.1.1.2.1  2004/11/12 06:58:19  gross
46     * a lot of changes to get the linearPDE class running: most important change is that there is no matrix format exposed to the user anymore. the format is chosen by the Domain according to the solver and symmetry
47     *
48     * Revision 1.1.1.1  2004/10/26 06:53:57  jgs
49     * initial import of project esys2
50   *   *
51   * Revision 1.2  2004/08/28 12:58:08  gross   * Revision 1.2  2004/08/28 12:58:08  gross
52   * SimpleSolve is not running yet: problem with == of functionsspace   * SimpleSolve is not running yet: problem with == of functionsspace

Legend:
Removed from v.82  
changed lines
  Added in v.97

  ViewVC Help
Powered by ViewVC 1.1.26