escript  Revision_4925
MergedSolver.h
Go to the documentation of this file.
1 
2 /*****************************************************************************
3 *
4 * Copyright (c) 2003-2014 by University of Queensland
5 * http://www.uq.edu.au
6 *
7 * Primary Business: Queensland, Australia
8 * Licensed under the Open Software License version 3.0
9 * http://www.opensource.org/licenses/osl-3.0.php
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;
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:94
index_t verbose
Definition: MergedSolver.h:50
Struct that holds MPI communicator, rank, size and a tag counter.
Definition: Esys_MPI.h:48
index_t reordering
Definition: MergedSolver.h:48
index_t sweeps
Definition: MergedSolver.h:51
boost::shared_ptr< SparseMatrix > SparseMatrix_ptr
Definition: SparseMatrix.h:35
Esys_MPIInfo * mpi_info
Definition: MergedSolver.h:42
index_t * counts
Definition: MergedSolver.h:46
index_t refinements
Definition: MergedSolver.h:49
~MergedSolver()
Definition: MergedSolver.cpp:81
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 index_t
Definition: types.h:25
index_t * offset
Definition: MergedSolver.h:47
SparseMatrix_ptr A
Definition: MergedSolver.h:43