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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 411 - (hide annotations)
Tue Jan 3 00:23:48 2006 UTC (14 years, 1 month ago) by gross
File MIME type: text/plain
File size: 1755 byte(s)
SCSL interface has moved

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     Paso_Options* options) {
32    
33     index_t method=Paso_Options_getSolver(options->method,PASO_SCSL,options->symmetric);
34    
35     if (Paso_noError()) {
36     if (method==PASO_CHOLEVSKY || method==PASO_DIRECT) {
37     Paso_SCSL_direct(A,out,in,options);
38     } else {
39     Paso_SCSL_iterative(A,out,in,options);
40     }
41     }
42     }
43     /*
44     * $Log$
45     * Revision 1.2 2005/09/15 03:44:39 jgs
46     * Merge of development branch dev-02 back to main trunk on 2005-09-15
47     *
48     * Revision 1.1.2.3 2005/09/07 00:59:08 gross
49     * some inconsistent renaming fixed to make the linking work.
50     *
51     * Revision 1.1.2.2 2005/09/05 10:05:06 gross
52     * naming error fixed
53     *
54     * Revision 1.1.2.1 2005/09/05 06:29:49 gross
55     * These files have been extracted from finley to define a stand alone libray for iterative
56     * linear solvers on the ALTIX. main entry through Paso_solve. this version compiles but
57     * has not been tested yet.
58     *
59     *
60     */

  ViewVC Help
Powered by ViewVC 1.1.26