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

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

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 31  Line 31 
31  void Finley_ElementFile_allocTable(Finley_ElementFile* in,dim_t numElements)  void Finley_ElementFile_allocTable(Finley_ElementFile* in,dim_t numElements)
32  {  {
33    index_t *Id2=NULL,*Nodes2=NULL,*Tag2=NULL,*Color2=NULL;    index_t *Id2=NULL,*Nodes2=NULL,*Tag2=NULL,*Color2=NULL;
34    Paso_MPI_rank *Owner2=NULL;    Esys_MPI_rank *Owner2=NULL;
35    dim_t numNodes,e,i;    dim_t numNodes,e,i;
36    
37    Finley_resetError();    Finley_resetError();
38    /*  allocate memory: */    /*  allocate memory: */
39    numNodes=in->numNodes;    numNodes=in->numNodes;
40    Owner2=MEMALLOC(numElements,Paso_MPI_rank);    Owner2=MEMALLOC(numElements,Esys_MPI_rank);
41    Id2=MEMALLOC(numElements,index_t);    Id2=MEMALLOC(numElements,index_t);
42    Nodes2=MEMALLOC(numElements*in->numNodes,index_t);    Nodes2=MEMALLOC(numElements*in->numNodes,index_t);
43    Tag2=MEMALLOC(numElements,index_t);    Tag2=MEMALLOC(numElements,index_t);

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

  ViewVC Help
Powered by ViewVC 1.1.26