<div dir="ltr">Hello,<br>Vtk comes with a few parallel data sources and readers that
distribute the memory usage (and thus later cpu usage of algorithms)
between a number of MPI processes. I am wondering, how I can create such
parallel datasets "from scratch".<br><br>The starting point, from which
I'd like to build a parallel Vtk dataset, is the equivalent of a
vtkUnstructuredGrid (namely points and their connectivity, making
cells), which is already decomposed so that each MPI process carries
only a fraction of all available points and cells. Of cause, I could
simply create one vtkUnstructuredGrid per process from the points an
cells local to that process. However, these grids wouldn't have any
information about which points and cell surfaces they share with
neighbouring pieces. But such connectivity information is essential, if
some algorithm has to add additional layers of ghost cells.<br><br>What I have:<br><br>MPI rank #0<br>points p00..p0{n0}<br>cells c00..c0{m0}<br>connectivity information between boundary cells and pieces on other ranks<br><br>MPI rank #1<br>points p1{n0+1}..p1{n1}<br>cells c1{n0+1}..c1{m1}<br>connectivity information between boundary cells and pieces on other ranks<br><br>...<br><br>MPI rank #R<br>points pR{n{R-1}+1}..pR{nR}<br>cells cR{n{R-1}+1}..cR{mR}<br>connectivity information between boundary cells and pieces on other ranks<br><br>What I need:<br>a
parallel vtkUnstructuredGrid, decomposed into the same pieces as the
input data, including ghost cells and connectivity information between
the pieces.<br><br>Is the construction of such a parallel dataset described in some tutorial or blog?<br><br>Regards,<br>Sven</div>