/[escript]/branches/domexper/dudley/src/IndexList.h
ViewVC logotype

Annotation of /branches/domexper/dudley/src/IndexList.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3080 - (hide annotations)
Tue Aug 3 04:28:03 2010 UTC (9 years, 6 months ago) by jfenwick
File MIME type: text/plain
File size: 2145 byte(s)
inital rename
1 jgs 150
2 ksteube 1312 /*******************************************************
3 ksteube 1811 *
4 jfenwick 2881 * Copyright (c) 2003-2010 by University of Queensland
5 ksteube 1811 * Earth Systems Science Computational Center (ESSCC)
6     * http://www.uq.edu.au/esscc
7     *
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 ksteube 1312
14 ksteube 1811
15 jgs 82 /**************************************************************/
16 jgs 150
17 ksteube 1312 /* Finley: Converting an element list into a matrix shape */
18 jgs 150
19 jgs 82 /**************************************************************/
20    
21     #ifndef INC_FINLEY_INDEXLIST
22     #define INC_FINLEY_INDEXLIST
23    
24 jgs 150 #include "Finley.h"
25     #include "ElementFile.h"
26 ksteube 1312 #include "Mesh.h"
27 jgs 82
28     /* structure to build system matrix */
29    
30 jgs 102 #define INDEXLIST_LENGTH 85
31 jgs 82
32     typedef struct Finley_IndexList {
33 jgs 123 index_t index[INDEXLIST_LENGTH];
34     dim_t n;
35 jgs 82 struct Finley_IndexList *extension;
36     } Finley_IndexList;
37 ksteube 1312 void Finley_IndexList_insertElements(Finley_IndexList* index_list, Finley_ElementFile* elements,
38     bool_t reduce_row_order, index_t* row_map,
39     bool_t reduce_col_order, index_t* col_map);
40 jgs 123 void Finley_IndexList_insertIndex(Finley_IndexList*, index_t);
41 ksteube 1312 void Finley_IndexList_toArray(Finley_IndexList*, index_t*, index_t, index_t, index_t);
42     dim_t Finley_IndexList_count(Finley_IndexList*, index_t, index_t);
43 jgs 82 void Finley_IndexList_free(Finley_IndexList*);
44 gross 1552 Paso_Pattern* Finley_IndexList_createPattern(dim_t n0, dim_t n,Finley_IndexList* index_list,index_t range_min,index_t range_max, index_t index_offset);
45 ksteube 1312 void Finley_IndexList_insertElementsWithRowRange(Finley_IndexList* index_list, index_t firstRow, index_t lastRow,
46     Finley_ElementFile* elements, index_t* row_map, index_t* col_map);
47 gross 1722 void Finley_IndexList_insertElementsWithRowRangeNoMainDiagonal(Finley_IndexList* index_list, index_t firstRow, index_t lastRow,
48     Finley_ElementFile* elements, index_t* row_map, index_t* col_map);
49 jgs 82
50 ksteube 1312
51    
52 gross 1722
53 jgs 82 #endif /* #ifndef INC_FINLEY_INDEXLIST */

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26