# Contents of /trunk/paso/src/MergedSolver.h

Revision 4934 - (show annotations)
Tue May 13 00:28:11 2014 UTC (5 years, 4 months ago) by jfenwick
File MIME type: text/plain
File size: 1483 byte(s)
```This commit is brought to you by the number 4934 and the tool "meld".
Merge of partially complete split world code from branch.

```
 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 35 struct MergedSolver 36 { 37 MergedSolver(const_SystemMatrix_ptr A, const Options* options); 38 ~MergedSolver(); 39 40 void solve(double* local_x, const double* local_b); 41 42 esysUtils::JMPI mpi_info; 43 SparseMatrix_ptr A; 44 double* x; 45 double* b; 46 index_t* counts; 47 index_t* offset; 48 index_t reordering; 49 index_t refinements; 50 index_t verbose; 51 index_t sweeps; 52 }; 53 54 } // namespace paso 55 56 #endif // __PASO_MERGEDSOLVER_H__ 57