Re: [Paraview] problem in defining vtkStructuredGrid in MPI

2015-06-30 Thread u . utku . turuncoglu
Hi Again, Now, i have some problem when i trying to create the visualisation. I created grid as it suggested. In this case, i have multi piece data (structured grid) inside of the single block. The grid can be seen in the attached plot (plot_grid.png).In this case, it seems correct and you could

Re: [Paraview] problem in defining vtkStructuredGrid in MPI

2015-06-26 Thread Andy Bauer
If the output of the vtm is what you're looking for you won't be able to do that with the parallel XML structured grid writer because you have a node partition (i.e. nodes are uniquely assigned to a process and in this case no other process has that node). Thus the missing cells at the partition

Re: [Paraview] problem in defining vtkStructuredGrid in MPI

2015-06-26 Thread u . utku . turuncoglu
Hi, Thanks for your suggestion. I did it as follows, vtkMultiBlockDataSet* grid = vtkMultiBlockDataSet::New(); vtkNewvtkMultiPieceDataSet mpds; mpds-SetNumberOfPieces(*mpiSize); mpds-SetPiece(*mpiRank, sg.GetPointer()); grid-SetNumberOfBlocks(1); grid-SetBlock(0, mpds.GetPointer());

[Paraview] problem in defining vtkStructuredGrid in MPI

2015-06-26 Thread u . utku . turuncoglu
Hi, I am trying to create structured grid in an MPI application and i am using following C++ code to implement it extern C void createstgrid_(double* y, double* x, int* nxstart, int* nxend, int* nystart, int* nyend, int* nx, int* ny,

Re: [Paraview] problem in defining vtkStructuredGrid in MPI

2015-06-26 Thread Andy Bauer
Do you have a node partitioning of your grid? If you do you really need a cell partitioning of the grid which will have multiple points a the partition overlap. Can you share your data? On Fri, Jun 26, 2015 at 5:58 AM, u.utku.turunco...@be.itu.edu.tr wrote: Hi, I am trying to create