/[escript]/trunk/paso/src/Options_setDefaults.c
ViewVC logotype

Diff of /trunk/paso/src/Options_setDefaults.c

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

trunk/esys2/paso/src/Options_setDefaults.c revision 150 by jgs, Thu Sep 15 03:44:45 2005 UTC trunk/paso/src/Options_setDefaults.c revision 1843 by artak, Fri Oct 3 04:21:29 2008 UTC
# Line 1  Line 1 
1  /* $Id$ */  
2    /*******************************************************
3    *
4    * Copyright (c) 2003-2008 by University of Queensland
5    * Earth Systems Science Computational Center (ESSCC)
6    * http://www.uq.edu.au/esscc
7    *
8    * Primary Business: Queensland, Australia
9    * Licensed under the Open Software License version 3.0
10    * http://www.opensource.org/licenses/osl-3.0.php
11    *
12    *******************************************************/
13    
14    
15  /**************************************************************/  /**************************************************************/
16    
# Line 26  void Paso_Options_setDefaults(Paso_Optio Line 38  void Paso_Options_setDefaults(Paso_Optio
38    options->verbose=FALSE;    options->verbose=FALSE;
39    options->reordering=PASO_NO_REORDERING;    options->reordering=PASO_NO_REORDERING;
40    options->tolerance=1.E-8;    options->tolerance=1.E-8;
41      options->absolute_tolerance=0.;
42      options->inner_tolerance=0.9;
43      options->adapt_inner_tolerance=TRUE;
44    options->final_residual=0;    options->final_residual=0;
45    options->preconditioner=PASO_JACOBI;    options->preconditioner=PASO_JACOBI;
46    options->iter_max=1000;    options->iter_max=10000;
47      options->inner_iter_max=10;
48    options->iter=0;    options->iter=0;
49    options->drop_tolerance=0.01;    options->drop_tolerance=0.01;
50    options->drop_storage=2.;    options->drop_storage=2.;
51    options->restart=-1;    options->restart=-1;
52    options->truncation=20;    options->truncation=20;
53      options->sweeps=2;
54  }  }
   
 /*  
  * $Log$  
  * Revision 1.2  2005/09/15 03:44:38  jgs  
  * Merge of development branch dev-02 back to main trunk on 2005-09-15  
  *  
  * Revision 1.1.2.2  2005/09/07 00:59:08  gross  
  * some inconsistent renaming fixed to make the linking work.  
  *  
  * Revision 1.1.2.1  2005/09/05 06:29:46  gross  
  * These files have been extracted from finley to define a stand alone libray for iterative  
  * linear solvers on the ALTIX. main entry through Paso_solve. this version compiles but  
  * has not been tested yet.  
  *  
  *  
  */  
   

Legend:
Removed from v.150  
changed lines
  Added in v.1843

  ViewVC Help
Powered by ViewVC 1.1.26