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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 113 - (hide annotations)
Mon Feb 28 07:06:33 2005 UTC (14 years, 2 months ago) by jgs
File MIME type: text/plain
File size: 1392 byte(s)
*** empty log message ***

1 jgs 102 /* $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 jgs 113 Finley_SystemMatrixPattern* Finley_SystemMatrixPattern_getSubpattern(Finley_SystemMatrixPattern*,int,maybelong*,maybelong*);
46 jgs 102
47     #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