/[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 100 - (hide annotations)
Wed Dec 15 03:48:48 2004 UTC (15 years, 5 months ago) by jgs
File MIME type: text/plain
File size: 1259 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 100 options->verbose=FALSE;
23     options->reordering=NO_REORDERING;
24 jgs 82 options->tolerance=1.E-8;
25     options->final_residual=0;
26 jgs 100 options->iterative_method=BICGSTAB;
27     options->preconditioner=JACOBI;
28 jgs 82 options->iter_max=1000;
29     options->iter=0;
30     options->drop_tolerance=0.01;
31     options->drop_storage=2.;
32 jgs 100 options->iterative=FALSE;
33 jgs 82 }
34    
35     /*
36     * $Log$
37 jgs 100 * Revision 1.3 2004/12/15 03:48:47 jgs
38 jgs 97 * *** empty log message ***
39 jgs 82 *
40 jgs 97 * Revision 1.1.1.1 2004/10/26 06:53:57 jgs
41     * initial import of project esys2
42     *
43 jgs 82 * Revision 1.2 2004/08/28 12:58:08 gross
44     * SimpleSolve is not running yet: problem with == of functionsspace
45     *
46     * Revision 1.1 2004/07/02 04:21:13 gross
47     * Finley C code has been included
48     *
49     *
50     */
51    

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26