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

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

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

revision 100 by jgs, Wed Dec 15 03:48:48 2004 UTC revision 102 by jgs, Wed Dec 15 07:08:39 2004 UTC
# Line 46  Line 46 
46    
47  #include "NodeFile.h"  #include "NodeFile.h"
48  #include "ElementFile.h"  #include "ElementFile.h"
49    #include "SystemPattern.h"
50  #include "escript/Data/DataC.h"  #include "escript/Data/DataC.h"
51    
52  /**************************************************************/  /**************************************************************/
# Line 61  struct Finley_Mesh { Line 62  struct Finley_Mesh {
62    Finley_ElementFile* FaceElements;     /* the table of the face elements */    Finley_ElementFile* FaceElements;     /* the table of the face elements */
63    Finley_ElementFile* ContactElements;  /* the table of the contact elements */    Finley_ElementFile* ContactElements;  /* the table of the contact elements */
64    Finley_ElementFile* Points;           /* the table of points (treated as elements of dimension 0) */    Finley_ElementFile* Points;           /* the table of points (treated as elements of dimension 0) */
65    
66      /* pointer to the sparse matrix pattern */
67    
68      Finley_SystemMatrixPattern *FullFullPattern;
69      Finley_SystemMatrixPattern *FullReducedPattern;
70      Finley_SystemMatrixPattern *ReducedFullPattern;
71      Finley_SystemMatrixPattern *ReducedReducedPattern;
72  };  };
73    
74  typedef struct Finley_Mesh Finley_Mesh;  typedef struct Finley_Mesh Finley_Mesh;
# Line 78  typedef struct Finley_Mesh_findMatchingF Line 86  typedef struct Finley_Mesh_findMatchingF
86  /*  interfaces: */  /*  interfaces: */
87    
88  Finley_Mesh* Finley_Mesh_alloc(char*,int,int);  Finley_Mesh* Finley_Mesh_alloc(char*,int,int);
89    Finley_Mesh* Finley_Mesh_reference(Finley_Mesh*);
90  void Finley_Mesh_dealloc(Finley_Mesh*);  void Finley_Mesh_dealloc(Finley_Mesh*);
91  int Finley_Mesh_getDim(Finley_Mesh*);  int Finley_Mesh_getDim(Finley_Mesh*);
92  int Finley_Mesh_getNumNodes(Finley_Mesh*);  int Finley_Mesh_getNumNodes(Finley_Mesh*);
93  int Finley_Mesh_getNumDegreesOfFreedom(Finley_Mesh*);  int Finley_Mesh_getNumDegreesOfFreedom(Finley_Mesh*);
94  int Finley_Mesh_getReducedNumDegreesOfFreedom(Finley_Mesh*);  int Finley_Mesh_getReducedNumDegreesOfFreedom(Finley_Mesh*);
95    Finley_SystemMatrixPattern* Finley_getPattern(Finley_Mesh *mesh,int reduce_row_order, int reduce_col_order);
96    Finley_SystemMatrixPattern* Finley_makePattern(Finley_Mesh *mesh,int reduce_row_order, int reduce_col_order);
97  void Finley_Mesh_write(Finley_Mesh*,char*);  void Finley_Mesh_write(Finley_Mesh*,char*);
98  Finley_Mesh* Finley_Mesh_read(char*,int);  Finley_Mesh* Finley_Mesh_read(char*,int);
99    
# Line 108  void Finley_Mesh_saveDX(const char *, Fi Line 119  void Finley_Mesh_saveDX(const char *, Fi
119    
120  /*  /*
121   * $Log$   * $Log$
122   * Revision 1.3  2004/12/15 03:48:45  jgs   * Revision 1.4  2004/12/15 07:08:32  jgs
123   * *** empty log message ***   * *** empty log message ***
124   *   *
  * Revision 1.1.1.1  2004/10/26 06:53:57  jgs  
  * initial import of project esys2  
  *  
  * Revision 1.5  2004/07/27 08:26:45  gross  
  * Finley: saveDX added: now it is possible to write data on boundary and contact elements  
  *  
  * Revision 1.4  2004/07/26 04:27:15  gross  
  * it allmost compiles now  
  *  
  * Revision 1.3  2004/07/02 04:21:13  gross  
  * Finley C code has been included  
  *  
  * Revision 1.2  2004/07/02 00:03:29  gross  
  * interface for saveDX added  
  *  
  * Revision 1.1.1.1  2004/06/24 04:00:40  johng  
  * Initial version of eys using boost-python.  
125   *   *
126   *   *
127   */   */

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

  ViewVC Help
Powered by ViewVC 1.1.26