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

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

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

revision 102 by jgs, Wed Dec 15 07:08:39 2004 UTC revision 150 by jgs, Thu Sep 15 03:44:45 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    
32  /* structure to build system matrix */  /* structure to build system matrix */
33    
34  #define INDEXLIST_LENGTH 85  #define INDEXLIST_LENGTH 85
35    
36  typedef struct Finley_IndexList {  typedef struct Finley_IndexList {
37    maybelong index[INDEXLIST_LENGTH];    index_t index[INDEXLIST_LENGTH];
38    maybelong n;    dim_t n;
39    struct Finley_IndexList *extension;    struct Finley_IndexList *extension;
40  } Finley_IndexList;  } Finley_IndexList;
41    
42  void Finley_IndexList_insertElements(Finley_IndexList*, Finley_ElementFile*,int, maybelong*,int, maybelong*);  void Finley_IndexList_insertElements(Finley_IndexList*, Finley_ElementFile*,dim_t, index_t*,dim_t, index_t*);
43  void Finley_IndexList_insertIndex(Finley_IndexList*, maybelong);  void Finley_IndexList_insertIndex(Finley_IndexList*, index_t);
44  void Finley_IndexList_toArray(Finley_IndexList*, maybelong*);  void Finley_IndexList_toArray(Finley_IndexList*, index_t*);
45  int Finley_IndexList_count(Finley_IndexList*);  dim_t Finley_IndexList_count(Finley_IndexList*);
46  void Finley_IndexList_free(Finley_IndexList*);  void Finley_IndexList_free(Finley_IndexList*);
47    
48  #endif /* #ifndef INC_FINLEY_INDEXLIST */  #endif /* #ifndef INC_FINLEY_INDEXLIST */
49    
50  /*  /*
51   * $Log$   * $Log$
52     * Revision 1.6  2005/09/15 03:44:22  jgs
53     * Merge of development branch dev-02 back to main trunk on 2005-09-15
54     *
55     * Revision 1.5.2.1  2005/09/07 06:26:19  gross
56     * the solver from finley are put into the standalone package paso now
57     *
58     * Revision 1.5  2005/07/08 04:07:51  jgs
59     * Merge of development branch back to main trunk on 2005-07-08
60     *
61   * Revision 1.4  2004/12/15 07:08:32  jgs   * Revision 1.4  2004/12/15 07:08:32  jgs
62   * *** empty log message ***   * *** empty log message ***
63     * Revision 1.1.1.1.2.3  2005/06/29 02:34:50  gross
64     * some changes towards 64 integers in finley
65     *
66     * Revision 1.1.1.1.2.2  2004/11/24 01:37:13  gross
67     * some changes dealing with the integer overflow in memory allocation. Finley solves 4M unknowns now
68   *   *
69   *   *
70   *   *

Legend:
Removed from v.102  
changed lines
  Added in v.150

  ViewVC Help
Powered by ViewVC 1.1.26