{"action":"opened","issue":{"url":"https://api.github.com/repos/aowen87/BAR/issues/1397","repository_url":"https://api.github.com/repos/aowen87/BAR","labels_url":"https://api.github.com/repos/aowen87/BAR/issues/1397/labels{/name}","comments_url":"https://api.github.com/repos/aowen87/BAR/issues/1397/comments","events_url":"https://api.github.com/repos/aowen87/BAR/issues/1397/events","html_url":"https://github.com/aowen87/BAR/issues/1397","id":390546980,"node_id":"MDU6SXNzdWUzOTA1NDY5ODA=","number":1397,"title":"It isn't possible to see the material specific values in a mixed material zone in Label plot","user":{"login":"aowen87","id":11658578,"node_id":"MDQ6VXNlcjExNjU4NTc4","avatar_url":"https://avatars0.githubusercontent.com/u/11658578?v=4","gravatar_id":"","url":"https://api.github.com/users/aowen87","html_url":"https://github.com/aowen87","followers_url":"https://api.github.com/users/aowen87/followers","following_url":"https://api.github.com/users/aowen87/following{/other_user}","gists_url":"https://api.github.com/users/aowen87/gists{/gist_id}","starred_url":"https://api.github.com/users/aowen87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aowen87/subscriptions","organizations_url":"https://api.github.com/users/aowen87/orgs","repos_url":"https://api.github.com/users/aowen87/repos","events_url":"https://api.github.com/users/aowen87/events{/privacy}","received_events_url":"https://api.github.com/users/aowen87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/aowen87/BAR/milestones/32","html_url":"https://github.com/aowen87/BAR/milestone/32","labels_url":"https://api.github.com/repos/aowen87/BAR/milestones/32/labels","id":3894592,"node_id":"MDk6TWlsZXN0b25lMzg5NDU5Mg==","number":32,"title":"2.13.1","description":null,"creator":{"login":"aowen87","id":11658578,"node_id":"MDQ6VXNlcjExNjU4NTc4","avatar_url":"https://avatars0.githubusercontent.com/u/11658578?v=4","gravatar_id":"","url":"https://api.github.com/users/aowen87","html_url":"https://github.com/aowen87","followers_url":"https://api.github.com/users/aowen87/followers","following_url":"https://api.github.com/users/aowen87/following{/other_user}","gists_url":"https://api.github.com/users/aowen87/gists{/gist_id}","starred_url":"https://api.github.com/users/aowen87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aowen87/subscriptions","organizations_url":"https://api.github.com/users/aowen87/orgs","repos_url":"https://api.github.com/users/aowen87/repos","events_url":"https://api.github.com/users/aowen87/events{/privacy}","received_events_url":"https://api.github.com/users/aowen87/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":38,"state":"open","created_at":"2018-12-13T00:15:23Z","updated_at":"2018-12-13T07:13:21Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-12-13T07:13:21Z","updated_at":"2018-12-13T07:13:21Z","closed_at":null,"author_association":"OWNER","body":"Matt Obrien reported that with code he has mixed materials with material specific values. Normally VisIt always displays the whole zone values unless some material selection is being performed. If there are no materials being selected there is a setting that forces material interface reconstruction and allows seeing the per material values. Neither of these mechanisms appear to be working. I couldn't verify this since none of our test data sets appear to have per material values for variables (or at least none that I could find). The first step is to modify the curv2d.silo generator to put out material specific values for the density that are markedly different so that we can test this. Then we should get this working.\n\n\n\n\n\n-----------------------REDMINE MIGRATION-----------------------\nThis ticket was migrated from Redmine. As such, not all \ninformation was able to be captured in the transition. Below is\na complete record of the original redmine ticket.\n\nTicket number: 3002\nStatus: Resolved\nProject: VisIt\nTracker: Bug\nPriority: High\nSubject: It isn't possible to see the material specific values in a mixed material zone in Label plot\nAssigned to: Alister Maguire\nCategory: -\nTarget version: 2.13.1\nAuthor: Eric Brugger\nStart: 01/29/2018\nDue date: \n% Done: 100%\nEstimated time: 4.00 hours\nCreated: 01/29/2018 08:17 pm\nUpdated: 02/26/2018 05:00 pm\nLikelihood: 3 - Occasional\nSeverity: 4 - Crash / Wrong Results\nFound in version: 2.12.3\nImpact: \nExpected Use: \nOS: All\nSupport Group: Any\nDescription:\n Matt Obrien reported that with code he has mixed materials with material specific values. Normally VisIt always displays the whole zone values unless some material selection is being performed. If there are no materials being selected there is a setting that forces material interface reconstruction and allows seeing the per material values. Neither of these mechanisms appear to be working. I couldn't verify this since none of our test data sets appear to have per material values for variables (or at least none that I could find). The first step is to modify the curv2d.silo generator to put out material specific values for the density that are markedly different so that we can test this. Then we should get this working.\n\nComments:\npdbdatabase.C has a mixed scalar. Thanks for the tip about pdbdatabase.C containing mixed material variables. I tested VisIt 2.12.3 and it did the right thing. I will ask Matt for a data file. Matt gave me his file and when I force interface reconstruction, a Pseudocolor plot of the mixed material variable splits the cells and displays the material specific value in each piece. When I do a label plot of materials, it splits the cells and labels each piece with the correct material label. When I do a label plot of the mixed material variable it doesn't split the cell and displays the whole zone value. So, it is as Matt described, almost everything works correctly, just this one case doesn't. The data file he gave me is in ~brugger1/visit_obrien_bug on kickit. I suspect that the database generated by pdbdatabase.C should show the same behavior. Ok, specmix_ucd.silo has mixed variable values for variables \"p\" and \"d\" Hey everyone,Ive committed two revisions to the trunk.Revision 32458:This revision fixes a bug with the label plot not being able to correctly label mixed variables. Ive only been able to test on one dataset, but the issue should be resolved in general.M src/plots/Label/avtLabelFilter.CM src/plots/Label/avtLabelFilter.hRevision 32459:I added in a couple of tests to the label plot test file. These new tests will check to make sure that cells with mixed variables are being labeled correctly.A test/baseline/plots/label/label_11_00.pngA test/baseline/plots/label/label_11_01.pngM test/tests/plots/label.pyBest,Alister\n"}}
{"actor":{"display_login":"aowen87"}}