<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
        MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em; MARGIN-TOP: 0px
}
OL {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
UL {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
P {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
BODY {
        FONT-SIZE: 10.5pt; FONT-FAMILY: ΢ÈíÑźÚ; COLOR: #000000; LINE-HEIGHT: 1.5
}
</STYLE>
<META name=GENERATOR content="MSHTML 10.00.9200.16521"></HEAD>
<BODY 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="HEIGHT: 669px; WIDTH: 778px"
src="cid:_Foxmail.0@7E9A0904-3EF7-46C3-B3B7-21378D1907C5" width=1072
height=896></DIV>
<DIV> </DIV>
<HR style="HEIGHT: 1px; WIDTH: 210px" align=left color=#b5c4df SIZE=1>
<DIV><SPAN>Maojin XIE</SPAN></DIV></BODY></HTML>