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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 150 - (show annotations)
Thu Sep 15 03:44:45 2005 UTC (14 years, 1 month ago) by jgs
File MIME type: text/plain
File size: 1461 byte(s)
Merge of development branch dev-02 back to main trunk on 2005-09-15

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=1000;
32 options->iter=0;
33 options->drop_tolerance=0.01;
34 options->drop_storage=2.;
35 options->restart=-1;
36 options->truncation=20;
37 }
38
39 /*
40 * $Log$
41 * Revision 1.2 2005/09/15 03:44:38 jgs
42 * Merge of development branch dev-02 back to main trunk on 2005-09-15
43 *
44 * Revision 1.1.2.2 2005/09/07 00:59:08 gross
45 * some inconsistent renaming fixed to make the linking work.
46 *
47 * Revision 1.1.2.1 2005/09/05 06:29:46 gross
48 * These files have been extracted from finley to define a stand alone libray for iterative
49 * linear solvers on the ALTIX. main entry through Paso_solve. this version compiles but
50 * has not been tested yet.
51 *
52 *
53 */
54

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26