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 for QGmshRenderer adding a ground_plane physical group even when … #873

Merged
merged 3 commits into from
Nov 9, 2022

Conversation

AbeerVaishnav13
Copy link
Collaborator

@AbeerVaishnav13 AbeerVaishnav13 commented Nov 5, 2022

…it is not in the model.

What are the issues this pull addresses (issue numbers / links)?

Closes #872
Issue found by @diemilio and requires a minor change to fix it by adding a check for the ground plane layer if the layers_dict is empty or not.

Did you add tests to cover your changes (yes/no)?

No

Did you update the documentation accordingly (yes/no)?

Yes

Did you read the CONTRIBUTING document (yes/no)?

Yes

Summary

This solves the issue that was caused due to missing a condition to check if the layers having ground plane actually exist in the model or not.

Details and comments

Branch can be deleted after merging.

Copy link
Collaborator

@priti-ashvin-shah-ibm priti-ashvin-shah-ibm left a comment

Choose a reason for hiding this comment

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

LGTM, nice job.

@priti-ashvin-shah-ibm priti-ashvin-shah-ibm merged commit a8cb84c into main Nov 9, 2022
@priti-ashvin-shah-ibm priti-ashvin-shah-ibm deleted the 872-gmsh-renderer-ground_plane-issue branch November 9, 2022 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gmsh Renderer creates ground_plane physical group even when it does not exist
4 participants