escript  Revision_
UMFPACK.h
Go to the documentation of this file.
1 
2 /*****************************************************************************
3 *
4 * Copyright (c) 2003-2016 by The University of Queensland
5 * http://www.uq.edu.au
6 *
7 * Primary Business: Queensland, Australia
8 * Licensed under the Apache License, version 2.0
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 * Development 2012-2013 by School of Earth Sciences
13 * Development from 2014 by Centre for Geoscience Computing (GeoComp)
14 *
15 *****************************************************************************/
16 
17 
18 /****************************************************************************/
19 
20 /* Paso: interface to UMFPACK sparse solver */
21 
22 /****************************************************************************/
23 
24 /* Copyrights by ACcESS Australia 2006 */
25 /* Author: Lutz Gross, l.gross@uq.edu.au */
26 
27 /****************************************************************************/
28 
29 #ifndef __PASO_UMFPACK_H__
30 #define __PASO_UMFPACK_H__
31 
32 #include "SparseMatrix.h"
33 
34 #ifdef ESYS_HAVE_UMFPACK
35 #include <umfpack.h>
36 #endif
37 
38 namespace paso {
39 
41  void *symbolic;
42  void *numeric;
43 };
44 
45 void UMFPACK_free(SparseMatrix* A);
46 void UMFPACK_solve(SparseMatrix_ptr A, double* out, double* in,
47  dim_t numRefinements, bool verbose);
48 
49 } // namespace paso
50 
51 #endif // __PASO_UMFPACK_H__
52 
boost::shared_ptr< SparseMatrix > SparseMatrix_ptr
Definition: SparseMatrix.h:35
void UMFPACK_free(SparseMatrix *A)
frees any UMFPACK related data from the matrix
Definition: UMFPACK.cpp:35
Definition: AMG.cpp:45
void * symbolic
Definition: UMFPACK.h:41
void * numeric
Definition: UMFPACK.h:42
Definition: SparseMatrix.h:42
Definition: UMFPACK.h:40
index_t dim_t
Definition: DataTypes.h:64
void UMFPACK_solve(SparseMatrix_ptr A, double *out, double *in, dim_t numRefinements, bool verbose)
calls the solver
Definition: UMFPACK.cpp:55