I've created a Python script to demonstrate the problem (you will need to start you parallel server and connect to it at the top):<div><br></div><div>8<---------------------------------------------------</div><div><div>
# connect to the parallel server (2 procs are enough)</div><div><br></div><div>Sphere1 = Sphere( guiName="Sphere1", EndTheta=360.0, Center=[0.0, 0.0, 0.0], StartTheta=0.0, PhiResolution=38, Radius=0.5, ThetaResolution=38, EndPhi=180.0, StartPhi=0.0 )</div>
<div>ProgrammableFilter3 = ProgrammableFilter( guiName="ProgrammableFilter3", OutputDataSetType='Same as Input', RequestInformationScript='', Script='pdi = self.GetPolyDataInput()\npdo = self.GetPolyDataOutput()\nnewPoints = vtk.vtkPoints()\nnewPoints.SetDataTypeToDouble()\nnumPoints = pdi.GetNumberOfPoints()\nfor i in range(0, numPoints):\n coord = pdi.GetPoint(i)\n x, y, z = coord[:3]\n x = x * 1\n y = y * 1.3\n z = z * 0.3\n newPoints.InsertPoint(i, x, y, z)\npdo.SetPoints(newPoints)', PythonPath='', CopyArrays=0 )</div>
<div>D32 = D3( guiName="D32", BoundaryMode='Duplicate cells', MinimalMemory=0 )</div><div>ProcessIdScalars3 = ProcessIdScalars( guiName="ProcessIdScalars3", RandomMode=0 )</div><div>Show()</div>
<div>Render() # this works</div><div>ExtractSurface2 = ExtractSurface( guiName="ExtractSurface2", NonlinearSubdivisionLevel=1, PieceInvariant=1 )</div><div>Show() # now that ghost cells are required and D3 is rerun it crashes</div>
--------------------------------------------------->8<br><div class="gmail_quote"><br></div><div class="gmail_quote">The crash happens when ghost cells are required.</div><div class="gmail_quote"><br></div><div class="gmail_quote">
Thanks,<br>Paul</div><div class="gmail_quote"><br></div><div class="gmail_quote">On 6 January 2011 15:33, Andy Bauer <span dir="ltr"><<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Paul,<br><br>Can you set up a small case to demonstrate the problem and submit it to mantis? I can take a look at it. <br>
<br>Andy<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Thu, Jan 6, 2011 at 8:41 AM, Paul Edwards <span dir="ltr"><<a href="mailto:paul.m.edwards@gmail.com" target="_blank">paul.m.edwards@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div class="h5"><p>Hi,</p>
<p>I've just spotted a bug where d3 causes paraview to crash if the points are stored a double precision.</p>
<p>Regards,<br><font color="#888888">
Paul</font></p>
<br></div></div>_______________________________________________<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>
</blockquote></div><br></div>