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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26