[Paraview] RegionIDs cannot be 0 while using Catalyst

Andy Bauer andy.bauer at kitware.com
Mon Dec 2 10:22:24 EST 2013


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.

Andy


On Mon, Dec 2, 2013 at 2:02 AM, 谢茂金 <xiemaojin at sccas.cn> wrote:

>  Hi, all
>
> When using Catalyst for Live Data Visualization, I get an error for each
> frame as follows,
>
> ERROR: In
> /path/to/paraview-4.0.0-RC2/source/directory/ParaViewCore/VTKExtensions/Rendering/vtkKdTreeGenerator.cxx,
> line 172
> vtkKdTreeGenerator (0x71c3dc0) : RegionIDs cannot be 0.
>
> 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.
>  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.
>
>
>  33   vtkSmartPointer<vtkImageData> grid = vtkSmartPointer<vtkImageData>::New();
>  34
>
>  35   grid->SetExtent(*nxstart, *nxstart+*nx-1, *nystart, *nystart+*ny-1, *nzstart, *nzstart+*nz-1);
>  36
>
>  37   // Name should be consistent between here, Fortran and Python client script.
>
>  38   vtkCPPythonAdaptorAPI::GetCoProcessorData()->GetInputDescriptionByName("input")->SetGrid(grid);
>
>  39   vtkCPPythonAdaptorAPI::GetCoProcessorData()->GetInputDescriptionByName("input")->SetWholeExtent(0, *nx*2-1, 0, *ny*2-1, 0, *nz-1);
>
> 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.
>
> Any ideas? Thanks in advance.
>
>
> ------------------------------
> Maojin XIE
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20131202/2d48e4da/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 333404 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20131202/2d48e4da/attachment-0001.jpeg>


More information about the ParaView mailing list