/[escript]/trunk/paso/src/UMFPACK.h
ViewVC logotype

Annotation of /trunk/paso/src/UMFPACK.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6939 - (hide annotations)
Mon Jan 20 03:37:18 2020 UTC (4 weeks, 1 day ago) by uqaeller
File MIME type: text/plain
File size: 1467 byte(s)
Updated the copyright header.


1 ksteube 1312
2 jfenwick 3981 /*****************************************************************************
3 ksteube 1811 *
4 uqaeller 6939 * Copyright (c) 2003-2020 by The University of Queensland
5 jfenwick 3981 * http://www.uq.edu.au
6 ksteube 1811 *
7     * Primary Business: Queensland, Australia
8 jfenwick 6112 * Licensed under the Apache License, version 2.0
9     * http://www.apache.org/licenses/LICENSE-2.0
10 ksteube 1811 *
11 jfenwick 3981 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 jfenwick 4657 * Development 2012-2013 by School of Earth Sciences
13 uqaeller 6939 * Development from 2014-2017 by Centre for Geoscience Computing (GeoComp)
14     * Development from 2019 by School of Earth and Environmental Sciences
15     **
16 jfenwick 3981 *****************************************************************************/
17 gross 806
18 ksteube 1811
19 caltinay 4829 /****************************************************************************/
20 gross 806
21 caltinay 4836 /* Paso: interface to UMFPACK sparse solver */
22 gross 806
23 caltinay 4829 /****************************************************************************/
24 gross 806
25     /* Copyrights by ACcESS Australia 2006 */
26 jfenwick 2608 /* Author: Lutz Gross, l.gross@uq.edu.au */
27 gross 806
28 caltinay 4829 /****************************************************************************/
29 gross 806
30 caltinay 4830 #ifndef __PASO_UMFPACK_H__
31     #define __PASO_UMFPACK_H__
32 gross 806
33 caltinay 4830 #include "SparseMatrix.h"
34 gross 806
35 caltinay 6144 #ifdef ESYS_HAVE_UMFPACK
36 artak 1931 #include <umfpack.h>
37 gross 806 #endif
38    
39 caltinay 4830 namespace paso {
40    
41     struct UMFPACK_Handler {
42 gross 806 void *symbolic;
43     void *numeric;
44 caltinay 4830 };
45 gross 806
46 caltinay 4830 void UMFPACK_free(SparseMatrix* A);
47     void UMFPACK_solve(SparseMatrix_ptr A, double* out, double* in,
48     dim_t numRefinements, bool verbose);
49 caltinay 4829
50 caltinay 4830 } // namespace paso
51    
52     #endif // __PASO_UMFPACK_H__
53    

  ViewVC Help
Powered by ViewVC 1.1.26