/[escript]/branches/domexper/dudley/src/Mesh.c
ViewVC logotype

Diff of /branches/domexper/dudley/src/Mesh.c

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

revision 782 by bcumming, Tue Jul 18 00:47:47 2006 UTC revision 1062 by gross, Mon Mar 26 06:17:53 2007 UTC
# Line 10  Line 10 
10   ************************************************************   ************************************************************
11  */  */
12    
13    
14  /**************************************************************/  /**************************************************************/
15    
16  /*   Finley: Mesh */  /*   Finley: Mesh */
# Line 31  Line 32 
32  extern Finley_RefElementInfo Finley_RefElement_InfoList[];  extern Finley_RefElementInfo Finley_RefElement_InfoList[];
33    
34  #ifndef PASO_MPI  #ifndef PASO_MPI
35  Finley_Mesh* Finley_Mesh_alloc(char* name,dim_t numDim, index_t order)  Finley_Mesh* Finley_Mesh_alloc(char* name,dim_t numDim, index_t order, index_t reduced_order)
36  #else  #else
37  Finley_Mesh* Finley_Mesh_alloc(char* name,dim_t numDim, index_t order, Paso_MPIInfo *mpi_info)  Finley_Mesh* Finley_Mesh_alloc(char* name,dim_t numDim, index_t order, index_t reduced_order, Paso_MPIInfo *mpi_info)
38  #endif  #endif
39  {  {
40    Finley_Mesh *out;    Finley_Mesh *out;
# Line 48  Finley_Mesh* Finley_Mesh_alloc(char* nam Line 49  Finley_Mesh* Finley_Mesh_alloc(char* nam
49    out->FaceElements=NULL;    out->FaceElements=NULL;
50    out->Points=NULL;          out->Points=NULL;      
51    out->ContactElements=NULL;          out->ContactElements=NULL;      
52      out->TagMap=NULL;      
53    out->reference_counter=0;    out->reference_counter=0;
54    
55    out->FullFullPattern=NULL;    out->FullFullPattern=NULL;
# Line 85  Finley_Mesh* Finley_Mesh_alloc(char* nam Line 87  Finley_Mesh* Finley_Mesh_alloc(char* nam
87        return NULL;        return NULL;
88    }    }
89    out->order=order;    out->order=order;
90      out->reduced_order=reduced_order;
91    out->Elements=NULL;    out->Elements=NULL;
92    out->FaceElements=NULL;    out->FaceElements=NULL;
93    out->Points=NULL;    out->Points=NULL;
# Line 119  void Finley_Mesh_dealloc(Finley_Mesh* in Line 122  void Finley_Mesh_dealloc(Finley_Mesh* in
122         Finley_ElementFile_dealloc(in->FaceElements);         Finley_ElementFile_dealloc(in->FaceElements);
123         Finley_ElementFile_dealloc(in->ContactElements);         Finley_ElementFile_dealloc(in->ContactElements);
124         Finley_ElementFile_dealloc(in->Points);         Finley_ElementFile_dealloc(in->Points);
125           Finley_TagMap_free(in->TagMap);
126         Paso_SystemMatrixPattern_dealloc(in->FullFullPattern);         Paso_SystemMatrixPattern_dealloc(in->FullFullPattern);
127         Paso_SystemMatrixPattern_dealloc(in->FullReducedPattern);         Paso_SystemMatrixPattern_dealloc(in->FullReducedPattern);
128         Paso_SystemMatrixPattern_dealloc(in->ReducedFullPattern);         Paso_SystemMatrixPattern_dealloc(in->ReducedFullPattern);

Legend:
Removed from v.782  
changed lines
  Added in v.1062

  ViewVC Help
Powered by ViewVC 1.1.26