/[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 1388 - (show annotations)
Fri Jan 11 07:45:58 2008 UTC (11 years, 10 months ago) by trankine
File MIME type: text/plain
File size: 1380 byte(s)
And get the *(&(*&(* name right
1
2 /* $Id$ */
3
4 /*******************************************************
5 *
6 * Copyright 2003-2007 by ACceSS MNRF
7 * Copyright 2007 by University of Queensland
8 *
9 * http://esscc.uq.edu.au
10 * Primary Business: Queensland, Australia
11 * Licensed under the Open Software License version 3.0
12 * http://www.opensource.org/licenses/osl-3.0.php
13 *
14 *******************************************************/
15
16 /**************************************************************/
17
18 /* Paso: solver options */
19
20 /**************************************************************/
21
22 /* Copyrights by ACcESS Australia, 2003,2004 */
23 /* author: gross@access.edu.au */
24
25 /**************************************************************/
26
27 #include "Paso.h"
28 #include "Options.h"
29
30 /**************************************************************/
31
32 /* set the default values for solver options */
33
34 void Paso_Options_setDefaults(Paso_Options* options) {
35
36 options->method=PASO_DEFAULT;
37 options->package=PASO_DEFAULT;
38 options->symmetric=FALSE;
39 options->verbose=FALSE;
40 options->reordering=PASO_NO_REORDERING;
41 options->tolerance=1.E-8;
42 options->final_residual=0;
43 options->preconditioner=PASO_JACOBI;
44 options->iter_max=10000;
45 options->iter=0;
46 options->drop_tolerance=0.01;
47 options->drop_storage=2.;
48 options->restart=-1;
49 options->truncation=20;
50 }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26