/[escript]/branches/RW_WIN32/finley/src/finleyC/IndexList.h
ViewVC logotype

Diff of /branches/RW_WIN32/finley/src/finleyC/IndexList.h

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

trunk/esys2/finley/src/finleyC/IndexList.h revision 82 by jgs, Tue Oct 26 06:53:54 2004 UTC branches/RW_WIN32/finley/src/finleyC/IndexList.h revision 186 by robwdcock, Sun Nov 20 10:51:16 2005 UTC
# Line 1  Line 1 
1    /*
2     ******************************************************************************
3     *                                                                            *
4     *       COPYRIGHT  ACcESS 2003,2004,2005 -  All Rights Reserved              *
5     *                                                                            *
6     * This software is the property of ACcESS. No part of this code              *
7     * may be copied in any form or by any means without the expressed written    *
8     * consent of ACcESS.  Copying, use or modification of this software          *
9     * by any unauthorised person is illegal unless that person has a software    *
10     * license agreement with ACcESS.                                             *
11     *                                                                            *
12     ******************************************************************************
13    */
14    
 /* $Id$ */  
                                                                                                                                                                                                     
15  /**************************************************************/  /**************************************************************/
16                                                                                                                                                                                                      
17  /* Finley: Converting an element list into a matrix shape     */  /* Finley: Converting an element list into a matrix shape     */
18                                                                                                                                                                                                      
19  /**************************************************************/  /**************************************************************/
20                                                                                                                                                                                                      
21  /* Copyrights by ACcESS Australia 2003,2004 */  /*  Author: gross@access.edu.au */
22  /* Author: gross@access.edu.au */  /*  Version: $Id$ */
23                                                                                                                                                                                                      
24  /**************************************************************/  /**************************************************************/
25    
26  #ifndef INC_FINLEY_INDEXLIST  #ifndef INC_FINLEY_INDEXLIST
27  #define INC_FINLEY_INDEXLIST  #define INC_FINLEY_INDEXLIST
28    
29  #include "ElementFile.h"  #include "Finley.h"
30  #include "System.h"  #include "ElementFile.h"
31    #ifdef __cplusplus
32    extern "C" {
33    #endif
34    
35  /* structure to build system matrix */  /* structure to build system matrix */
36    
37  #define INDEXLIST_LENGTH 200  #define INDEXLIST_LENGTH 85
38    
39  typedef struct Finley_IndexList {  typedef struct Finley_IndexList {
40    int index[INDEXLIST_LENGTH];    index_t index[INDEXLIST_LENGTH];
41    int n;    dim_t n;
42    struct Finley_IndexList *extension;    struct Finley_IndexList *extension;
43  } Finley_IndexList;  } Finley_IndexList;
44    
45  void Finley_IndexList_insertElements(Finley_IndexList*, Finley_ElementFile*,int,int,maybelong*,int,int,maybelong*,int,Finley_SystemMatrixType);  void Finley_IndexList_insertElements(Finley_IndexList*, Finley_ElementFile*,dim_t, index_t*,dim_t, index_t*);
46  void Finley_IndexList_insertIndex(Finley_IndexList*, maybelong);  void Finley_IndexList_insertIndex(Finley_IndexList*, index_t);
47  void Finley_IndexList_toArray(Finley_IndexList*, maybelong*);  void Finley_IndexList_toArray(Finley_IndexList*, index_t*);
48  int Finley_IndexList_count(Finley_IndexList*);  dim_t Finley_IndexList_count(Finley_IndexList*);
49  void Finley_IndexList_free(Finley_IndexList*);  void Finley_IndexList_free(Finley_IndexList*);
50    #ifdef __cplusplus
51    }
52    #endif /* __cplusplus */
53    
54    
55  #endif /* #ifndef INC_FINLEY_INDEXLIST */  #endif /* #ifndef INC_FINLEY_INDEXLIST */
56    
57  /*  /*
58   * $Log$   * $Log$
59   * Revision 1.1  2004/10/26 06:53:57  jgs   * Revision 1.6  2005/09/15 03:44:22  jgs
60   * Initial revision   * Merge of development branch dev-02 back to main trunk on 2005-09-15
61     *
62     * Revision 1.5.2.1  2005/09/07 06:26:19  gross
63     * the solver from finley are put into the standalone package paso now
64     *
65     * Revision 1.5  2005/07/08 04:07:51  jgs
66     * Merge of development branch back to main trunk on 2005-07-08
67     *
68     * Revision 1.4  2004/12/15 07:08:32  jgs
69     * *** empty log message ***
70     * Revision 1.1.1.1.2.3  2005/06/29 02:34:50  gross
71     * some changes towards 64 integers in finley
72     *
73     * Revision 1.1.1.1.2.2  2004/11/24 01:37:13  gross
74     * some changes dealing with the integer overflow in memory allocation. Finley solves 4M unknowns now
75   *   *
  * Revision 1.1  2004/07/02 04:21:13  gross  
  * Finley C code has been included  
76   *   *
77   *   *
78   */   */

Legend:
Removed from v.82  
changed lines
  Added in v.186

  ViewVC Help
Powered by ViewVC 1.1.26