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

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

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

temp/finley/src/ElementFile.c revision 1387 by trankine, Fri Jan 11 07:45:26 2008 UTC trunk/finley/src/ElementFile.c revision 1716 by gross, Thu Aug 21 05:03:49 2008 UTC
# Line 63  Finley_ElementFile* Finley_ElementFile_a Line 63  Finley_ElementFile* Finley_ElementFile_a
63    out->jacobeans_reducedS_reducedQ=NULL;    out->jacobeans_reducedS_reducedQ=NULL;
64    
65    out->Owner=NULL;                    out->Owner=NULL;                
66      out->numTagsInUse=0;
67      out->tagsInUse=NULL;
68    
69    out->MPIInfo = Paso_MPIInfo_getReference( MPIInfo );    out->MPIInfo = Paso_MPIInfo_getReference( MPIInfo );
70    
71    /*  allocate the reference element: */    /*  allocate the reference element: */
# Line 107  void Finley_ElementFile_free(Finley_Elem Line 110  void Finley_ElementFile_free(Finley_Elem
110    }    }
111  }  }
112  void Finley_ElementFile_setElementDistribution(Finley_ElementFile* in, dim_t* distribution) {  void Finley_ElementFile_setElementDistribution(Finley_ElementFile* in, dim_t* distribution) {
113    dim_t local_num_elements,e,out,num_elements=0, size;    dim_t local_num_elements,e,num_elements=0, size;
114    Paso_MPI_rank myRank;    Paso_MPI_rank myRank;
115    if (in == NULL) {    if (in == NULL) {
116        distribution[0]=num_elements;        distribution[0]=num_elements;
# Line 152  dim_t Finley_ElementFile_getGlobalNumEle Line 155  dim_t Finley_ElementFile_getGlobalNumEle
155    }    }
156  }  }
157  dim_t Finley_ElementFile_getMyNumElements(Finley_ElementFile* in) {  dim_t Finley_ElementFile_getMyNumElements(Finley_ElementFile* in) {
158    dim_t size, *distribution=NULL, out, p;    dim_t size, *distribution=NULL, out;
159    if (in == NULL) {    if (in == NULL) {
160        return 0;        return 0;
161    } else {    } else {

Legend:
Removed from v.1387  
changed lines
  Added in v.1716

  ViewVC Help
Powered by ViewVC 1.1.26