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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.26