/[escript]/trunk/paso/src/Options_getPackage.c
ViewVC logotype

Annotation of /trunk/paso/src/Options_getPackage.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 150 - (hide annotations)
Thu Sep 15 03:44:45 2005 UTC (14 years, 1 month ago) by jgs
Original Path: trunk/esys2/paso/src/Options_getPackage.c
File MIME type: text/plain
File size: 1643 byte(s)
Merge of development branch dev-02 back to main trunk on 2005-09-15

1 jgs 150 /* $Id$ */
2    
3     /**************************************************************/
4    
5     /* Paso: returns the package to be used */
6    
7     /**************************************************************/
8    
9     /* Copyrights by ACcESS Australia 2004,2005 */
10     /* Author: gross@access.edu.au */
11    
12     /**************************************************************/
13    
14     #include "Paso.h"
15     #include "Options.h"
16    
17     /**************************************************************/
18    
19     index_t Paso_Options_getPackage(index_t solver,index_t package, bool_t symmetry) {
20     index_t out=PASO_PASO;
21     if (package==PASO_DEFAULT) {
22     if (solver==PASO_DIRECT) {
23     #ifdef MKL
24     out=PASO_MKL;
25     #else
26     #ifdef SCSL
27     out=PASO_SCSL;
28     #else
29     #ifdef UMFPACK
30     out=PASO_UMFPACK;
31     #endif
32     #endif
33     #endif
34     } else {
35     out=PASO_PASO;
36     }
37     } else if (package==PASO_PASO) {
38     out=PASO_PASO;
39     } else if (package==PASO_SCSL) {
40     out=PASO_SCSL;
41     } else if (package==PASO_MKL) {
42     out=PASO_MKL;
43     } else if (package==PASO_UMFPACK) {
44     out=PASO_UMFPACK;
45     } else {
46     Paso_setError(VALUE_ERROR,"Unidentified package.");
47     }
48     return out;
49     }
50    
51     /*
52     * $Log$
53     * Revision 1.2 2005/09/15 03:44:38 jgs
54     * Merge of development branch dev-02 back to main trunk on 2005-09-15
55     *
56     * Revision 1.1.2.1 2005/09/05 06:29:46 gross
57     * These files have been extracted from finley to define a stand alone libray for iterative
58     * linear solvers on the ALTIX. main entry through Paso_solve. this version compiles but
59     * has not been tested yet.
60     *
61     *
62     */

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26