Calculator Filter Cannot Handle Variables With Special Characters
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
When using the calculator filter, calculations involving variables with special characters in their names throw errors. One of the more prominent ones is variables that contain numbers as part of their name. I had an issue with the number being the first character, but this bug may occur if the number is at any position; I did not test that. For example, if we had scalars containing pressure data called 3DPRES_X, 3DPRES_Y and 3DPRES_Z we might try the following: (iHat * 3DPRES_X) + (jHat * 3DPRES_Y) + (kHat * 3DPRES_Z) to make a new vector. ParaView will complain that there is an operator missing, it expects:
(iHat * 3 * DPRES_X), etc. However, DPRES_X is not a variable name.