/[escript]/trunk/finley/src/CPPAdapter/MeshAdapterFactory.cpp
ViewVC logotype

Diff of /trunk/finley/src/CPPAdapter/MeshAdapterFactory.cpp

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

revision 1634 by phornby, Sat Jul 12 09:08:33 2008 UTC revision 1753 by ksteube, Sun Sep 7 22:01:23 2008 UTC
# Line 58  namespace finley { Line 58  namespace finley {
58      Finley_Mesh *mesh_p=NULL;      Finley_Mesh *mesh_p=NULL;
59      char error_msg[LenErrorMsg_MAX];      char error_msg[LenErrorMsg_MAX];
60    
     // I don't think the strdup is needed since Paso_MPI_appendRankToFileName  
     // does it's own allocation.  
     // char *fName = Paso_MPI_appendRankToFileName(strdup(fileName.c_str()),  
     //                                             mpi_info->size,  
     //                                             mpi_info->rank);  
   
61      char *fName = Paso_MPI_appendRankToFileName(fileName.c_str(),      char *fName = Paso_MPI_appendRankToFileName(fileName.c_str(),
62                                                  mpi_info->size,                                                  mpi_info->size,
63                                                  mpi_info->rank);                                                  mpi_info->rank);
# Line 451  namespace finley { Line 445  namespace finley {
445    
446      } /* Finley_noError() after Finley_Mesh_alloc() */      } /* Finley_noError() after Finley_Mesh_alloc() */
447        
448      if (Finley_noError()) Finley_Mesh_createMappings(mesh_p, mesh_p->Nodes->degreesOfFreedomDistribution->first_component);      if (Finley_noError()) Finley_Mesh_createMappings(mesh_p, mesh_p->Nodes->degreesOfFreedomDistribution->first_component, 0);
449    
450      checkFinleyError();      checkFinleyError();
451      temp=new MeshAdapter(mesh_p);      temp=new MeshAdapter(mesh_p);

Legend:
Removed from v.1634  
changed lines
  Added in v.1753

  ViewVC Help
Powered by ViewVC 1.1.26