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

Contents of /trunk/paso/src/SystemMatrixPattern.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 155 - (show annotations)
Wed Nov 9 02:02:19 2005 UTC (13 years, 9 months ago) by jgs
File MIME type: text/plain
File size: 1926 byte(s)
move all directories from trunk/esys2 into trunk and remove esys2

1 /* $Id$ */
2
3 /**************************************************************/
4
5 /* Paso: system matrix pattern */
6
7 /**************************************************************/
8
9 /* Copyrights by ACcESS Australia 2004,2005 */
10 /* Author: gross@access.edu.au */
11
12 /**************************************************************/
13
14 #ifndef INC_PASO_SYSTEMMATRIXPATTERN
15 #define INC_PASO_SYSTEMMATRIXPATTERN
16
17 #include "Common.h"
18
19 /**************************************************************/
20
21 /* Typically INDEX_OFFSET and PTR_OFFSET are 1 if the matrix is
22 handed over to a library written in FORTRAN. */
23
24 #define INDEX_OFFSET 0
25 #define PTR_OFFSET 0
26
27 typedef struct Paso_SystemMatrixPattern {
28 dim_t n_ptr;
29 dim_t n_index;
30 index_t* ptr;
31 index_t* index;
32 dim_t len;
33 dim_t reference_counter;
34
35 } Paso_SystemMatrixPattern;
36
37
38 /* interfaces: */
39
40 Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_alloc(dim_t, index_t*,index_t*);
41 Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_reference(Paso_SystemMatrixPattern*);
42 void Paso_SystemMatrixPattern_dealloc(Paso_SystemMatrixPattern*);
43 int Paso_comparIndex(const void *,const void *);
44 Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_getSubpattern(Paso_SystemMatrixPattern*,dim_t,index_t*,index_t*);
45 void Paso_SystemMatrixPattern_mis(Paso_SystemMatrixPattern* pattern_p, index_t* mis_marker);
46 Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_unrollBlocks(Paso_SystemMatrixPattern*, dim_t,dim_t);
47
48 #endif /* #ifndef INC_PASO_SYSTEMPATTERN */
49
50 /*
51 * $Log$
52 * Revision 1.2 2005/09/15 03:44:38 jgs
53 * Merge of development branch dev-02 back to main trunk on 2005-09-15
54 *
55 * Revision 1.1.2.1 2005/09/05 06:29:47 gross
56 * These files have been extracted from finley to define a stand alone libray for iterative
57 * linear solvers on the ALTIX. main entry through Paso_solve. this version compiles but
58 * has not been tested yet.
59 *
60 *
61 */

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26