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

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

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

revision 1676 by gross, Thu Jul 24 01:10:04 2008 UTC revision 1677 by gross, Mon Jul 28 06:36:19 2008 UTC
# Line 575  void Finley_Mesh_saveVTK(const char * fi Line 575  void Finley_Mesh_saveVTK(const char * fi
575       if ( mpi_size > 1) {       if ( mpi_size > 1) {
576          txt_buffer[0] = '\0';          txt_buffer[0] = '\0';
577          txt_buffer_in_use=0;          txt_buffer_in_use=0;
578          for (i=numVTKNodesPerElement*(myFirstCell*numCellFactor+1); i<=numCells*numVTKNodesPerElement*numCellFactor; i+=numVTKNodesPerElement) {          for (i=numVTKNodesPerElement*(myFirstCell*numCellFactor+1); i<=(myFirstCell+myNumCells)*numVTKNodesPerElement*numCellFactor; i+=numVTKNodesPerElement) {
579             sprintf(tmp_buffer, INT_NEWLINE_FORMAT, i);              sprintf(tmp_buffer, INT_NEWLINE_FORMAT, i);
580             __STRCAT(txt_buffer,tmp_buffer,txt_buffer_in_use);              __STRCAT(txt_buffer,tmp_buffer,txt_buffer_in_use);
581           }           }
582           #ifdef PASO_MPI           #ifdef PASO_MPI
583              MPI_File_write_ordered(mpi_fileHandle_p,txt_buffer,txt_buffer_in_use, MPI_CHAR, &mpi_status);              MPI_File_write_ordered(mpi_fileHandle_p,txt_buffer,txt_buffer_in_use, MPI_CHAR, &mpi_status);

Legend:
Removed from v.1676  
changed lines
  Added in v.1677

  ViewVC Help
Powered by ViewVC 1.1.26