/[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 97 by jgs, Tue Dec 14 05:39:33 2004 UTC revision 100 by jgs, Wed Dec 15 03:48:48 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->method=ESCRIPT_DEFAULT_METHOD;    options->verbose=FALSE;
23    options->symmetric=FALSE;    options->reordering=NO_REORDERING;
   options->verbose=TRUE;  
   options->reordering=ESCRIPT_NO_REORDERING;  
24    options->tolerance=1.E-8;    options->tolerance=1.E-8;
25    options->final_residual=0;    options->final_residual=0;
26    options->preconditioner=ESCRIPT_JACOBI;    options->iterative_method=BICGSTAB;
27      options->preconditioner=JACOBI;
28    options->iter_max=1000;    options->iter_max=1000;
29    options->iter=0;    options->iter=0;
30    options->drop_tolerance=0.01;    options->drop_tolerance=0.01;
31    options->drop_storage=2.;    options->drop_storage=2.;
32    options->restart=-1;    options->iterative=FALSE;
   options->truncation=20;  
33  }  }
34    
35  /*  /*
36   * $Log$   * $Log$
37   * Revision 1.2  2004/12/14 05:39:31  jgs   * Revision 1.3  2004/12/15 03:48:47  jgs
38   * *** empty log message ***   * *** empty log message ***
39   *   *
  * Revision 1.1.1.1.2.2  2004/12/07 10:12:05  gross  
  * GMRES added  
  *  
  * Revision 1.1.1.1.2.1  2004/11/12 06:58:19  gross  
  * 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  
  *  
40   * Revision 1.1.1.1  2004/10/26 06:53:57  jgs   * Revision 1.1.1.1  2004/10/26 06:53:57  jgs
41   * initial import of project esys2   * initial import of project esys2
42   *   *

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

  ViewVC Help
Powered by ViewVC 1.1.26