/[escript]/branches/scons-dev/finley/src/Mesh_saveVTK.c
ViewVC logotype

Diff of /branches/scons-dev/finley/src/Mesh_saveVTK.c

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

revision 1679 by ksteube, Fri Jul 25 05:48:29 2008 UTC revision 1680 by ksteube, Thu Jul 31 06:06:50 2008 UTC
# Line 576  void Finley_Mesh_saveVTK(const char * fi Line 576  void Finley_Mesh_saveVTK(const char * fi
576       if ( mpi_size > 1) {       if ( mpi_size > 1) {
577          txt_buffer[0] = '\0';          txt_buffer[0] = '\0';
578          txt_buffer_in_use=0;          txt_buffer_in_use=0;
579          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) {
580             sprintf(tmp_buffer, INT_NEWLINE_FORMAT, i);              sprintf(tmp_buffer, INT_NEWLINE_FORMAT, i);
581             __STRCAT(txt_buffer,tmp_buffer,txt_buffer_in_use);              __STRCAT(txt_buffer,tmp_buffer,txt_buffer_in_use);
582           }           }
583           #ifdef PASO_MPI           #ifdef PASO_MPI
584              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.1679  
changed lines
  Added in v.1680

  ViewVC Help
Powered by ViewVC 1.1.26