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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 149 - (show annotations)
Thu Sep 1 03:31:39 2005 UTC (14 years, 2 months ago) by jgs
File MIME type: text/plain
File size: 1315 byte(s)
Merge of development branch dev-02 back to main trunk on 2005-09-01

1 /* $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 options->method=ESCRIPT_DEFAULT_METHOD;
23 options->symmetric=FALSE;
24 options->verbose=FALSE;
25 options->reordering=ESCRIPT_NO_REORDERING;
26 options->tolerance=1.E-8;
27 options->final_residual=0;
28 options->preconditioner=ESCRIPT_JACOBI;
29 options->iter_max=1000;
30 options->iter=0;
31 options->drop_tolerance=0.01;
32 options->drop_storage=2.;
33 options->restart=-1;
34 options->truncation=20;
35 }
36
37 /*
38 * $Log$
39 * Revision 1.5 2005/09/01 03:31:36 jgs
40 * Merge of development branch dev-02 back to main trunk on 2005-09-01
41 *
42 * Revision 1.4.2.1 2005/08/24 02:02:18 gross
43 * timing output switched off. solver output can be swiched through getSolution(verbose=True) now.
44 *
45 * Revision 1.4 2004/12/15 07:08:34 jgs
46 * *** empty log message ***
47 *
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