/[escript]/branches/domexper/dudley/src/Mesh_saveVTK.c
ViewVC logotype

Diff of /branches/domexper/dudley/src/Mesh_saveVTK.c

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

revision 1811 by ksteube, Thu Sep 25 23:11:13 2008 UTC revision 1866 by ksteube, Thu Oct 9 04:01:06 2008 UTC
# Line 875  void Finley_Mesh_saveVTK(const char * fi Line 875  void Finley_Mesh_saveVTK(const char * fi
875       if ( mpi_size > 1) {       if ( mpi_size > 1) {
876          txt_buffer[0] = '\0';          txt_buffer[0] = '\0';
877          txt_buffer_in_use=0;          txt_buffer_in_use=0;
878          for (i=0; i<numCells*numCellFactor; i++) __STRCAT(txt_buffer,tmp_buffer,txt_buffer_in_use);          for (i=numVTKNodesPerElement*(myFirstCell*numCellFactor+1); i<=(myFirstCell+myNumCells)*numVTKNodesPerElement*numCellFactor; i+=numVTKNodesPerElement) {
879              __STRCAT(txt_buffer,tmp_buffer,txt_buffer_in_use);
880        }
881           #ifdef PASO_MPI           #ifdef PASO_MPI
882              if (txt_buffer_in_use==0) { strcpy(txt_buffer, " "); txt_buffer_in_use = 1; } /* avoid zero-length writes */              if (txt_buffer_in_use==0) { strcpy(txt_buffer, " "); txt_buffer_in_use = 1; } /* avoid zero-length writes */
883              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.1811  
changed lines
  Added in v.1866

  ViewVC Help
Powered by ViewVC 1.1.26