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

Validate Medium2D components to be either both PEC or non-PEC #1715

Merged
merged 1 commit into from
May 24, 2024

Conversation

weiliangjin2021
Copy link
Collaborator

@weiliangjin2021 weiliangjin2021 commented May 23, 2024

In principle, we should warn in AnisotropicMedium if the 3 components are not simultaneously PEC or non-PEC. This is because the solver will just convert the anisotropic medium to PECMedium if any of its component is PEC. But since hopefully it is unlikely to be used directly in AnistropicMedium, let's just add a validator in Medium2D.

Copy link
Collaborator

@tylerflex tylerflex left a comment

Choose a reason for hiding this comment

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

some issue with the submodule checks see #1712

once it's resolved feel free to merge.

@tylerflex
Copy link
Collaborator

@weiliangjin2021 submodule needs updating I think and then we can merge

@tylerflex
Copy link
Collaborator

Just make sure to squash commits too, thanks!

@weiliangjin2021 weiliangjin2021 merged commit d1fc216 into pre/2.7 May 24, 2024
16 checks passed
@weiliangjin2021 weiliangjin2021 deleted the weiliang/validate_medium2d branch May 24, 2024 17:09
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.

3 participants