Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
ParaView
ParaView
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 2,003
    • Issues 2,003
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 57
    • Merge Requests 57
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • ParaView
  • ParaViewParaView
  • Issues
  • #18174

Closed
Open
Opened May 16, 2018 by W. Alan Scott@wascott
  • Report abuse
  • New issue
Report abuse New issue

Programmable filter acting weird

I have a user that has created two datasets, one with one simulation process, and one with 10 simulation processes. The second dataset has been appended back into one file. Files are attached (and are UUR). The files should be exactly the same.

When my user loads these two files, and selects both of them, and runs the Programmable Filter, with the following, he gets weird results. If you paint by difference, this should be 0. It is ending up going from -30 to 30.

ParaView 5.5.0, Linux, local server.

  • Open both datasets. Be sure to turn all variables on.
  • If you look at these datasets, they do not have unique Global Node Ids and Global Element Ids. There are two blocks, and each block has a unique Global Id, but not when you combine two blocks. Is this a bug in the dataset?
  • Apply the Programmable filter. Use the following code. Paint by difference.

Code for the Programmable filter is:

phi1=inputs[0].PointData['potential']
phi2=inputs[1].PointData['potential']
output.PointData.append(phi2-phi1, 'difference')

The difference should be 0. It is -30 to 30. Why?

@utkarsh.ayachit @cory.quammen Have any ideas? Is this even a bug? Any idea what the "right thing to do" is?

Edited May 22, 2018 by Cory Quammen
Assignee
Assign to
5.6 (Fall 2018)
Milestone
5.6 (Fall 2018)
Assign milestone
Time tracking
None
Due date
None
2
Labels
priority:required project:sandia
Assign labels
  • View project labels
Reference: paraview/paraview#18174