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?