/[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 115 - (show annotations)
Fri Mar 4 07:12:47 2005 UTC (14 years, 3 months ago) by jgs
File MIME type: text/plain
File size: 1491 byte(s)
*** empty log message ***

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 maybelong n_ptr;
30 maybelong n_index;
31 maybelong* ptr;
32 maybelong* index;
33 size_t len;
34 maybelong reference_counter;
35
36 } Finley_SystemMatrixPattern;
37
38
39 /* interfaces: */
40
41 Finley_SystemMatrixPattern* Finley_SystemMatrixPattern_alloc(int, maybelong*,maybelong*);
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*,int,maybelong*,maybelong*);
46 void Finley_SystemMatrixPattern_mis(Finley_SystemMatrixPattern* pattern_p, maybelong* mis_marker);
47
48 #endif /* #ifndef INC_FINLEY_SYSTEMPATTERN */

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26