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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 415 by gross, Wed Jan 4 05:37:33 2006 UTC revision 1312 by ksteube, Mon Sep 24 06:18:44 2007 UTC
# Line 1  Line 1 
1    
2  /* $Id$ */  /* $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: returns the matrix format requested by a particular linear solver */  /* Paso: returns the matrix format requested by a particular linear solver */
# Line 29  index_t Paso_SystemMatrix_getSystemMatri Line 42  index_t Paso_SystemMatrix_getSystemMatri
42    
43       case PASO_SCSL:       case PASO_SCSL:
44         out=MATRIX_FORMAT_CSC + MATRIX_FORMAT_BLK1;         out=MATRIX_FORMAT_CSC + MATRIX_FORMAT_BLK1;
45         /* if out= symmetry ? out+=MATRIX_FORMAT_SYM; */         /* if (solver == PASO_CHOLEVSKY) out+=MATRIX_FORMAT_SYM */
46         break;         break;
47    
48       case PASO_MKL:       case PASO_MKL:
49         out=MATRIX_FORMAT_BLK1;         out=MATRIX_FORMAT_BLK1 + MATRIX_FORMAT_OFFSET1;
50           /* if (solver == PASO_CHOLEVSKY) out+=MATRIX_FORMAT_SYM */
51         break;         break;
52    
53       case PASO_UMFPACK:       case PASO_UMFPACK:
54         out=MATRIX_FORMAT_BLK1;         out=MATRIX_FORMAT_CSC + MATRIX_FORMAT_BLK1;
55          break;
56    
57        case PASO_TRILINOS:
58          out=MATRIX_FORMAT_TRILINOS_CRS + MATRIX_FORMAT_BLK1; /* Distributed CRS */
59        break;        break;
60    
61       default:       default:

Legend:
Removed from v.415  
changed lines
  Added in v.1312

  ViewVC Help
Powered by ViewVC 1.1.26