PHASTA / vtkpytools

Internal tools for using VTK
https://fluid.colorado.edu/wiki/index.php/VTKpytools
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Fix: Make sampleProfile return Profile type given PointID #26

Open jrwrigh opened 4 years ago

jrwrigh commented 4 years ago

When vpt.sampleDataBlockProfile is given a pointid, it returns a pv.PolyData object rather than a vpt.Profile object.

jrwrigh commented 4 years ago

Currently (as of most recent commit), there's an error with indexing out of bounds of the profile array when running the vpt.Profile.setWallDataFromPointID() method. Not sure why/how that could be happening.