/[escript]/trunk/paso/src/Pattern_coupling.h
ViewVC logotype

Annotation of /trunk/paso/src/Pattern_coupling.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2760 - (hide annotations)
Thu Nov 19 05:22:45 2009 UTC (10 years ago) by artak
File MIME type: text/plain
File size: 1749 byte(s)
The first version of the new AMG preconditioner. It need a lot of polishing for efficiency. Old AMG now called AMLI preconditioner.
1 phornby 1913
2     /*******************************************************
3     *
4 jfenwick 2548 * Copyright (c) 2003-2009 by University of Queensland
5 phornby 1913 * Earth Systems Science Computational Center (ESSCC)
6     * http://www.uq.edu.au/esscc
7     *
8     * Primary Business: Queensland, Australia
9     * Licensed under the Open Software License version 3.0
10     * http://www.opensource.org/licenses/osl-3.0.php
11     *
12     *******************************************************/
13    
14    
15     /**************************************************************/
16    
17 artak 2475 /* Paso: Pattern_coupling */
18 phornby 1913
19     /**************************************************************/
20    
21 artak 2475 /* Author: Artak Amirbekyan */
22 phornby 1913
23     /**************************************************************/
24    
25     #ifndef INC_PASO_PATTERN_COUPLING
26     #define INC_PASO_PATTERN_COUPLING
27    
28 artak 1932 #include "SparseMatrix.h"
29 phornby 1913
30     /**************************************************************/
31    
32 artak 2652 void Paso_Pattern_YS(Paso_SparseMatrix* A, index_t* mis_marker, double thershold);
33 artak 2381 void Paso_Pattern_RS(Paso_SparseMatrix* A, index_t* mis_marker, double theta);
34     void Paso_Pattern_Aggregiation(Paso_SparseMatrix* A, index_t* mis_marker, double theta);
35 artak 2450 void Paso_Pattern_greedy(Paso_Pattern* pattern, index_t* mis_marker);
36 artak 2475 void Paso_Pattern_greedy_color(Paso_Pattern* pattern, index_t* mis_marker);
37 artak 2726 void Paso_Pattern_greedy_diag(Paso_SparseMatrix* A, index_t* mis_marker, double thershold);
38 artak 2307
39 artak 2760 void Paso_Pattern_YS_plus(Paso_SparseMatrix* A, index_t* mis_marker, double alpha, double taw, double delta);
40     void Paso_Pattern_RS_MI(Paso_SparseMatrix* A, index_t* mis_marker, double theta);
41     /*dim_t how_many(dim_t n,dim_t* S_i, int value1, dim_t* addedSet, int value2);*/
42 artak 2475
43 artak 2760 dim_t how_many(dim_t i,Paso_Pattern * S, bool_t transpose);
44     dim_t arg_max(dim_t n, dim_t* lambda, dim_t mask);
45    
46 phornby 1913 #endif

  ViewVC Help
Powered by ViewVC 1.1.26