/[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 110 by jgs, Mon Feb 14 04:14:42 2005 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 103  int Finley_Mesh_findMatchingFaces_compar Line 114  int Finley_Mesh_findMatchingFaces_compar
114  void Finley_Mesh_findMatchingFaces(Finley_NodeFile*,Finley_ElementFile *,double,double, int*, int*,int*,int*);  void Finley_Mesh_findMatchingFaces(Finley_NodeFile*,Finley_ElementFile *,double,double, int*, int*,int*,int*);
115  void Finley_Mesh_print(Finley_Mesh *in);  void Finley_Mesh_print(Finley_Mesh *in);
116  void Finley_Mesh_saveDX(const char *, Finley_Mesh *, escriptDataC*);  void Finley_Mesh_saveDX(const char *, Finley_Mesh *, escriptDataC*);
117    void Finley_Mesh_saveVTK(const char *, Finley_Mesh *, escriptDataC*);
118    
119  #endif /* #ifndef INC_FINLEY_MESH */  #endif /* #ifndef INC_FINLEY_MESH */
   
 /*  
  * $Log$  
  * Revision 1.3  2004/12/15 03:48:45  jgs  
  * *** empty log message ***  
  *  
  * 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.  
  *  
  *  
  */  

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

  ViewVC Help
Powered by ViewVC 1.1.26