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

Enable GridOut::write_gmsh() for simplex meshes #13035

Merged
merged 4 commits into from Dec 7, 2021

Conversation

bangerth
Copy link
Member

@bangerth bangerth commented Dec 6, 2021

I decided to put some of the necessary infrastructure into ReferenceCell.

/rebuild

source/grid/grid_out.cc Show resolved Hide resolved
tests/simplex/grid_out_msh.cc Outdated Show resolved Hide resolved
@drwells
Copy link
Member

drwells commented Dec 6, 2021

Its not directly related to this PR (the same problems occurs with VTK) but I see the following when I plot the output:

weird-cylinder

I think this means that point placement currently ignores manifold descriptions.

@bangerth
Copy link
Member Author

bangerth commented Dec 6, 2021

I fixed the one place the tester complains about.

As for the figure: This looks correct to me. Remember that I'm outputting the mesh with linear tetrahedra. So only the vertex positions are right, but lines are shown as straight whether they are or are not based on some (deal.II-internal) manifold description. The vertex positions look correct to me: all on the perimeter of the cylinder.

@drwells
Copy link
Member

drwells commented Dec 6, 2021

Yes, I think you're right. I'll double-check the grid later.

@kronbichler kronbichler merged commit a47e024 into dealii:master Dec 7, 2021
@bangerth bangerth deleted the grid-out branch December 7, 2021 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants