visit-dav / visit

VisIt - Visualization and Data Analysis for Mesh-based Scientific Data
https://visit.llnl.gov
BSD 3-Clause "New" or "Revised" License
433 stars 111 forks source link

Subset plot does not show all boundaries for AMR data set #2673

Open aowen87 opened 5 years ago

aowen87 commented 5 years ago

The Subset plot (of levels) does not show all boundaries for a 2D AMR data set, even if "Draw internal surfaces" is enabled. Running the enabled Python script results in visit0006.png which is missing a lot of boundaries ("Draw internal surfaces" disabled) and visit0007.png which still misses part of the black boundary lines of level 0 ("Draw internal surfaces" disabled). density_plot02400_XY.png shows the correct result. Python script DeleteAllPlots()OpenDatabase("plt00000/Header")AddPlot("Pseudocolor", "density")AddPlot("Subset", "levels")SubsetAtts = SubsetAttributes()SubsetAtts.colorType = SubsetAtts.ColorByMultipleColorsSubsetAtts.lineStyle = SubsetAtts.SOLIDSubsetAtts.lineWidth = 3SubsetAtts.SetMultiColor(0, (0, 0, 0, 255))SubsetAtts.SetMultiColor(1, (189, 255, 118, 255))SubsetAtts.SetMultiColor(2, (154, 252, 243, 255))SubsetAtts.wireframe = 1SubsetAtts.drawInternal = 0SetPlotOptions(SubsetAtts)DrawPlots()SaveWindow()SubsetAtts.drawInternal = 1SetPlotOptions(SubsetAtts)DrawPlots()SaveWindow()

-----------------------REDMINE MIGRATION----------------------- This ticket was migrated from Redmine. As such, not all information was able to be captured in the transition. Below is a complete record of the original redmine ticket.

Ticket number: 2673 Status: Pending Project: VisIt Tracker: Bug Priority: High Subject: Subset plot does not show all boundaries for AMR data set Assigned to: Eric Brugger Category: - Target version: 2.13.4 Author: Gunther Weber Start: 08/30/2016 Due date: % Done: 0% Estimated time: Created: 08/30/2016 02:38 pm Updated: 08/21/2018 06:04 pm Likelihood: 3 - Occasional Severity: 4 - Crash / Wrong Results Found in version: 2.10.0 Impact: Expected Use: OS: All Support Group: DOE/SciDAC Description: The Subset plot (of levels) does not show all boundaries for a 2D AMR data set, even if "Draw internal surfaces" is enabled. Running the enabled Python script results in visit0006.png which is missing a lot of boundaries ("Draw internal surfaces" disabled) and visit0007.png which still misses part of the black boundary lines of level 0 ("Draw internal surfaces" disabled). density_plot02400_XY.png shows the correct result. Python script DeleteAllPlots()OpenDatabase("plt00000/Header")AddPlot("Pseudocolor", "density")AddPlot("Subset", "levels")SubsetAtts = SubsetAttributes()SubsetAtts.colorType = SubsetAtts.ColorByMultipleColorsSubsetAtts.lineStyle = SubsetAtts.SOLIDSubsetAtts.lineWidth = 3SubsetAtts.SetMultiColor(0, (0, 0, 0, 255))SubsetAtts.SetMultiColor(1, (189, 255, 118, 255))SubsetAtts.SetMultiColor(2, (154, 252, 243, 255))SubsetAtts.wireframe = 1SubsetAtts.drawInternal = 0SetPlotOptions(SubsetAtts)DrawPlots()SaveWindow()SubsetAtts.drawInternal = 1SetPlotOptions(SubsetAtts)DrawPlots()SaveWindow()

Comments: Removed "ground truth file" density_plt02400_XY.png" since it was for an incorrect time step and added " density_plt00000_XY.png" instead.

markcmiller86 commented 5 years ago

2673_density_plt00000_xy [Uploading 2673_plt00000.tar.gz…]() ![Uploading 2673_visit0006.png…]() ![Uploading 2673_visit0007.png…]()