/[escript]/trunk/esys2/finley/src/finleyC/System_setDefaults.c
ViewVC logotype

Annotation of /trunk/esys2/finley/src/finleyC/System_setDefaults.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 97 - (hide annotations)
Tue Dec 14 05:39:33 2004 UTC (15 years, 5 months ago) by jgs
File MIME type: text/plain
File size: 1665 byte(s)
*** empty log message ***

1 jgs 82 /* $Id$ */
2    
3     /**************************************************************/
4    
5     /* Finley: solver options */
6    
7     /**************************************************************/
8    
9     /* Copyrights by ACcESS Australia, 2003,2004 */
10     /* author: gross@access.edu.au */
11    
12     /**************************************************************/
13    
14     #include "Common.h"
15     #include "System.h"
16    
17     /**************************************************************/
18    
19     /* set the default values for solver options */
20    
21     void Finley_SystemMatrix_setDefaults(Finley_SolverOptions* options) {
22 jgs 97 options->method=ESCRIPT_DEFAULT_METHOD;
23     options->symmetric=FALSE;
24     options->verbose=TRUE;
25     options->reordering=ESCRIPT_NO_REORDERING;
26 jgs 82 options->tolerance=1.E-8;
27     options->final_residual=0;
28 jgs 97 options->preconditioner=ESCRIPT_JACOBI;
29 jgs 82 options->iter_max=1000;
30     options->iter=0;
31     options->drop_tolerance=0.01;
32     options->drop_storage=2.;
33 jgs 97 options->restart=-1;
34     options->truncation=20;
35 jgs 82 }
36    
37     /*
38     * $Log$
39 jgs 97 * Revision 1.2 2004/12/14 05:39:31 jgs
40     * *** empty log message ***
41 jgs 82 *
42 jgs 97 * Revision 1.1.1.1.2.2 2004/12/07 10:12:05 gross
43     * GMRES added
44     *
45     * Revision 1.1.1.1.2.1 2004/11/12 06:58:19 gross
46     * 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
47     *
48     * Revision 1.1.1.1 2004/10/26 06:53:57 jgs
49     * initial import of project esys2
50     *
51 jgs 82 * Revision 1.2 2004/08/28 12:58:08 gross
52     * SimpleSolve is not running yet: problem with == of functionsspace
53     *
54     * Revision 1.1 2004/07/02 04:21:13 gross
55     * Finley C code has been included
56     *
57     *
58     */
59    

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26