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

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

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

revision 2881 by jfenwick, Thu Jan 28 02:03:15 2010 UTC revision 3259 by jfenwick, Mon Oct 11 01:48:14 2010 UTC
# Line 27  Line 27 
27  /*   allocates a node file to hold nodes */  /*   allocates a node file to hold nodes */
28  /*   use Finley_NodeFile_allocTable to allocate the node table (Id,Coordinatess). */  /*   use Finley_NodeFile_allocTable to allocate the node table (Id,Coordinatess). */
29    
30  Finley_NodeFile* Finley_NodeFile_alloc(dim_t numDim, Paso_MPIInfo *MPIInfo)  Finley_NodeFile* Finley_NodeFile_alloc(dim_t numDim, Esys_MPIInfo *MPIInfo)
31  {  {
32    Finley_NodeFile *out;    Finley_NodeFile *out;
33        
# Line 63  Finley_NodeFile* Finley_NodeFile_alloc(d Line 63  Finley_NodeFile* Finley_NodeFile_alloc(d
63    out->reducedDegreesOfFreedomConnector=NULL;    out->reducedDegreesOfFreedomConnector=NULL;
64    out->tagsInUse=NULL;    out->tagsInUse=NULL;
65    
66    out->MPIInfo = Paso_MPIInfo_getReference( MPIInfo );    out->MPIInfo = Esys_MPIInfo_getReference( MPIInfo );
67    return out;    return out;
68  }  }
69    
# Line 72  Finley_NodeFile* Finley_NodeFile_alloc(d Line 72  Finley_NodeFile* Finley_NodeFile_alloc(d
72  void Finley_NodeFile_free(Finley_NodeFile* in) {  void Finley_NodeFile_free(Finley_NodeFile* in) {
73    if (in!=NULL) {    if (in!=NULL) {
74       Finley_NodeFile_freeTable(in);       Finley_NodeFile_freeTable(in);
75       Paso_MPIInfo_free( in->MPIInfo );       Esys_MPIInfo_free( in->MPIInfo );
76       MEMFREE(in);             MEMFREE(in);      
77    }    }
78  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.26