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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 633 - (hide annotations)
Thu Mar 23 05:37:00 2006 UTC (13 years, 7 months ago) by dhawcroft
File MIME type: text/plain
File size: 1597 byte(s)


1 jgs 150 /* $Id$ */
2    
3 dhawcroft 631 /*
4     ********************************************************************************
5 dhawcroft 633 * Copyright 2006 by ACcESS MNRF *
6 dhawcroft 631 * *
7     * http://www.access.edu.au *
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 jgs 150 /**************************************************************/
15    
16     /* Paso: solver options */
17    
18     /**************************************************************/
19    
20     /* Copyrights by ACcESS Australia, 2003,2004 */
21     /* author: gross@access.edu.au */
22    
23     /**************************************************************/
24    
25     #include "Paso.h"
26     #include "Options.h"
27    
28     /**************************************************************/
29    
30     /* set the default values for solver options */
31    
32     void Paso_Options_setDefaults(Paso_Options* options) {
33    
34     options->method=PASO_DEFAULT;
35     options->package=PASO_DEFAULT;
36     options->symmetric=FALSE;
37     options->verbose=FALSE;
38     options->reordering=PASO_NO_REORDERING;
39     options->tolerance=1.E-8;
40     options->final_residual=0;
41     options->preconditioner=PASO_JACOBI;
42 jgs 154 options->iter_max=10000;
43 jgs 150 options->iter=0;
44     options->drop_tolerance=0.01;
45     options->drop_storage=2.;
46     options->restart=-1;
47     options->truncation=20;
48     }

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26