/[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 100 by jgs, Wed Dec 15 03:48:48 2004 UTC revision 102 by jgs, Wed Dec 15 07:08:39 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.3  2004/12/15 03:48:47  jgs   * Revision 1.4  2004/12/15 07:08:34  jgs
40   * *** empty log message ***   * *** empty log message ***
41   *   *
  * Revision 1.1.1.1  2004/10/26 06:53:57  jgs  
  * initial import of project esys2  
  *  
  * Revision 1.2  2004/08/28 12:58:08  gross  
  * SimpleSolve is not running yet: problem with == of functionsspace  
  *  
  * Revision 1.1  2004/07/02 04:21:13  gross  
  * Finley C code has been included  
42   *   *
43   *   *
44   */   */

Legend:
Removed from v.100  
changed lines
  Added in v.102

  ViewVC Help
Powered by ViewVC 1.1.26