[Paraview] Programmable Filter - Multiple Inputs - Crash

Moreland, Kenneth kmorel at sandia.gov
Tue Apr 25 10:48:25 EDT 2017


Gabriel,

I tried loading in your script into ParaView 5.3 and was unable to replicate your crash even when the number of points did not match or I used fields that did not exist. Are you using the most recent version of ParaView? If so, can you tell us more about your data?

-Ken

From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Gabriel Nahas
Sent: Tuesday, April 25, 2017 8:30 AM
To: paraview at paraview.org
Subject: [EXTERNAL] [Paraview] Programmable Filter - Multiple Inputs - Crash

Dear all,

I am trying to use a programmable filter that takes two other filters from different blocks as inputs. When I get each data as input (and output) separately my filter works, but when I try with both filters as input and output at the same time it crashes. Does anyone know what might be the cause?

Here the short code of the script I am using that crashes.

a = inputs[0].PointData["a"]
b = inputs[1].PointData["b"]
output.PointData.append(a, "a")
output.PointData.append(b, "b")

PS: For information, I am trying doing a script that calculates wall shear stress. One of the input is the velocity gradient and the other one the normal vectors.

Best regards,

Gabriel Nahas
--

[photo]

Gabriel Nahas
Master Student at École Polytechnique
+33 6 38 28 29 92<tel:+33+6+38+28+29+92> | Skype: gabrielrezendenahas<https://webapp.wisestamp.com/>
[https://s3.amazonaws.com/images.wisestamp.com/icons_32/facebook.png]<http://www.facebook.com/gabriel.nahas.9> [https://s3.amazonaws.com/images.wisestamp.com/icons_32/linkedin.png] <http://in.linkedin.com/in/gabriel-nahas-2566b892>


[https://mailfoogae.appspot.com/t?sender=aZ2FicmllbHJlemVuZGVuYWhhc0BnbWFpbC5jb20%3D&type=zerocontent&guid=9905502d-9c30-455a-8535-196b6961a18b]ᐧ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170425/93b83461/attachment.html>


More information about the ParaView mailing list