-
Notifications
You must be signed in to change notification settings - Fork 162
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
MixedFunctionSpace: interpolate and restrict #3868
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
@pbrubeck FYI I think I may have accidentally broken the CI runners. I am investigating. |
|
pbrubeck
commented
Nov 18, 2024
pbrubeck
force-pushed
the
pbrubeck/restricted-mixed
branch
from
November 18, 2024 17:39
33efcd0
to
cfff93c
Compare
pbrubeck
commented
Nov 19, 2024
pbrubeck
changed the title
RestrictedFunctionSpace(MixedFunctionSpace)
MixedFunctionSpace: interpolate and restrict
Nov 20, 2024
dham
previously approved these changes
Dec 4, 2024
ksagiyam
approved these changes
Dec 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR enables solving mixed probelms with
restrict=True
by introducing two main features:We implemented interpolation of flat UFL expressions or Firedrake
Functions
onto aMixedFunctionSpace
. We don't supportassemble(interpolate(TestFunction(V), W))
yet.We implemented
restricted_function_space
that returns an equivalent ofRestrictedFunctionSpace
constructed from aMixedFunctionSpace
and a list ofDirichletBC
s to infer the individualboundary_sets
of each subspace.The PR includes basic tests for these new features.