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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 155 - (hide annotations)
Wed Nov 9 02:02:19 2005 UTC (13 years, 8 months ago) by jgs
File MIME type: text/plain
File size: 2063 byte(s)
move all directories from trunk/esys2 into trunk and remove esys2

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    
42    
43     typedef struct {
44     index_t method;
45     index_t package;
46     bool_t symmetric;
47     double tolerance;
48    
49     bool_t verbose;
50     bool_t reordering;
51     double final_residual;
52     index_t preconditioner;
53     dim_t iter_max;
54     dim_t iter;
55     double drop_tolerance;
56     double drop_storage;
57     dim_t truncation;
58     dim_t restart;
59    
60    
61     } Paso_Options;
62    
63     /* interfaces: */
64    
65     void Paso_Options_setDefaults(Paso_Options* in);
66     index_t Paso_Options_getPackage(index_t solver,index_t package, bool_t symmetry);
67     index_t Paso_Options_getSolver(index_t solver,index_t package, bool_t symmetry);
68    
69    
70     #endif /* #ifndef INC_PASO_OPTIONS */
71    
72    
73    
74     /*
75     * $Log$
76     * Revision 1.2 2005/09/15 03:44:38 jgs
77     * Merge of development branch dev-02 back to main trunk on 2005-09-15
78     *
79     * Revision 1.1.2.2 2005/09/07 00:59:08 gross
80     * some inconsistent renaming fixed to make the linking work.
81     *
82     * Revision 1.1.2.1 2005/09/05 06:29:46 gross
83     * These files have been extracted from finley to define a stand alone libray for iterative
84     * linear solvers on the ALTIX. main entry through Paso_solve. this version compiles but
85     * has not been tested yet.
86     *
87     *
88     */

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26