/[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

revision 631 by dhawcroft, Thu Mar 23 04:27:32 2006 UTC revision 1843 by artak, Fri Oct 3 04:21:29 2008 UTC
# Line 1  Line 1 
 /* $Id$ */  
1    
2  /*  /*******************************************************
3  ********************************************************************************  *
4  *               Copyright 2006 by ACcESS MNRF                                *  * Copyright (c) 2003-2008 by University of Queensland
5  *                                                                              *  * Earth Systems Science Computational Center (ESSCC)
6  *                 http://www.access.edu.au                                     *  * http://www.uq.edu.au/esscc
7  *           Primary Business: Queensland, Australia                            *  *
8  *     Licensed under the Open Software License version 3.0             *  * Primary Business: Queensland, Australia
9  *        http://www.opensource.org/licenses/osl-3.0.php                        *  * 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 37  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=10000;    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  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.26