/[escript]/trunk-mpi-branch/finley/src/IndexList.h
ViewVC logotype

Contents of /trunk-mpi-branch/finley/src/IndexList.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1258 - (show annotations)
Mon Aug 20 03:56:05 2007 UTC (12 years, 1 month ago) by gross
File MIME type: text/plain
File size: 2159 byte(s)
solver starts now but there still seems to be a problem in the MVM
1 /*
2 ************************************************************
3 * Copyright 2006 by ACcESS MNRF *
4 * *
5 * http://www.access.edu.au *
6 * Primary Business: Queensland, Australia *
7 * Licensed under the Open Software License version 3.0 *
8 * http://www.opensource.org/licenses/osl-3.0.php *
9 * *
10 ************************************************************
11 */
12 /**************************************************************/
13
14 /* Finley: Converting an element list into a matrix shape */
15
16 /**************************************************************/
17
18 /* Author: gross@access.edu.au */
19 /* Version: $Id$ */
20
21 /**************************************************************/
22
23 #ifndef INC_FINLEY_INDEXLIST
24 #define INC_FINLEY_INDEXLIST
25
26 #include "Finley.h"
27 #include "ElementFile.h"
28 #include "Mesh.h"
29
30 /* structure to build system matrix */
31
32 #define INDEXLIST_LENGTH 85
33
34 typedef struct Finley_IndexList {
35 index_t index[INDEXLIST_LENGTH];
36 dim_t n;
37 struct Finley_IndexList *extension;
38 } Finley_IndexList;
39 void Finley_IndexList_insertElements(Finley_IndexList* index_list, Finley_ElementFile* elements,
40 bool_t reduce_row_order, index_t* row_map,
41 bool_t reduce_col_order, index_t* col_map);
42 void Finley_IndexList_insertIndex(Finley_IndexList*, index_t);
43 void Finley_IndexList_toArray(Finley_IndexList*, index_t*, index_t, index_t, index_t);
44 dim_t Finley_IndexList_count(Finley_IndexList*, index_t, index_t);
45 void Finley_IndexList_free(Finley_IndexList*);
46 Paso_Pattern* Finley_IndexList_createPattern(dim_t n,Finley_IndexList* index_list,index_t range_min,index_t range_max, index_t index_offset);
47 void Finley_IndexList_insertElementsWithRowRange(Finley_IndexList* index_list, index_t firstRow, index_t lastRow,
48 Finley_ElementFile* elements, index_t* row_map, index_t* col_map);
49
50
51
52 #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