Re: [Paraview] D3 doesn't work with double precision points

2011-01-12 Thread Paul Edwards
I just reread you email and see you wanted it in Mantis - I have submitted
the report here:

http://www.paraview.org/Bug/view.php?id=11686

http://www.paraview.org/Bug/view.php?id=11686Did you get a chance to look
at it?

Thanks,
Paul

On 6 January 2011 15:33, Andy Bauer andy.ba...@kitware.com wrote:

 Hi Paul,

 Can you set up a small case to demonstrate the problem and submit it to
 mantis?  I can take a look at it.

 Andy

 On Thu, Jan 6, 2011 at 8:41 AM, Paul Edwards paul.m.edwa...@gmail.comwrote:

 Hi,

 I've just spotted a bug where d3 causes paraview to crash if the points
 are stored a double precision.

 Regards,
 Paul

 ___
 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



___
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


Re: [Paraview] D3 doesn't work with double precision points

2011-01-12 Thread Andy Bauer
I just checked it out and was able to replicate the crash.  I'll keep you
updated on the progress on mantis.

Andy

On Wed, Jan 12, 2011 at 6:19 AM, Paul Edwards paul.m.edwa...@gmail.comwrote:

 I just reread you email and see you wanted it in Mantis - I have submitted
 the report here:

 http://www.paraview.org/Bug/view.php?id=11686

 http://www.paraview.org/Bug/view.php?id=11686Did you get a chance to
 look at it?

 Thanks,
 Paul

 On 6 January 2011 15:33, Andy Bauer andy.ba...@kitware.com wrote:

 Hi Paul,

 Can you set up a small case to demonstrate the problem and submit it to
 mantis?  I can take a look at it.

 Andy

 On Thu, Jan 6, 2011 at 8:41 AM, Paul Edwards paul.m.edwa...@gmail.comwrote:

 Hi,

 I've just spotted a bug where d3 causes paraview to crash if the points
 are stored a double precision.

 Regards,
 Paul

 ___
 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




___
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


[Paraview] D3 doesn't work with double precision points

2011-01-06 Thread Paul Edwards
Hi,

I've just spotted a bug where d3 causes paraview to crash if the points are
stored a double precision.

Regards,
Paul
___
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


Re: [Paraview] D3 doesn't work with double precision points

2011-01-06 Thread Andy Bauer
Hi Paul,

Can you set up a small case to demonstrate the problem and submit it to
mantis?  I can take a look at it.

Andy

On Thu, Jan 6, 2011 at 8:41 AM, Paul Edwards paul.m.edwa...@gmail.comwrote:

 Hi,

 I've just spotted a bug where d3 causes paraview to crash if the points are
 stored a double precision.

 Regards,
 Paul

 ___
 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


___
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


Re: [Paraview] D3 doesn't work with double precision points

2011-01-06 Thread Paul Edwards
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):

8---
# connect to the parallel server (2 procs are enough)

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 )
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 )
D32 = D3( guiName=D32, BoundaryMode='Duplicate cells', MinimalMemory=0 )
ProcessIdScalars3 = ProcessIdScalars( guiName=ProcessIdScalars3,
RandomMode=0 )
Show()
Render()  # this works
ExtractSurface2 = ExtractSurface( guiName=ExtractSurface2,
NonlinearSubdivisionLevel=1, PieceInvariant=1 )
Show()# now that ghost cells are required and D3 is rerun it crashes
---8

The crash happens when ghost cells are required.

Thanks,
Paul

On 6 January 2011 15:33, Andy Bauer andy.ba...@kitware.com wrote:

 Hi Paul,

 Can you set up a small case to demonstrate the problem and submit it to
 mantis?  I can take a look at it.

 Andy

 On Thu, Jan 6, 2011 at 8:41 AM, Paul Edwards paul.m.edwa...@gmail.comwrote:

 Hi,

 I've just spotted a bug where d3 causes paraview to crash if the points
 are stored a double precision.

 Regards,
 Paul

 ___
 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



___
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