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

[Core] Fixed the calculation of the table's derivative outside its domain #12477

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

avdg81
Copy link
Contributor

@avdg81 avdg81 commented Jun 25, 2024

📝 Description
When the derivative of a table was requested at a point outside of the table's domain, it always returned 0. This was inconsistent with the behavior of member GetValue, which extrapolates using either the first line segment or the last line segment. The calculation of the table's derivative has been made consistent now. The change is covered by a unit test.

When the derivative of a table was requested at a point outside of the
table's domain, it always returned 0. This was inconsistent with the
behavior of member `GetValue`, which extrapolates using either the first
line segment or the last line segment. The calculation of the table's
derivative has been made consistent now. The change is covered by a unit
test.
@avdg81 avdg81 added Kratos Core Bugfix Behaviour Change changes behaviour but not the API labels Jun 25, 2024
@avdg81 avdg81 self-assigned this Jun 25, 2024
@avdg81 avdg81 marked this pull request as ready for review June 25, 2024 10:07
@avdg81 avdg81 requested a review from a team as a code owner June 25, 2024 10:07
@sunethwarna
Copy link
Member

sunethwarna commented Jun 27, 2024

Wow, you raced us ;) and made the test already :) [Check #12471]

@avdg81 avdg81 merged commit 2834d6a into master Jun 27, 2024
11 checks passed
@avdg81 avdg81 deleted the geo/fix-calculate-derivative-in-table branch June 27, 2024 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Behaviour Change changes behaviour but not the API Bugfix Kratos Core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[GeoMechanicsApplication] Create backbone and unloading model with elastic unloading for trusses
2 participants