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

Dilation support for JaxPolySlab #1909

Merged
merged 2 commits into from
Aug 21, 2024
Merged

Conversation

yaugenst-flex
Copy link
Collaborator

@yaugenst-flex yaugenst-flex commented Aug 18, 2024

Adds basic support for dilation argument in JaxPolySlab.

This also enables differentiation w.r.t. dilation, but note that this currently only works if no sidewall angle is present (see tests). Actually differentiating w.r.t. everything works (i.e., dilation, sidewall_angle, and slab_bounds) as long as there is no / very little sidewall angle.

@yaugenst-flex yaugenst-flex self-assigned this Aug 18, 2024
@yaugenst-flex yaugenst-flex added 2.7 will go into version 2.7.* .3 labels Aug 18, 2024
@yaugenst-flex yaugenst-flex force-pushed the yaugenst-flex/jax-dilation branch from e4179d7 to 4e4fd31 Compare August 18, 2024 13:45
@yaugenst-flex yaugenst-flex force-pushed the yaugenst-flex/jax-dilation branch from 4e4fd31 to 7df70d0 Compare August 18, 2024 16:40
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.

Thanks @yaugenst-flex ! just a couple minor comments

@yaugenst-flex yaugenst-flex force-pushed the yaugenst-flex/jax-dilation branch from 7df70d0 to c576119 Compare August 21, 2024 08:16
@yaugenst-flex yaugenst-flex force-pushed the yaugenst-flex/jax-dilation branch from c576119 to 05a3e9a Compare August 21, 2024 08:23
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.

Feel free to merge @yaugenst-flex when you're ready. no rush

@yaugenst-flex yaugenst-flex force-pushed the yaugenst-flex/jax-dilation branch from 05a3e9a to 74dff54 Compare August 21, 2024 18:40
@yaugenst-flex yaugenst-flex force-pushed the yaugenst-flex/jax-dilation branch from 74dff54 to 60bd74b Compare August 21, 2024 18:46
@yaugenst-flex yaugenst-flex merged commit aad9ee7 into develop Aug 21, 2024
15 checks passed
@yaugenst-flex yaugenst-flex deleted the yaugenst-flex/jax-dilation branch August 21, 2024 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.7 will go into version 2.7.* .3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants