Skip to content

Fix initElement call for mixed Lagrange#848

Merged
kmokstad merged 5 commits intoOPM:masterfrom
kmokstad:initelement-fix
Mar 24, 2026
Merged

Fix initElement call for mixed Lagrange#848
kmokstad merged 5 commits intoOPM:masterfrom
kmokstad:initelement-fix

Conversation

@kmokstad
Copy link
Copy Markdown
Contributor

Discovered this when running the DarcyCorrection solver with a Lagrange patch (easier to compare Penalty and AL methods on similar discretizations). Its initElement method needs the element index which is stored in the fe object.

kmokstad added 4 commits March 5, 2026 09:40
add the result to the existing content can now handle that the
target object is empty, considering it equivalent to being zero
problem->initElement() call. Move some static functions to
anonymous namespace.
@kmokstad
Copy link
Copy Markdown
Contributor Author

jenkins build this with downstream please

@kmokstad
Copy link
Copy Markdown
Contributor Author

jenkins build this with downstream please

@kmokstad kmokstad merged commit 404d4dd into OPM:master Mar 24, 2026
1 check passed
@kmokstad kmokstad deleted the initelement-fix branch March 24, 2026 09:35
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.

1 participant