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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4657 - (hide annotations)
Thu Feb 6 06:12:20 2014 UTC (6 years, 5 months ago) by jfenwick
File MIME type: text/plain
File size: 1805 byte(s)
I changed some files.
Updated copyright notices, added GeoComp.



1 jgs 150
2 jfenwick 3981 /*****************************************************************************
3 ksteube 1811 *
4 jfenwick 4657 * Copyright (c) 2003-2014 by University of Queensland
5 jfenwick 3981 * http://www.uq.edu.au
6 ksteube 1811 *
7     * Primary Business: Queensland, Australia
8     * Licensed under the Open Software License version 3.0
9     * http://www.opensource.org/licenses/osl-3.0.php
10     *
11 jfenwick 3981 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 jfenwick 4657 * Development 2012-2013 by School of Earth Sciences
13     * Development from 2014 by Centre for Geoscience Computing (GeoComp)
14 jfenwick 3981 *
15     *****************************************************************************/
16 ksteube 1312
17 ksteube 1811
18 caltinay 4444 /****************************************************************************
19 jgs 150
20 caltinay 4444 Finley: Converting an element list into a matrix shape
21 jgs 150
22 caltinay 4444 *****************************************************************************/
23 jgs 82
24 caltinay 4444 #ifndef __FINLEY_INDEXLIST_H__
25     #define __FINLEY_INDEXLIST_H__
26 jgs 82
27 jgs 150 #include "Finley.h"
28 jgs 82
29 caltinay 4444 #include <list>
30 jgs 82
31 caltinay 4444 struct Paso_Pattern;
32 jgs 82
33 caltinay 4444 // helpers to build system matrix
34 caltinay 4441
35 caltinay 4444 namespace finley {
36 jgs 82
37 caltinay 4444 class ElementFile;
38 ksteube 1312
39 caltinay 4444 typedef std::list<int> IndexList;
40 ksteube 1312
41 caltinay 4444 void IndexList_insertIndex(IndexList&, int);
42     void IndexList_toArray(const IndexList&, int*, int, int, int);
43     int IndexList_count(const IndexList&, int, int);
44    
45     Paso_Pattern* IndexList_createPattern(int n0, int n,
46     const IndexList* index_list, int range_min, int range_max,
47     int index_offset);
48    
49     void IndexList_insertElements(IndexList* index_list, ElementFile* elements,
50 caltinay 4492 bool reduce_row_order, const int* row_map,
51     bool reduce_col_order, const int* col_map);
52 caltinay 4444
53     void IndexList_insertElementsWithRowRangeNoMainDiagonal(IndexList* index_list,
54     int firstRow, int lastRow, ElementFile* elements, int* row_map,
55     int* col_map);
56    
57     } // namespace finley
58    
59     #endif // __FINLEY_INDEXLIST_H__
60    

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26