~vcs-imports/escript-finley/trunk

« back to all changes in this revision

Viewing changes to finley/src/ElementFile_allocTable.c

  • Committer: jfenwick
  • Date: 2010-10-11 01:48:14 UTC
  • Revision ID: svn-v4:77569008-7704-0410-b7a0-a92fef0b09fd:trunk:3259
Merging dudley and scons updates from branches

Show diffs side-by-side

added added

removed removed

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