ParMooN
 All Classes Functions Variables Friends Pages
amg_iter.h
1 /****************************************************************************/
2 /* */
3 /* File: amg_iter.h */
4 /* */
5 /* Purpose: header file for amg_iter.c */
6 /* */
7 /* Author: Peter Bastian */
8 /* Institut fuer Computeranwendungen III */
9 /* Universitaet Stuttgart */
10 /* Pfaffenwaldring 27 */
11 /* 70550 Stuttgart */
12 /* email: peter@ica3.uni-stuttgart.de */
13 /* phone: 0049-(0)711-685-7003 */
14 /* fax : 0049-(0)711-685-7000 */
15 /* */
16 /* History: 05 FEB 1996 Begin */
17 /* 02 OKT 1997 redesign */
18 /* */
19 /* Remarks: */
20 /* */
21 /* Author: Volker John */
22 /* Otto--von--Guericke Universitaet Magdeburg */
23 /* Institut fuer Analysis und Numerik */
24 /* Postfach 4120 */
25 /* 39016 Magdeburg */
26 /* email : volker.john@mathematik.uni-magdeburg.de */
27 /* */
28 /* History: 1998/02/19 start using this library for MooN_MD */
29 /* */
30 /* Remarks: */
31 /* */
32 /****************************************************************************/
33 
34 /****************************************************************************/
35 /* */
36 /* auto include mechanism and other include files */
37 /* */
38 /****************************************************************************/
39 
40 #ifndef __AMG_ITER__
41 #define __AMG_ITER__
42 
43 #include "amg_sp.h"
44 
45 /****************************************************************************/
46 /* */
47 /* defines in the following order */
48 /* */
49 /* compile time constants defining static data size (i.e. arrays) */
50 /* other constants */
51 /* macros */
52 /* */
53 /****************************************************************************/
54 
55 #define AMG_EX_MAT(m,b,i,j) ((m)[2*(b)*(i) + (j)])
56 
57 
58 /****************************************************************************/
59 /* */
60 /* data structures exported by the corresponding source file */
61 /* */
62 /****************************************************************************/
63 
64 /****************************************************************************/
65 /* */
66 /* functions */
67 /* */
68 /****************************************************************************/
69 
70 /* linear iteration kernels */
71 int AMG_jac (AMG_MATRIX *A, AMG_VECTOR *v, AMG_VECTOR *d, double *omega);
72 int AMG_sorf (AMG_MATRIX *A, AMG_VECTOR *v, AMG_VECTOR *d, double *omega);
73 int AMG_sorb (AMG_MATRIX *A, AMG_VECTOR *v, AMG_VECTOR *d, double *omega);
74 int AMG_sorfb (AMG_MATRIX *A, AMG_VECTOR *v, AMG_VECTOR *d, double *omega);
75 int AMG_iluf (AMG_MATRIX *A, AMG_VECTOR *v, AMG_VECTOR *d);
76 int AMG_ilub (AMG_MATRIX *A, AMG_VECTOR *v, AMG_VECTOR *d);
77 
78 int AMG_EXDecomposeMatrix (double *Mat, int bw, int n);
79 int AMG_EXApplyLU (double *Mat, int bw, int n, int blocks,double *Vec);
80 
81 int AMG_sorf_trans (AMG_MATRIX *A, AMG_VECTOR *v, AMG_VECTOR *d, double *omega);
82 
83 #endif
Definition: amg_sp.h:70
Definition: amg_sp.h:96