/[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 1552 - (hide annotations)
Thu May 8 08:52:41 2008 UTC (11 years, 9 months ago) by gross
Original Path: trunk/finley/src/IndexList.h
File MIME type: text/plain
File size: 1922 byte(s)
some changes to make the implementatiopn of a upwind MPI version easier
1 jgs 150
2 ksteube 1312 /* $Id$ */
3 jgs 150
4 ksteube 1312 /*******************************************************
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 jgs 82 /**************************************************************/
17 jgs 150
18 ksteube 1312 /* Finley: Converting an element list into a matrix shape */
19 jgs 150
20 jgs 82 /**************************************************************/
21    
22     #ifndef INC_FINLEY_INDEXLIST
23     #define INC_FINLEY_INDEXLIST
24    
25 jgs 150 #include "Finley.h"
26     #include "ElementFile.h"
27 ksteube 1312 #include "Mesh.h"
28 jgs 82
29     /* structure to build system matrix */
30    
31 jgs 102 #define INDEXLIST_LENGTH 85
32 jgs 82
33     typedef struct Finley_IndexList {
34 jgs 123 index_t index[INDEXLIST_LENGTH];
35     dim_t n;
36 jgs 82 struct Finley_IndexList *extension;
37     } Finley_IndexList;
38 ksteube 1312 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 jgs 123 void Finley_IndexList_insertIndex(Finley_IndexList*, index_t);
42 ksteube 1312 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 jgs 82 void Finley_IndexList_free(Finley_IndexList*);
45 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);
46 ksteube 1312 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 jgs 82
49 ksteube 1312
50    
51 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