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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 971 - (show annotations)
Wed Feb 14 04:40:49 2007 UTC (12 years, 6 months ago) by ksteube
File MIME type: text/plain
File size: 2527 byte(s)
Had to undo commit to new MPI branch. The changes went into the original and
not the branch. The files committed here are exactly the same as revision 969.


1 /* $Id$ */
2
3 /*
4 ********************************************************************************
5 * Copyright 2006 by ACcESS MNRF *
6 * *
7 * http://www.access.edu.au *
8 * Primary Business: Queensland, Australia *
9 * Licensed under the Open Software License version 3.0 *
10 * http://www.opensource.org/licenses/osl-3.0.php *
11 ********************************************************************************
12 */
13
14 /**************************************************************/
15
16 /* Paso: system matrix pattern */
17
18 /**************************************************************/
19
20 /* Copyrights by ACcESS Australia 2004,2005 */
21 /* Author: gross@access.edu.au */
22
23 /**************************************************************/
24
25 #ifndef INC_PASO_SYSTEMMATRIXPATTERN
26 #define INC_PASO_SYSTEMMATRIXPATTERN
27
28 #include "Common.h"
29
30 /**************************************************************/
31
32 #define PATTERN_FORMAT_DEFAULT 0
33 #define PATTERN_FORMAT_SYM 1
34 #define PATTERN_FORMAT_OFFSET1 2
35
36 typedef struct Paso_SystemMatrixPattern {
37 int type;
38 dim_t n_ptr;
39 dim_t n_index;
40 index_t* ptr;
41 index_t* index;
42 dim_t len;
43 dim_t reference_counter;
44
45 } Paso_SystemMatrixPattern;
46
47
48 /* interfaces: */
49
50 Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_alloc(int ,dim_t, index_t*,index_t*);
51 Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_reference(Paso_SystemMatrixPattern*);
52 void Paso_SystemMatrixPattern_dealloc(Paso_SystemMatrixPattern*);
53 int Paso_comparIndex(const void *,const void *);
54 Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_getSubpattern(Paso_SystemMatrixPattern*,dim_t,index_t*,index_t*);
55 void Paso_SystemMatrixPattern_mis(Paso_SystemMatrixPattern* pattern_p, index_t* mis_marker);
56 Paso_SystemMatrixPattern* Paso_SystemMatrixPattern_unrollBlocks(Paso_SystemMatrixPattern*,int, dim_t,dim_t);
57
58 #endif /* #ifndef INC_PASO_SYSTEMPATTERN */
59
60 /*
61 * $Log$
62 * Revision 1.2 2005/09/15 03:44:38 jgs
63 * Merge of development branch dev-02 back to main trunk on 2005-09-15
64 *
65 * Revision 1.1.2.1 2005/09/05 06:29:47 gross
66 * These files have been extracted from finley to define a stand alone libray for iterative
67 * linear solvers on the ALTIX. main entry through Paso_solve. this version compiles but
68 * has not been tested yet.
69 *
70 *
71 */

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26