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

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

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

revision 2753 by caltinay, Wed Nov 18 06:01:18 2009 UTC revision 2754 by gross, Wed Nov 18 07:44:26 2009 UTC
# Line 34  Finley_Mesh* Finley_Mesh_read(char* fnam Line 34  Finley_Mesh* Finley_Mesh_read(char* fnam
34      char error_msg[LenErrorMsg_MAX];      char error_msg[LenErrorMsg_MAX];
35      FILE *fileHandle_p = NULL;      FILE *fileHandle_p = NULL;
36      ElementTypeId typeID=NoRef;      ElementTypeId typeID=NoRef;
37      int scan_ret, error_code;      int scan_ret;
38    
39      Finley_resetError();      Finley_resetError();
40      mpi_info = Paso_MPIInfo_alloc( MPI_COMM_WORLD );      mpi_info = Paso_MPIInfo_alloc( MPI_COMM_WORLD );
# Line 76  Finley_Mesh* Finley_Mesh_read(char* fnam Line 76  Finley_Mesh* Finley_Mesh_read(char* fnam
76              numDim = temp1[0];              numDim = temp1[0];
77              numNodes = temp1[1];              numNodes = temp1[1];
78              error_code = MPI_Bcast (name, temp1[2], MPI_CHAR, 0, mpi_info->comm);              error_code = MPI_Bcast (name, temp1[2], MPI_CHAR, 0, mpi_info->comm);
             if (error_code != MPI_SUCCESS) {  
                 Finley_setError(PASO_MPI_ERROR, "Finley_Mesh_read: broadcast of name failed");  
                 return NULL;  
             }  
79          }          }
80      #endif      #endif
81    

Legend:
Removed from v.2753  
changed lines
  Added in v.2754

  ViewVC Help
Powered by ViewVC 1.1.26