/[escript]/trunk/paso/src/Options.h
ViewVC logotype

Contents of /trunk/paso/src/Options.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1476 - (show annotations)
Mon Apr 7 23:38:50 2008 UTC (11 years, 7 months ago) by gross
File MIME type: text/plain
File size: 2676 byte(s)
Jacobian-free Newton method added to Paso
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: SystemMatrix and SystemVector */
19
20 /**************************************************************/
21
22 /* Copyrights by ACcESS Australia 2003,2004,2005 */
23 /* Author: gross@access.edu.au */
24
25 /**************************************************************/
26
27 #ifndef INC_PASO_OPTIONS
28 #define INC_PASO_OPTIONS
29
30 /* solver options */
31
32 #define PASO_DEFAULT 0
33 #define PASO_DIRECT 1
34 #define PASO_CHOLEVSKY 2
35 #define PASO_PCG 3
36 #define PASO_CR 4
37 #define PASO_CGS 5
38 #define PASO_BICGSTAB 6
39 #define PASO_SSOR 7
40 #define PASO_ILU0 8
41 #define PASO_ILUT 9
42 #define PASO_JACOBI 10
43 #define PASO_GMRES 11
44 #define PASO_PRES20 12
45 #define PASO_LUMPING 13
46 #define PASO_SCSL 14
47 #define PASO_MKL 15
48 #define PASO_UMFPACK 16
49 #define PASO_NO_REORDERING 17
50 #define PASO_MINIMUM_FILL_IN 18
51 #define PASO_NESTED_DISSECTION 19
52 #define PASO_ITERATIVE 20
53 #define PASO_PASO 21
54 #define PASO_RILU 22
55 #define PASO_AMG 23
56 #define PASO_TRILINOS 24
57
58
59 typedef struct {
60 index_t method;
61 index_t package;
62 bool_t symmetric;
63 double tolerance;
64 double absolute_tolerance;
65 double inner_tolerance;
66 bool_t adapt_inner_tolerance;
67
68 bool_t verbose;
69 bool_t reordering;
70 double final_residual;
71 index_t preconditioner;
72 dim_t iter_max;
73 dim_t inner_iter_max;
74 dim_t iter;
75 double drop_tolerance;
76 double drop_storage;
77 dim_t truncation;
78 dim_t restart;
79
80
81 } Paso_Options;
82
83 /* interfaces: */
84
85 void Paso_Options_setDefaults(Paso_Options* in);
86 index_t Paso_Options_getPackage(index_t solver,index_t package, bool_t symmetry);
87 index_t Paso_Options_getSolver(index_t solver,index_t package, bool_t symmetry);
88
89
90 #endif /* #ifndef INC_PASO_OPTIONS */
91
92
93
94 /*
95 * $Log$
96 * Revision 1.2 2005/09/15 03:44:38 jgs
97 * Merge of development branch dev-02 back to main trunk on 2005-09-15
98 *
99 * Revision 1.1.2.2 2005/09/07 00:59:08 gross
100 * some inconsistent renaming fixed to make the linking work.
101 *
102 * Revision 1.1.2.1 2005/09/05 06:29:46 gross
103 * These files have been extracted from finley to define a stand alone libray for iterative
104 * linear solvers on the ALTIX. main entry through Paso_solve. this version compiles but
105 * has not been tested yet.
106 *
107 *
108 */

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26