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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 154 - (show annotations)
Mon Nov 7 05:51:17 2005 UTC (14 years ago) by jgs
Original Path: trunk/esys2/paso/src/Options_setDefaults.c
File MIME type: text/plain
File size: 952 byte(s)
Merge of development branch dev-02 back to main trunk on 2005-11-07

1 /* $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 options->iter_max=10000;
32 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