/[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 82 - (show annotations)
Tue Oct 26 06:53:54 2004 UTC (15 years, 7 months ago) by jgs
File MIME type: text/plain
File size: 1166 byte(s)
Initial revision

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->verbose=FALSE;
23 options->reordering=NO_REORDERING;
24 options->tolerance=1.E-8;
25 options->final_residual=0;
26 options->iterative_method=BICGSTAB;
27 options->preconditioner=JACOBI;
28 options->iter_max=1000;
29 options->iter=0;
30 options->drop_tolerance=0.01;
31 options->drop_storage=2.;
32 options->iterative=FALSE;
33 }
34
35 /*
36 * $Log$
37 * Revision 1.1 2004/10/26 06:53:57 jgs
38 * Initial revision
39 *
40 * Revision 1.2 2004/08/28 12:58:08 gross
41 * SimpleSolve is not running yet: problem with == of functionsspace
42 *
43 * Revision 1.1 2004/07/02 04:21:13 gross
44 * Finley C code has been included
45 *
46 *
47 */
48

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26