~vcs-imports/escript-finley/trunk

« back to all changes in this revision

Viewing changes to finley/src/NodeFile.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:
27
27
/*   allocates a node file to hold nodes */
28
28
/*   use Finley_NodeFile_allocTable to allocate the node table (Id,Coordinatess). */
29
29
 
30
 
Finley_NodeFile* Finley_NodeFile_alloc(dim_t numDim, Paso_MPIInfo *MPIInfo)
 
30
Finley_NodeFile* Finley_NodeFile_alloc(dim_t numDim, Esys_MPIInfo *MPIInfo)
31
31
{
32
32
  Finley_NodeFile *out;
33
33
  
63
63
  out->reducedDegreesOfFreedomConnector=NULL;
64
64
  out->tagsInUse=NULL;
65
65
 
66
 
  out->MPIInfo = Paso_MPIInfo_getReference( MPIInfo );
 
66
  out->MPIInfo = Esys_MPIInfo_getReference( MPIInfo );
67
67
  return out;
68
68
}
69
69
 
72
72
void Finley_NodeFile_free(Finley_NodeFile* in) {
73
73
  if (in!=NULL) {
74
74
     Finley_NodeFile_freeTable(in);
75
 
     Paso_MPIInfo_free( in->MPIInfo );
 
75
     Esys_MPIInfo_free( in->MPIInfo );
76
76
     MEMFREE(in);      
77
77
  }
78
78
}