-
Notifications
You must be signed in to change notification settings - Fork 89
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: Bug with elastic wave propagator at higher orders #3294
Conversation
src/coreComponents/finiteElement/elementFormulations/Qk_Hexahedron_Lagrange_GaussLobatto.hpp
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #3294 +/- ##
===========================================
+ Coverage 56.56% 56.58% +0.01%
===========================================
Files 1064 1064
Lines 89689 89715 +26
===========================================
+ Hits 50737 50763 +26
Misses 38952 38952 ☔ View full report in Codecov by Sentry. |
@rrsettgast @castelletto1 @andrea-borio @CusiniM can any of you please give a quick review? This PR only impacts the wave propagators. Thanks! |
@rrsettgast I think this PR is also fixing issue #3311, one of the main change inside this PR is the line you mentionned with the use of an other (and correct) elemToNodes map Update: I tried to run the test cases mentionned on the issue (which indeed crash on develop) using this branch and it don't throw any error, so I think that this PR indeed fix the issue |
* fixed a bug due to PR 3202 concerning the elastic solver at higher orders * added corresponding compute jacobian with corners * added correction for ghost nodes * Re-enable wave tests --------- Co-authored-by: acitrain <[email protected]>
* fixed a bug due to PR 3202 concerning the elastic solver at higher orders * added corresponding compute jacobian with corners * added correction for ghost nodes * Re-enable wave tests --------- Co-authored-by: acitrain <[email protected]>
This PR solves a bug introduced by PR #3202 in the case of the elastic solver at higher orders. The standard
calcGradN
method of Gauss-Lobatto elements requires the coordinates of all the nodes in the mesh element. These nodes are no longer required for point location due to #3202, so only the mesh corners are passed toPrecomputeSourceAndReceiverTerm
. However in the case of the elastic solver at higher orders, this interferes withcalcGradN
.To correct this, a specialized version of the method,
calcGradNWithCorners
, is introduced and used. This method only requires the mesh corners instead of all the element nodes, fixind the issue.resolves #3311