/[escript]/branches/escript3047_with_pastix2995/paso/src/SystemMatrix_getSystemMatrixTypeId.c
ViewVC logotype

Diff of /branches/escript3047_with_pastix2995/paso/src/SystemMatrix_getSystemMatrixTypeId.c

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

revision 3048 by lgao, Fri Jun 25 03:46:37 2010 UTC revision 3049 by lgao, Fri Jun 25 04:20:29 2010 UTC
# Line 30  Line 30 
30  /**************************************************************/  /**************************************************************/
31    
32  index_t Paso_SystemMatrix_getSystemMatrixTypeId(const index_t solver,const index_t preconditioner, const index_t package,const  bool_t symmetry, Paso_MPIInfo *mpi_info) {  index_t Paso_SystemMatrix_getSystemMatrixTypeId(const index_t solver,const index_t preconditioner, const index_t package,const  bool_t symmetry, Paso_MPIInfo *mpi_info) {
33      char errmessage[40];
34    index_t true_package;    index_t true_package;
35    index_t out=MATRIX_FORMAT_DEFAULT;    index_t out=MATRIX_FORMAT_DEFAULT;
36    true_package=Paso_Options_getPackage(solver,package,symmetry, mpi_info);    true_package=Paso_Options_getPackage(solver,package,symmetry, mpi_info);
# Line 60  index_t Paso_SystemMatrix_getSystemMatri Line 61  index_t Paso_SystemMatrix_getSystemMatri
61         out=MATRIX_FORMAT_CSC + MATRIX_FORMAT_BLK1;         out=MATRIX_FORMAT_CSC + MATRIX_FORMAT_BLK1;
62        break;        break;
63    
64        case PASO_PASTIX:
65          out=MATRIX_FORMAT_CSC + MATRIX_FORMAT_BLK1 + MATRIX_FORMAT_OFFSET1;
66          break;
67    
68      case PASO_TRILINOS:      case PASO_TRILINOS:
69        out=MATRIX_FORMAT_TRILINOS_CRS + MATRIX_FORMAT_BLK1; /* Distributed CRS */        out=MATRIX_FORMAT_TRILINOS_CRS + MATRIX_FORMAT_BLK1; /* Distributed CRS */
70        break;        break;

Legend:
Removed from v.3048  
changed lines
  Added in v.3049

  ViewVC Help
Powered by ViewVC 1.1.26