/[escript]/branches/domexper/dudley/src/IndexList.h
ViewVC logotype

Diff of /branches/domexper/dudley/src/IndexList.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/finley/src/IndexList.h revision 971 by ksteube, Wed Feb 14 04:40:49 2007 UTC branches/domexper/dudley/src/IndexList.h revision 3082 by jfenwick, Tue Aug 3 06:04:05 2010 UTC
# Line 1  Line 1 
 /*  
  ************************************************************  
  *          Copyright 2006 by ACcESS MNRF                   *  
  *                                                          *  
  *              http://www.access.edu.au                    *  
  *       Primary Business: Queensland, Australia            *  
  *  Licensed under the Open Software License version 3.0    *  
  *     http://www.opensource.org/licenses/osl-3.0.php       *  
  *                                                          *  
  ************************************************************  
 */  
 /**************************************************************/  
1    
2  /* Finley: Converting an element list into a matrix shape     */  /*******************************************************
3    *
4    * Copyright (c) 2003-2010 by University of Queensland
5    * Earth Systems Science Computational Center (ESSCC)
6    * http://www.uq.edu.au/esscc
7    *
8    * Primary Business: Queensland, Australia
9    * Licensed under the Open Software License version 3.0
10    * http://www.opensource.org/licenses/osl-3.0.php
11    *
12    *******************************************************/
13    
14    
15  /**************************************************************/  /**************************************************************/
16    
17  /*  Author: gross@access.edu.au */  /* Finley: Converting an element list into a matrix shape     */
 /*  Version: $Id$ */  
18    
19  /**************************************************************/  /**************************************************************/
20    
21  #ifndef INC_FINLEY_INDEXLIST  #ifndef INC_DUDLEY_INDEXLIST
22  #define INC_FINLEY_INDEXLIST  #define INC_DUDLEY_INDEXLIST
23    
24  #include "Finley.h"  #include "Dudley.h"
25  #include "ElementFile.h"  #include "ElementFile.h"
26    #include "Mesh.h"
27    
28  /* structure to build system matrix */  /* structure to build system matrix */
29    
# Line 35  typedef struct Finley_IndexList { Line 34  typedef struct Finley_IndexList {
34    dim_t n;    dim_t n;
35    struct Finley_IndexList *extension;    struct Finley_IndexList *extension;
36  } Finley_IndexList;  } Finley_IndexList;
37    void Finley_IndexList_insertElements(Finley_IndexList* index_list, Finley_ElementFile* elements,
38  void Finley_IndexList_insertElements(Finley_IndexList*, Finley_ElementFile*,dim_t, index_t*,dim_t, index_t*);                                         bool_t reduce_row_order, index_t* row_map,
39                                           bool_t reduce_col_order, index_t* col_map);
40  void Finley_IndexList_insertIndex(Finley_IndexList*, index_t);  void Finley_IndexList_insertIndex(Finley_IndexList*, index_t);
41  void Finley_IndexList_toArray(Finley_IndexList*, index_t*);  void Finley_IndexList_toArray(Finley_IndexList*, index_t*, index_t, index_t, index_t);
42  dim_t Finley_IndexList_count(Finley_IndexList*);  dim_t Finley_IndexList_count(Finley_IndexList*,  index_t, index_t);
43  void Finley_IndexList_free(Finley_IndexList*);  void Finley_IndexList_free(Finley_IndexList*);
44    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);
45    void Finley_IndexList_insertElementsWithRowRange(Finley_IndexList* index_list, index_t firstRow, index_t lastRow,
46                                                     Finley_ElementFile* elements, index_t* row_map, index_t* col_map);
47    void Finley_IndexList_insertElementsWithRowRangeNoMainDiagonal(Finley_IndexList* index_list, index_t firstRow, index_t lastRow,
48                                                                  Finley_ElementFile* elements, index_t* row_map, index_t* col_map);
49    
50    
 #endif /* #ifndef INC_FINLEY_INDEXLIST */  
51    
52  /*  
53   * $Log$  #endif /* #ifndef INC_FINLEY_INDEXLIST */
  * Revision 1.6  2005/09/15 03:44:22  jgs  
  * Merge of development branch dev-02 back to main trunk on 2005-09-15  
  *  
  * Revision 1.5.2.1  2005/09/07 06:26:19  gross  
  * the solver from finley are put into the standalone package paso now  
  *  
  * Revision 1.5  2005/07/08 04:07:51  jgs  
  * Merge of development branch back to main trunk on 2005-07-08  
  *  
  * Revision 1.4  2004/12/15 07:08:32  jgs  
  * *** empty log message ***  
  * Revision 1.1.1.1.2.3  2005/06/29 02:34:50  gross  
  * some changes towards 64 integers in finley  
  *  
  * Revision 1.1.1.1.2.2  2004/11/24 01:37:13  gross  
  * some changes dealing with the integer overflow in memory allocation. Finley solves 4M unknowns now  
  *  
  *  
  *  
  */  

Legend:
Removed from v.971  
changed lines
  Added in v.3082

  ViewVC Help
Powered by ViewVC 1.1.26