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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 155 by jgs, Wed Nov 9 02:02:19 2005 UTC revision 415 by gross, Wed Jan 4 05:37:33 2006 UTC
# Line 18  Line 18 
18    
19  /**************************************************************/  /**************************************************************/
20    
21  /* Typically INDEX_OFFSET and PTR_OFFSET are 1 if the matrix is  #define PATTERN_FORMAT_DEFAULT 0
22     handed over to a library written in FORTRAN. */  #define PATTERN_FORMAT_SYM 1
23    #define PATTERN_FORMAT_OFFSET1 2
 #define INDEX_OFFSET 0  
 #define PTR_OFFSET 0  
24    
25  typedef struct Paso_SystemMatrixPattern {  typedef struct Paso_SystemMatrixPattern {
26      int type;
27    dim_t n_ptr;    dim_t n_ptr;
28    dim_t n_index;    dim_t n_index;
29    index_t* ptr;    index_t* ptr;
# Line 37  typedef struct Paso_SystemMatrixPattern Line 36  typedef struct Paso_SystemMatrixPattern
36    
37  /*  interfaces: */  /*  interfaces: */
38    
39  Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_alloc(dim_t, index_t*,index_t*);  Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_alloc(int ,dim_t, index_t*,index_t*);
40  Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_reference(Paso_SystemMatrixPattern*);  Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_reference(Paso_SystemMatrixPattern*);
41  void Paso_SystemMatrixPattern_dealloc(Paso_SystemMatrixPattern*);  void Paso_SystemMatrixPattern_dealloc(Paso_SystemMatrixPattern*);
42  int Paso_comparIndex(const void *,const void *);  int Paso_comparIndex(const void *,const void *);
43  Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_getSubpattern(Paso_SystemMatrixPattern*,dim_t,index_t*,index_t*);  Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_getSubpattern(Paso_SystemMatrixPattern*,dim_t,index_t*,index_t*);
44  void Paso_SystemMatrixPattern_mis(Paso_SystemMatrixPattern* pattern_p, index_t* mis_marker);  void Paso_SystemMatrixPattern_mis(Paso_SystemMatrixPattern* pattern_p, index_t* mis_marker);
45  Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_unrollBlocks(Paso_SystemMatrixPattern*, dim_t,dim_t);  Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_unrollBlocks(Paso_SystemMatrixPattern*,int, dim_t,dim_t);
46    
47  #endif /* #ifndef INC_PASO_SYSTEMPATTERN */  #endif /* #ifndef INC_PASO_SYSTEMPATTERN */
48    

Legend:
Removed from v.155  
changed lines
  Added in v.415

  ViewVC Help
Powered by ViewVC 1.1.26