Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blueprint csv export will export unused points #20177

Open
cyrush opened this issue Jan 7, 2025 · 4 comments
Open

blueprint csv export will export unused points #20177

cyrush opened this issue Jan 7, 2025 · 4 comments
Labels
bug Something isn't working impact medium Productivity partially degraded (not easily mitigated bug) or improved (enhancement) likelihood medium Neither low nor high likelihood

Comments

@cyrush
Copy link
Member

cyrush commented Jan 7, 2025

Describe the bug

I created a boundary plot and exported to blueprint csv.
In the vertex data output, the original vertices are there as well.
This is likely because the dataset was not cleaned (original points are still attached to the dataset, and the new ones were appended)

boundaries vs vertex data:
Screenshot 2025-01-07 at 1 29 45 PM

boundaries vs element data:

Screenshot 2025-01-07 at 1 30 08 PM

Helpful additional information

  • Did VisIt crash:
  • Did you get wrong results:

To Reproduce

Create a boundary plot of mat1 for rect2d.silo, export to Blueprint with Flatten_CSV option.

Desktop

  • OS and version: toss4 and macOS
  • VisIt Version: 3.4.2
@cyrush cyrush added bug Something isn't working likelihood medium Neither low nor high likelihood impact medium Productivity partially degraded (not easily mitigated bug) or improved (enhancement) labels Jan 7, 2025
@JustinPrivitera
Copy link
Member

is this unique to blueprint? I would guess this would be an issue with all of our exports.

@cyrush
Copy link
Member Author

cyrush commented Jan 8, 2025

I don't think so, but we could mitigate with a clean points filter. I think that's the right solution for Blueprint and maybe for all other cases as well.

@biagas
Copy link
Contributor

biagas commented Jan 8, 2025

VisIt has a couple of filters (vtkUnstructuredGridRelevantPointsFilter and vtkPolyDataRelevantPointsFilter) that will remove points not associated with any cells. It is called by avtCondenseDatasetFilter and uses a heuristic (which can be bypassed) to determine whether or not to use the filters. avtCondenseDatasetFilter is used by avtPlot during its "ReduceGeometry" function. The individual vtk filters are also used in various places where it is important to remove the unused points. @cyrush is this what you were thinking of ?

@cyrush
Copy link
Member Author

cyrush commented Jan 8, 2025

@biagas yes, exactly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working impact medium Productivity partially degraded (not easily mitigated bug) or improved (enhancement) likelihood medium Neither low nor high likelihood
Projects
None yet
Development

No branches or pull requests

3 participants