escript  Revision_
MergedSolver.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: Merged solver for AMG
21 
22  ****************************************************************************/
23 
24 /* Author: lgao@uq.edu.au, l.gross@uq.edu.au */
25 
26 /****************************************************************************/
27 
28 #ifndef __PASO_MERGEDSOLVER_H__
29 #define __PASO_MERGEDSOLVER_H__
30 
31 #include "SystemMatrix.h"
32 
33 namespace paso {
34 
36 {
38  ~MergedSolver();
39 
40  void solve(double* local_x, const double* local_b);
41 
44  double* x;
45  double* b;
46  int* counts;
47  int* offset;
52 };
53 
54 } // namespace paso
55 
56 #endif // __PASO_MERGEDSOLVER_H__
57 
MergedSolver(const_SystemMatrix_ptr A, const Options *options)
Definition: MergedSolver.cpp:36
double * b
Definition: MergedSolver.h:45
Definition: Options.h:90
index_t verbose
Definition: MergedSolver.h:50
index_t reordering
Definition: MergedSolver.h:48
index_t sweeps
Definition: MergedSolver.h:51
boost::shared_ptr< SparseMatrix > SparseMatrix_ptr
Definition: SparseMatrix.h:35
Definition: AMG.cpp:38
index_t refinements
Definition: MergedSolver.h:49
~MergedSolver()
Definition: MergedSolver.cpp:81
esysUtils::JMPI mpi_info
Definition: MergedSolver.h:42
void solve(double *local_x, const double *local_b)
Definition: MergedSolver.cpp:89
double * x
Definition: MergedSolver.h:44
boost::shared_ptr< const SystemMatrix > const_SystemMatrix_ptr
Definition: SystemMatrix.h:40
Definition: MergedSolver.h:35
int * offset
Definition: MergedSolver.h:47
int index_t
Definition: types.h:24
int * counts
Definition: MergedSolver.h:46
boost::shared_ptr< JMPI_ > JMPI
Definition: Esys_MPI.h:79
SparseMatrix_ptr A
Definition: MergedSolver.h:43