/[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 155 - (hide annotations)
Wed Nov 9 02:02:19 2005 UTC (13 years, 11 months ago) by jgs
File MIME type: text/plain
File size: 952 byte(s)
move all directories from trunk/esys2 into trunk and remove esys2

1 jgs 150 /* $Id$ */
2    
3     /**************************************************************/
4    
5     /* Paso: solver options */
6    
7     /**************************************************************/
8    
9     /* Copyrights by ACcESS Australia, 2003,2004 */
10     /* author: gross@access.edu.au */
11    
12     /**************************************************************/
13    
14     #include "Paso.h"
15     #include "Options.h"
16    
17     /**************************************************************/
18    
19     /* set the default values for solver options */
20    
21     void Paso_Options_setDefaults(Paso_Options* options) {
22    
23     options->method=PASO_DEFAULT;
24     options->package=PASO_DEFAULT;
25     options->symmetric=FALSE;
26     options->verbose=FALSE;
27     options->reordering=PASO_NO_REORDERING;
28     options->tolerance=1.E-8;
29     options->final_residual=0;
30     options->preconditioner=PASO_JACOBI;
31 jgs 154 options->iter_max=10000;
32 jgs 150 options->iter=0;
33     options->drop_tolerance=0.01;
34     options->drop_storage=2.;
35     options->restart=-1;
36     options->truncation=20;
37     }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26