Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix[adjoint]: update polyslab in simulation bounds check to allow for…#2681

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
groberts-flex wants to merge1 commit intodevelop
base:develop
Choose a base branch
Loading
fromgroberts-flex/fix_polyslab_bounds_check

Conversation

groberts-flex
Copy link
Contributor

… slabs of zero thickness

is_2d = np.isclose(extents[self.axis], 0.0)
polyslab_2d = np.isclose(np.diff(self.slab_bounds), 0.0)
sim_2d = np.isclose(extents[self.axis], 0.0)
is_2d = polyslab_2d and sim_2d
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

this is failing a unit test - actually I think maybe we don't want to add the polyslab_2d check in here for cases like the unit test that's failing where the simulation is 2d but the polyslab isn't. in that case, the polyslab should still be integrated as if it was 2d.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@groberts-flex

[8]ページ先頭

©2009-2025 Movatter.jp