/[escript]/trunk/esys2/finley/src/finleyC/SystemPattern.h
ViewVC logotype

Contents of /trunk/esys2/finley/src/finleyC/SystemPattern.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 123 - (show annotations)
Fri Jul 8 04:08:13 2005 UTC (14 years, 9 months ago) by jgs
File MIME type: text/plain
File size: 2551 byte(s)
Merge of development branch back to main trunk on 2005-07-08

1 /* $Id$ */
2
3 /**************************************************************/
4
5 /* Finley: system matrix pattern */
6
7 /**************************************************************/
8
9 /* Copyrights by ACcESS Australia 2004 */
10 /* Author: gross@access.edu.au */
11 /* Version: $Id$ */
12
13 /**************************************************************/
14
15 #ifndef INC_FINLEY_SYSTEMPATTERN
16 #define INC_FINLEY_SYSTEMPATTERN
17
18 #include "Finley.h"
19
20 /**************************************************************/
21
22 /* Typically INDEX_OFFSET and PTR_OFFSET are 1 if the matrix is
23 handed over to a library written in FORTRAN. */
24
25 #define INDEX_OFFSET 0
26 #define PTR_OFFSET 0
27
28 typedef struct Finley_SystemMatrixPattern {
29 dim_t n_ptr;
30 dim_t n_index;
31 index_t* ptr;
32 index_t* index;
33 dim_t len;
34 dim_t reference_counter;
35
36 } Finley_SystemMatrixPattern;
37
38
39 /* interfaces: */
40
41 Finley_SystemMatrixPattern* Finley_SystemMatrixPattern_alloc(dim_t, index_t*,index_t*);
42 Finley_SystemMatrixPattern* Finley_SystemMatrixPattern_reference(Finley_SystemMatrixPattern*);
43 void Finley_SystemMatrixPattern_dealloc(Finley_SystemMatrixPattern*);
44 int Finley_comparIndex(const void *,const void *);
45 Finley_SystemMatrixPattern* Finley_SystemMatrixPattern_getSubpattern(Finley_SystemMatrixPattern*,dim_t,index_t*,index_t*);
46 void Finley_SystemMatrixPattern_mis(Finley_SystemMatrixPattern* pattern_p, index_t* mis_marker);
47 Finley_SystemMatrixPattern* Finley_SystemMatrixPattern_unrollBlocks(Finley_SystemMatrixPattern*, dim_t,dim_t);
48
49 #endif /* #ifndef INC_FINLEY_SYSTEMPATTERN */
50
51 /*
52 * $Log$
53 * Revision 1.6 2005/07/08 04:07:57 jgs
54 * Merge of development branch back to main trunk on 2005-07-08
55 *
56 * Revision 1.1.2.6 2005/06/29 02:34:56 gross
57 * some changes towards 64 integers in finley
58 *
59 * Revision 1.1.2.5 2005/03/15 07:23:55 gross
60 * Finley's interface to the SCSL library can deal with systems of PDEs now. tests shows that the SCSL library cannot deal with problems with more then 200000 unknowns. problem has been reported to SGI.
61 *
62 * Revision 1.1.2.4 2005/03/02 23:35:06 gross
63 * reimplementation of the ILU in Finley. block size>1 still needs some testing
64 *
65 * Revision 1.1.2.3 2005/02/18 02:27:31 gross
66 * two function that will be used for a reimplementation of the ILU preconditioner
67 *
68 * Revision 1.1.2.2 2004/11/24 01:37:16 gross
69 * some changes dealing with the integer overflow in memory allocation. Finley solves 4M unknowns now
70 *
71 * Revision 1.1.2.1 2004/11/14 23:49:10 gross
72 * the forgotten files
73 *
74 *
75 */

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26