/[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 97 by jgs, Tue Dec 14 05:39:33 2004 UTC revision 100 by jgs, Wed Dec 15 03:48:48 2004 UTC
# Line 46  Line 46 
46    
47  #include "NodeFile.h"  #include "NodeFile.h"
48  #include "ElementFile.h"  #include "ElementFile.h"
 #include "SystemPattern.h"  
49  #include "escript/Data/DataC.h"  #include "escript/Data/DataC.h"
50    
51  /**************************************************************/  /**************************************************************/
# Line 62  struct Finley_Mesh { Line 61  struct Finley_Mesh {
61    Finley_ElementFile* FaceElements;     /* the table of the face elements */    Finley_ElementFile* FaceElements;     /* the table of the face elements */
62    Finley_ElementFile* ContactElements;  /* the table of the contact elements */    Finley_ElementFile* ContactElements;  /* the table of the contact elements */
63    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) */
   
   /* pointer to the sparse matrix pattern */  
   
   Finley_SystemMatrixPattern *FullFullPattern;  
   Finley_SystemMatrixPattern *FullReducedPattern;  
   Finley_SystemMatrixPattern *ReducedFullPattern;  
   Finley_SystemMatrixPattern *ReducedReducedPattern;  
64  };  };
65    
66  typedef struct Finley_Mesh Finley_Mesh;  typedef struct Finley_Mesh Finley_Mesh;
# Line 86  typedef struct Finley_Mesh_findMatchingF Line 78  typedef struct Finley_Mesh_findMatchingF
78  /*  interfaces: */  /*  interfaces: */
79    
80  Finley_Mesh* Finley_Mesh_alloc(char*,int,int);  Finley_Mesh* Finley_Mesh_alloc(char*,int,int);
 Finley_Mesh* Finley_Mesh_reference(Finley_Mesh*);  
81  void Finley_Mesh_dealloc(Finley_Mesh*);  void Finley_Mesh_dealloc(Finley_Mesh*);
82  int Finley_Mesh_getDim(Finley_Mesh*);  int Finley_Mesh_getDim(Finley_Mesh*);
83  int Finley_Mesh_getNumNodes(Finley_Mesh*);  int Finley_Mesh_getNumNodes(Finley_Mesh*);
84  int Finley_Mesh_getNumDegreesOfFreedom(Finley_Mesh*);  int Finley_Mesh_getNumDegreesOfFreedom(Finley_Mesh*);
85  int Finley_Mesh_getReducedNumDegreesOfFreedom(Finley_Mesh*);  int Finley_Mesh_getReducedNumDegreesOfFreedom(Finley_Mesh*);
 Finley_SystemMatrixPattern* Finley_getPattern(Finley_Mesh *mesh,int reduce_row_order, int reduce_col_order);  
 Finley_SystemMatrixPattern* Finley_makePattern(Finley_Mesh *mesh,int reduce_row_order, int reduce_col_order);  
86  void Finley_Mesh_write(Finley_Mesh*,char*);  void Finley_Mesh_write(Finley_Mesh*,char*);
87  Finley_Mesh* Finley_Mesh_read(char*,int);  Finley_Mesh* Finley_Mesh_read(char*,int);
88    
# Line 119  void Finley_Mesh_saveDX(const char *, Fi Line 108  void Finley_Mesh_saveDX(const char *, Fi
108    
109  /*  /*
110   * $Log$   * $Log$
111   * Revision 1.2  2004/12/14 05:39:30  jgs   * Revision 1.3  2004/12/15 03:48:45  jgs
112   * *** empty log message ***   * *** empty log message ***
113   *   *
  * Revision 1.1.1.1.2.1  2004/11/12 06:58:18  gross  
  * a lot of changes to get the linearPDE class running: most important change is that there is no matrix format exposed to the user anymore. the format is chosen by the Domain according to the solver and symmetry  
  *  
114   * Revision 1.1.1.1  2004/10/26 06:53:57  jgs   * Revision 1.1.1.1  2004/10/26 06:53:57  jgs
115   * initial import of project esys2   * initial import of project esys2
116   *   *

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

  ViewVC Help
Powered by ViewVC 1.1.26