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

Contents of /trunk/finley/src/IndexList.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1552 - (show annotations)
Thu May 8 08:52:41 2008 UTC (11 years, 5 months ago) by gross
File MIME type: text/plain
File size: 1922 byte(s)
some changes to make the implementatiopn of a upwind MPI version easier
1
2 /* $Id$ */
3
4 /*******************************************************
5 *
6 * Copyright 2003-2007 by ACceSS MNRF
7 * Copyright 2007 by University of Queensland
8 *
9 * http://esscc.uq.edu.au
10 * Primary Business: Queensland, Australia
11 * Licensed under the Open Software License version 3.0
12 * http://www.opensource.org/licenses/osl-3.0.php
13 *
14 *******************************************************/
15
16 /**************************************************************/
17
18 /* Finley: Converting an element list into a matrix shape */
19
20 /**************************************************************/
21
22 #ifndef INC_FINLEY_INDEXLIST
23 #define INC_FINLEY_INDEXLIST
24
25 #include "Finley.h"
26 #include "ElementFile.h"
27 #include "Mesh.h"
28
29 /* structure to build system matrix */
30
31 #define INDEXLIST_LENGTH 85
32
33 typedef struct Finley_IndexList {
34 index_t index[INDEXLIST_LENGTH];
35 dim_t n;
36 struct Finley_IndexList *extension;
37 } Finley_IndexList;
38 void Finley_IndexList_insertElements(Finley_IndexList* index_list, Finley_ElementFile* elements,
39 bool_t reduce_row_order, index_t* row_map,
40 bool_t reduce_col_order, index_t* col_map);
41 void Finley_IndexList_insertIndex(Finley_IndexList*, index_t);
42 void Finley_IndexList_toArray(Finley_IndexList*, index_t*, index_t, index_t, index_t);
43 dim_t Finley_IndexList_count(Finley_IndexList*, index_t, index_t);
44 void Finley_IndexList_free(Finley_IndexList*);
45 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);
46 void Finley_IndexList_insertElementsWithRowRange(Finley_IndexList* index_list, index_t firstRow, index_t lastRow,
47 Finley_ElementFile* elements, index_t* row_map, index_t* col_map);
48
49
50
51 #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