[Paraview] GenerateGhostArray in a programmable source

Favre Jean jfavre at cscs.ch
Mon Feb 22 11:33:53 EST 2016


I am prototyping an AMR output, using programmable source.
having trouble setting up the GhostArray. The following returns None:


grid0 = vtk.vtkUniformGrid() grid0.GenerateGhostArray(exts, True)

ga = grid0.GetCellGhostArray()

I am setting it this way instead of using vtkAMRBox because my input file already
has the cell-data for the blanking. Problem is GetCellGhostArray() returns None.

cf: https://blog.kitware.com/ghost-and-blanking-visibility-changes/

-----------------
Jean/CSCS
<http://www.marin.nl/web/News/News-items/Specialist-course-for-EEDI-Verifiers-June-2024.htm>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160222/64d51742/attachment.html>


More information about the ParaView mailing list