/[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 1387 - (hide annotations)
Fri Jan 11 07:45:26 2008 UTC (11 years, 9 months ago) by trankine
Original Path: temp/paso/src/Options_setDefaults.c
File MIME type: text/plain
File size: 1380 byte(s)
Restore the trunk that existed before the windows changes were committed to the (now moved to branches) old trunk.
1 ksteube 1312
2 jgs 150 /* $Id$ */
3    
4 ksteube 1312 /*******************************************************
5     *
6     * Copyright 2003-2007 by ACceSS MNRF
7     * Copyright 2007 by University of Queensland
8     *
9     * http://esscc.uq.edu.au
10     * Primary Business: Queensland, Australia
11     * Licensed under the Open Software License version 3.0
12     * http://www.opensource.org/licenses/osl-3.0.php
13     *
14     *******************************************************/
15 dhawcroft 631
16 jgs 150 /**************************************************************/
17    
18     /* Paso: solver options */
19    
20     /**************************************************************/
21    
22     /* Copyrights by ACcESS Australia, 2003,2004 */
23     /* author: gross@access.edu.au */
24    
25     /**************************************************************/
26    
27     #include "Paso.h"
28     #include "Options.h"
29    
30     /**************************************************************/
31    
32     /* set the default values for solver options */
33    
34     void Paso_Options_setDefaults(Paso_Options* options) {
35    
36     options->method=PASO_DEFAULT;
37     options->package=PASO_DEFAULT;
38     options->symmetric=FALSE;
39     options->verbose=FALSE;
40     options->reordering=PASO_NO_REORDERING;
41     options->tolerance=1.E-8;
42     options->final_residual=0;
43     options->preconditioner=PASO_JACOBI;
44 jgs 154 options->iter_max=10000;
45 jgs 150 options->iter=0;
46     options->drop_tolerance=0.01;
47     options->drop_storage=2.;
48     options->restart=-1;
49     options->truncation=20;
50     }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26