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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 584 - (hide annotations)
Thu Mar 9 23:03:38 2006 UTC (13 years, 11 months ago) by gross
File MIME type: text/plain
File size: 1809 byte(s)
eigenvalues: compiles and passes tests on altix now
1 gross 411 /* $Id: SCSL.c 150 2005-09-15 03:44:45Z jgs $ */
2    
3     /**************************************************************/
4    
5     /* Paso: interface to the SGI SCSL library */
6    
7     /**************************************************************/
8    
9     /* Copyrights by ACcESS Australia 2003,2004,2005 */
10     /* Author: gross@@access.edu.au */
11    
12     /**************************************************************/
13    
14     #include "Paso.h"
15     #include "SystemMatrix.h"
16     #include "SCSL.h"
17    
18     /**************************************************************/
19    
20     /* free any extra stuff possibly used by the SCSL library */
21    
22     void Paso_SCSL_free(Paso_SystemMatrix* A) {
23     Paso_SCSL_direct_free(A);
24     Paso_SCSL_iterative_free(A);
25     }
26     /* call the solver: */
27    
28     void Paso_SCSL(Paso_SystemMatrix* A,
29     double* out,
30     double* in,
31 gross 584 Paso_Options* options,
32     Paso_Performance* pp) {
33 gross 411
34     index_t method=Paso_Options_getSolver(options->method,PASO_SCSL,options->symmetric);
35    
36     if (Paso_noError()) {
37     if (method==PASO_CHOLEVSKY || method==PASO_DIRECT) {
38 gross 584 Paso_SCSL_direct(A,out,in,options,pp);
39 gross 411 } else {
40 gross 584 Paso_SCSL_iterative(A,out,in,options,pp);
41 gross 411 }
42     }
43     }
44     /*
45     * $Log$
46     * Revision 1.2 2005/09/15 03:44:39 jgs
47     * Merge of development branch dev-02 back to main trunk on 2005-09-15
48     *
49     * Revision 1.1.2.3 2005/09/07 00:59:08 gross
50     * some inconsistent renaming fixed to make the linking work.
51     *
52     * Revision 1.1.2.2 2005/09/05 10:05:06 gross
53     * naming error fixed
54     *
55     * Revision 1.1.2.1 2005/09/05 06:29:49 gross
56     * These files have been extracted from finley to define a stand alone libray for iterative
57     * linear solvers on the ALTIX. main entry through Paso_solve. this version compiles but
58     * has not been tested yet.
59     *
60     *
61     */

  ViewVC Help
Powered by ViewVC 1.1.26