Mili DB provides an expression called displacement. There is no way for VisIt to know the dimension of the expression until it is asked to use it. The displace operator asks for the dimension before it uses the variable, so VisIt fails to correctly identify the dimension and defaults to 1, which is wrong. If you make a vector plot of displacement before using it in the displace operator, it works fine, probably because VisIt is caching it somewhere. The solution we came up with is to ignore checks for variable dimension. Displacement should still fail if you give it something that doesn't make sense. The error message is much less informative but there is no other way to let expression variables through.
Type of change
[x] Bug fix~~
[ ] New feature
[ ] Documentation update
[ ] Other
How Has This Been Tested?
built and ran on rzhound toss4 all new and old tests pass
Description
Resolves #19719
Mili DB provides an expression called displacement. There is no way for VisIt to know the dimension of the expression until it is asked to use it. The displace operator asks for the dimension before it uses the variable, so VisIt fails to correctly identify the dimension and defaults to 1, which is wrong. If you make a vector plot of displacement before using it in the displace operator, it works fine, probably because VisIt is caching it somewhere. The solution we came up with is to ignore checks for variable dimension. Displacement should still fail if you give it something that doesn't make sense. The error message is much less informative but there is no other way to let expression variables through.
Type of change
[ ] New feature[ ] Documentation update[ ] OtherHow Has This Been Tested?
built and ran on rzhound toss4 all new and old tests pass
Reminders:
Checklist:
[ ] I have made corresponding changes to the documentation.[ ] I have added debugging support to my changes.