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

Contents of /trunk/paso/src/SystemMatrix_getSystemMatrixTypeId.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 394 - (show annotations)
Tue Dec 20 07:20:32 2005 UTC (13 years, 10 months ago) by gross
File MIME type: text/plain
File size: 1483 byte(s)
symmetric matrix in SCSL switched off
1 /* $Id$ */
2
3 /**************************************************************/
4
5 /* Paso: returns the matrix format requested by a particular linear solver */
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 #include "SystemMatrix.h"
17
18 /**************************************************************/
19
20 index_t Paso_SystemMatrix_getSystemMatrixTypeId(index_t solver,index_t package, bool_t symmetry) {
21 index_t out=CSR;
22 package=Paso_Options_getPackage(solver,package,symmetry);
23
24 switch(package) {
25
26 case PASO_PASO:
27 out=CSR;
28 break;
29
30 case PASO_SCSL:
31 /* out= symmetry ? CSC_BLK1_SYM : CSC_BLK1; */
32 out=CSC_BLK1;
33 break;
34 /*
35 case PASO_MKL:
36 out= CSR_BLK1;
37 break;
38 */
39
40 /*
41 case PASO_UMFPACK:
42 out= CSR_BLK1;
43 break;
44 */
45
46 default:
47 Paso_setError(VALUE_ERROR,"unknown package code");
48 }
49 return out;
50 }
51 /*
52 * $Log$
53 * Revision 1.2 2005/09/15 03:44:39 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:48 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