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

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

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

revision 424 by gross, Wed Jan 4 05:37:33 2006 UTC revision 425 by gross, Tue Jan 10 04:10:39 2006 UTC
# Line 63  index_t Paso_Options_getSolver(index_t s Line 63  index_t Paso_Options_getSolver(index_t s
63            out=PASO_BICGSTAB;            out=PASO_BICGSTAB;
64          }          }
65          break;          break;
66          case PASO_CHOLEVSKY:
67            out=PASO_CHOLEVSKY;
68            break;
69          case PASO_DIRECT:
70            out=PASO_DIRECT;
71            break;
72        default:        default:
73          if (symmetry) {          if (symmetry) {
74            out=PASO_CHOLEVSKY;            out=PASO_CHOLEVSKY;
# Line 73  index_t Paso_Options_getSolver(index_t s Line 79  index_t Paso_Options_getSolver(index_t s
79       }       }
80    /* MKL */    /* MKL */
81    } else if (package==PASO_MKL) {    } else if (package==PASO_MKL) {
82        out=PASO_DIRECT;      switch (solver) {
83          case PASO_CHOLEVSKY:
84            out=PASO_CHOLEVSKY;
85            break;
86          case PASO_DIRECT:
87            out=PASO_DIRECT;
88            break;
89          default:
90            if (symmetry) {
91              out=PASO_CHOLEVSKY;
92            } else {
93              out=PASO_DIRECT;
94            }
95            break;
96        }
97    /* UMFPACK */    /* UMFPACK */
98    } else if (package==PASO_UMFPACK) {    } else if (package==PASO_UMFPACK) {
99        out=PASO_DIRECT;        out=PASO_DIRECT;

Legend:
Removed from v.424  
changed lines
  Added in v.425

  ViewVC Help
Powered by ViewVC 1.1.26