ESScript  Revision_4488
dudley/src/IndexList.h
Go to the documentation of this file.
1 
2 /*****************************************************************************
3 *
4 * Copyright (c) 2003-2013 by University of Queensland
5 * http://www.uq.edu.au
6 *
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 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 * Development since 2012 by School of Earth Sciences
13 *
14 *****************************************************************************/
15 
16 /************************************************************************************/
17 
18 /* Dudley: Converting an element list into a matrix shape */
19 
20 /************************************************************************************/
21 
22 #ifndef INC_DUDLEY_INDEXLIST
23 #define INC_DUDLEY_INDEXLIST
24 
25 #include "Dudley.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 Dudley_IndexList {
39  bool_t reduce_row_order, index_t * row_map,
40  bool_t reduce_col_order, index_t * col_map);
46  index_t range_max, index_t index_offset);
48  Dudley_ElementFile * elements, index_t * row_map, index_t * col_map);
50  index_t lastRow, Dudley_ElementFile * elements,
51  index_t * row_map, index_t * col_map);
52 
53 #endif /* #ifndef INC_DUDLEY_INDEXLIST */