Time query in python expression #19739
Replies: 2 comments 1 reply
-
Depending on the nature of the script that uses the python expression, it should be possible to do the query beforehand and then pass the result as an argument to the python expression. Otherwise, I would suggest the
|
Beta Was this translation helpful? Give feedback.
-
Hello, I am the user that @dpugmire is speaking of. I thought that it might be good to outline my problem. I have a code that I want to verify by computing L2 norms. I plan to accomplish this task in two steps, (1) compute the differences between each physical quantity in my code to its known solution, and then (2) sum up all the differences to obtain the L2-norm. To carry out task 1, I use visit in cli mode, and I then call a custom python expression of the form: The purpose of My current problem is that in order to run |
Beta Was this translation helpful? Give feedback.
-
I'm working with a user at OLCF who is developing a python expression. He needs to get access to the time either inside the expression. He tried to issue a Query("Time") inside the expression, but it isn't working. Is there a better way to get the Time into an expression?
Beta Was this translation helpful? Give feedback.
All reactions