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

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

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

revision 3258 by jfenwick, Thu Jan 28 02:03:15 2010 UTC revision 3259 by jfenwick, Mon Oct 11 01:48:14 2010 UTC
# Line 20  Line 20 
20  #include "ReferenceElementSets.h"  #include "ReferenceElementSets.h"
21  #include "escript/DataC.h"  #include "escript/DataC.h"
22    
23  #ifdef PASO_MPI  #ifdef ESYS_MPI
24  #include "paso/Paso_MPI.h"  #include "esysUtils/Esys_MPI.h"
25  #endif  #endif
26    
27    
# Line 43  struct Finley_ElementFile_Jacobeans { Line 43  struct Finley_ElementFile_Jacobeans {
43  typedef struct Finley_ElementFile_Jacobeans Finley_ElementFile_Jacobeans;  typedef struct Finley_ElementFile_Jacobeans Finley_ElementFile_Jacobeans;
44    
45  struct Finley_ElementFile {  struct Finley_ElementFile {
46    Paso_MPIInfo *MPIInfo;    Esys_MPIInfo *MPIInfo;
47    Paso_MPI_rank *Owner;    Esys_MPI_rank *Owner;
48    
49    Finley_ReferenceElementSet *referenceElementSet; /* the reference element to be used */    Finley_ReferenceElementSet *referenceElementSet; /* the reference element to be used */
50    
# Line 91  struct Finley_ElementFile { Line 91  struct Finley_ElementFile {
91  };  };
92    
93  typedef struct Finley_ElementFile Finley_ElementFile;  typedef struct Finley_ElementFile Finley_ElementFile;
94  Finley_ElementFile* Finley_ElementFile_alloc(Finley_ReferenceElementSet* referenceElementSet, Paso_MPIInfo *MPIInfo);  Finley_ElementFile* Finley_ElementFile_alloc(Finley_ReferenceElementSet* referenceElementSet, Esys_MPIInfo *MPIInfo);
95  void Finley_ElementFile_free(Finley_ElementFile*);  void Finley_ElementFile_free(Finley_ElementFile*);
96  void Finley_ElementFile_allocTable(Finley_ElementFile*,dim_t);  void Finley_ElementFile_allocTable(Finley_ElementFile*,dim_t);
97  void Finley_ElementFile_freeTable(Finley_ElementFile*);  void Finley_ElementFile_freeTable(Finley_ElementFile*);
# Line 99  void Finley_ElementFile_setElementDistri Line 99  void Finley_ElementFile_setElementDistri
99  dim_t Finley_ElementFile_getGlobalNumElements(Finley_ElementFile* in);  dim_t Finley_ElementFile_getGlobalNumElements(Finley_ElementFile* in);
100  dim_t Finley_ElementFile_getMyNumElements(Finley_ElementFile* in);  dim_t Finley_ElementFile_getMyNumElements(Finley_ElementFile* in);
101  index_t Finley_ElementFile_getFirstElement(Finley_ElementFile* in);  index_t Finley_ElementFile_getFirstElement(Finley_ElementFile* in);
102  void Finley_ElementFile_distributeByRankOfDOF(Finley_ElementFile* self, Paso_MPI_rank* mpiRankOfDOF, index_t *Id);  void Finley_ElementFile_distributeByRankOfDOF(Finley_ElementFile* self, Esys_MPI_rank* mpiRankOfDOF, index_t *Id);
103    
104  void Finley_ElementFile_createColoring(Finley_ElementFile* in,dim_t numNodes,dim_t* degreeOfFreedom);  void Finley_ElementFile_createColoring(Finley_ElementFile* in,dim_t numNodes,dim_t* degreeOfFreedom);
105  void Finley_ElementFile_optimizeOrdering(Finley_ElementFile** in);  void Finley_ElementFile_optimizeOrdering(Finley_ElementFile** in);

Legend:
Removed from v.3258  
changed lines
  Added in v.3259

  ViewVC Help
Powered by ViewVC 1.1.26