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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1811 - (show annotations)
Thu Sep 25 23:11:13 2008 UTC (11 years ago) by ksteube
File MIME type: text/plain
File size: 2164 byte(s)
Copyright updated in all files

1
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2008 by University of Queensland
5 * Earth Systems Science Computational Center (ESSCC)
6 * http://www.uq.edu.au/esscc
7 *
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
15 /**************************************************************/
16
17 /* Paso: interface to the SGI SCSL library */
18
19 /**************************************************************/
20
21 /* Copyrights by ACcESS Australia 2003,2004,2005 */
22 /* Author: gross@@access.edu.au */
23
24 /**************************************************************/
25
26 #include "Paso.h"
27 #include "SystemMatrix.h"
28 #include "SCSL.h"
29
30 /**************************************************************/
31
32 /* free any extra stuff possibly used by the SCSL library */
33
34 void Paso_SCSL_free(Paso_SystemMatrix* A) {
35 Paso_SCSL_direct_free(A);
36 Paso_SCSL_iterative_free(A);
37 }
38 /* call the solver: */
39
40 void Paso_SCSL(Paso_SystemMatrix* A,
41 double* out,
42 double* in,
43 Paso_Options* options,
44 Paso_Performance* pp) {
45
46 index_t method=Paso_Options_getSolver(options->method,PASO_SCSL,options->symmetric);
47
48 if (Paso_noError()) {
49 if (method==PASO_CHOLEVSKY || method==PASO_DIRECT) {
50 Paso_SCSL_direct(A,out,in,options,pp);
51 } else {
52 Paso_SCSL_iterative(A,out,in,options,pp);
53 }
54 }
55 }
56 /*
57 * $Log$
58 * Revision 1.2 2005/09/15 03:44:39 jgs
59 * Merge of development branch dev-02 back to main trunk on 2005-09-15
60 *
61 * Revision 1.1.2.3 2005/09/07 00:59:08 gross
62 * some inconsistent renaming fixed to make the linking work.
63 *
64 * Revision 1.1.2.2 2005/09/05 10:05:06 gross
65 * naming error fixed
66 *
67 * Revision 1.1.2.1 2005/09/05 06:29:49 gross
68 * These files have been extracted from finley to define a stand alone libray for iterative
69 * linear solvers on the ALTIX. main entry through Paso_solve. this version compiles but
70 * has not been tested yet.
71 *
72 *
73 */

  ViewVC Help
Powered by ViewVC 1.1.26