PythonCalculator does not behave as expected when working with FieldData
PythonCalculator does not behave as expected when working with FieldData and require to use an array of the right dimension to generate the right results.
Steps to reproduce:
- Run ParaView
- Load LegacyExodusReader plugin
- Open can.ex2, legacy reader, apply
- Please note the field data "ElementBlockIds"
- Python calculator
-
ElementBlockIds
, Apply - Errors, this string is not recognized, but this is supposed to be supported according to the doc
-
inputs[0].FieldData["ElementBlockIds"]
, Apply - a result array is added to the FieldData instead of PointData, and data is incorrect (all zeros)
-
(VEL - VEL) * inputs[0].FieldData["ElementBlockIds"]
, Apply - a result array is added to the PointData, correct, but data is still incorrect