/[escript]/trunk/paso/src/AMG_Restriction.cpp
ViewVC logotype

Diff of /trunk/paso/src/AMG_Restriction.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3911 by jfenwick, Thu Jun 14 01:01:03 2012 UTC revision 3981 by jfenwick, Fri Sep 21 02:47:54 2012 UTC
# Line 1  Line 1 
1  /*******************************************************  /*****************************************************************************
2  *  *
3  * Copyright (c) 2003-2012 by University of Queensland  * Copyright (c) 2003-2012 by University of Queensland
4  * Earth Systems Science Computational Center (ESSCC)  * http://www.uq.edu.au
 * http://www.uq.edu.au/esscc  
5  *  *
6  * Primary Business: Queensland, Australia  * Primary Business: Queensland, Australia
7  * Licensed under the Open Software License version 3.0  * Licensed under the Open Software License version 3.0
8  * http://www.opensource.org/licenses/osl-3.0.php  * http://www.opensource.org/licenses/osl-3.0.php
9  *  *
10  *******************************************************/  * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
11    * Development since 2012 by School of Earth Sciences
12    *
13    *****************************************************************************/
14    
15    
16  /**************************************************************/  /************************************************************************************/
17    
18  /* Paso: defines AMG Restriction Operator  */  /* Paso: defines AMG Restriction Operator  */
19    
20  /**************************************************************/  /************************************************************************************/
21    
22  /* Author: Lin Gao, lgao@uq.edu.au */  /* Author: Lin Gao, lgao@uq.edu.au */
23    
24  /**************************************************************/  /************************************************************************************/
25    
26  #include "Paso.h"  #include "Paso.h"
27  #include "SparseMatrix.h"  #include "SparseMatrix.h"
28  #include "PasoUtil.h"  #include "PasoUtil.h"
29  #include "Preconditioner.h"  #include "Preconditioner.h"
30    
31  /**************************************************************  /************************************************************************************
32    
33      Methods nessecary for AMG preconditioner      Methods nessecary for AMG preconditioner
34    
# Line 35  Line 37 
37      R->mainBlock is the transpose of P->mainBlock, but we need      R->mainBlock is the transpose of P->mainBlock, but we need
38      to recover R->col_coupleBlock from P's data in other ranks.      to recover R->col_coupleBlock from P's data in other ranks.
39    
40  ***************************************************************/  *************************************************************************************/
41    
42  Paso_SystemMatrix* Paso_Preconditioner_AMG_getRestriction(Paso_SystemMatrix* P)  Paso_SystemMatrix* Paso_Preconditioner_AMG_getRestriction(Paso_SystemMatrix* P)
43  {  {

Legend:
Removed from v.3911  
changed lines
  Added in v.3981

  ViewVC Help
Powered by ViewVC 1.1.26