/[escript]/branches/domexper/dudley/src/CPPAdapter/MeshAdapter.cpp
ViewVC logotype

Diff of /branches/domexper/dudley/src/CPPAdapter/MeshAdapter.cpp

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

revision 1716 by gross, Thu Aug 21 05:03:49 2008 UTC revision 1748 by ksteube, Wed Sep 3 06:10:39 2008 UTC
# Line 124  void MeshAdapter::dump(const std::string Line 124  void MeshAdapter::dump(const std::string
124     int num_FaceElements_numNodes    = mesh->FaceElements->numNodes;     int num_FaceElements_numNodes    = mesh->FaceElements->numNodes;
125     int num_ContactElements_numNodes = mesh->ContactElements->numNodes;     int num_ContactElements_numNodes = mesh->ContactElements->numNodes;
126    
    // I don't think the strdup is needed since Paso_MPI_appendRankToFileName  
    // does it's own allocation.  
    // char *newFileName = Paso_MPI_appendRankToFileName(strdup(fileName.c_str()), mpi_size, mpi_rank);  
   
127     char *newFileName = Paso_MPI_appendRankToFileName(fileName.c_str(),     char *newFileName = Paso_MPI_appendRankToFileName(fileName.c_str(),
128                                                       mpi_size, mpi_rank);                                                       mpi_size, mpi_rank);
129    

Legend:
Removed from v.1716  
changed lines
  Added in v.1748

  ViewVC Help
Powered by ViewVC 1.1.26