<div dir="ltr">The Live Data Visualization is still beta functionality. It looks like you're not specifying the extents properly somehow. I'd suggest writing out the full grid to see what that looks like.<br><br>Andy<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 2, 2013 at 2:02 AM, лï½ð <span dir="ltr"><<a href="mailto:xiemaojin@sccas.cn" target="_blank">xiemaojin@sccas.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div style="MARGIN:10px">
<div>Hi, all</div>
<div> </div>
<div style="TEXT-INDENT:2em">When using Catalyst for Live Data Visualization, I
get an error for each frame as follows,</div>
<div style="TEXT-INDENT:2em"> </div>
<div style="TEXT-INDENT:2em">ERROR: In
/path/to/paraview-4.0.0-RC2/source/directory/ParaViewCore/VTKExtensions/Rendering/vtkKdTreeGenerator.cxx,
line 172</div>
<div style="TEXT-INDENT:2em">vtkKdTreeGenerator (0x71c3dc0) : RegionIDs cannot
be 0.</div>
<div style="TEXT-INDENT:2em"> </div>
<div style="TEXT-INDENT:2em">Both the paraview and the simulation processer are
not crash and get four sub-images with four processors, but sub images are not
composited as what I've expected.</div>
<div style="TEXT-INDENT:2em">
<div>The whole volume is of size (nx*2, ny*2, nz), and devide into four sub
volumes. When creating the volume data, I use the following piece of code to set
the grid, where nx, ny, nz are the size of current sub volume, and
nxstart, nystart, nzstart are the starting grid of current sub volume. </div>
<div> </div>
<div> 33 vtkSmartPointer<vtkImageData> grid = vtkSmartPointer<vtkImageData>::New();</div>
<div> 34 </div>
<div> 35 grid->SetExtent(*nxstart, *nxstart+*nx-1, *nystart, *nystart+*ny-1, *nzstart, *nzstart+*nz-1);</div>
<div> 36 </div>
<div> 37 // Name should be consistent between here, Fortran and Python client script.</div>
<div> 38 vtkCPPythonAdaptorAPI::GetCoProcessorData()->GetInputDescriptionByName("input")->SetGrid(grid);</div>
<div> 39 vtkCPPythonAdaptorAPI::GetCoProcessorData()->GetInputDescriptionByName("input")->SetWholeExtent(0, *nx*2-1, 0, *ny*2-1, 0, *nz-1);</div>
<div> </div>
<div>So I think I may lost some key steps to specify the proper kdtree
region ids, but I havn't found out how to configure it.</div>
<div> </div>
<div>Any ideas? Thanks in advance.</div></div>
<div style="TEXT-INDENT:2em"> </div>
<div style="TEXT-INDENT:2em"><img style="min-height:669px;WIDTH:778px" src="cid:_Foxmail.0@7E9A0904-3EF7-46C3-B3B7-21378D1907C5" height="896" width="1072"></div>
<div> </div>
<hr style="min-height:1px;WIDTH:210px" size="1" align="left" color="#b5c4df">
<div><span>Maojin XIE</span></div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>