How Can I identify who is the maximum variable? #20171
Unanswered
fernest0
asked this question in
Help using VisIt
Replies: 1 comment
-
We can define something like this using the expression editor.
Is this what you're looking for? We take the max of the three forces and subtract out each of the forces, then take the absolute value and check if it is below some epsilon (I chose 0.0001). Then we can use the conditional structure to pick a value for each force and a value for no force, which shouldn't be any of the cells. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all!
Let's say that I have a set of force scalar mesh variables named: force1, force2 and force3.
How would it be an easy way to define another scalar mesh variable identifying who is the maximum force?
I want to identify which is the maximum force in each cell, but not the maximum value.
Let's suppose the new variable is named var. I want something like this:
So in a pseudocolor plot, then I can see which force dominates in every region.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions