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

Fix dimension selection in COMSOL mphtxt reader. #14374

Merged
merged 1 commit into from Oct 25, 2022

Conversation

bangerth
Copy link
Member

This is a bug that shows up in a mailing list post by yy.wayne: The mesh in the file corresponds to dim==2, spacedim==3, but the code we have does not consider the codimension-1 case and confuses dim and spacedim. Specifically, we need to ask dim, not spacedim, whether we are dealing with a cell or a face.

This patch does not fix reading the file sent as part of the mailing list post, but it is a necessary first step.

/rebuild

Copy link
Member

@drwells drwells left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any chance that you could get a codim 1 comsol mesh?

@drwells
Copy link
Member

drwells commented Oct 24, 2022

/rebuild

@bangerth
Copy link
Member Author

I have that mesh, but it triggers further errors. I will add that to the test suite when I fix the underlying issue. This part of the change felt sufficiently obvious and self-contained.

@drwells drwells merged commit a76d705 into dealii:master Oct 25, 2022
@drwells
Copy link
Member

drwells commented Oct 25, 2022

Lets add it later if there are more bugs that still need to be fixed.

@bangerth
Copy link
Member Author

Yes, promised!

@bangerth bangerth deleted the mphtxt branch October 25, 2022 21:16
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