-
Notifications
You must be signed in to change notification settings - Fork 177
Get value_shape from FunctionSpace #3862
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
Merged
Merged
Conversation
This file contains hidden or 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
|
|
e33bd64 to
4c5f7db
Compare
pbrubeck
commented
Nov 12, 2024
a2537dc to
20342a6
Compare
20342a6 to
adb93f4
Compare
5ed339e to
47253ea
Compare
b76ee5e to
3bdaba7
Compare
pbrubeck
commented
Nov 13, 2024
3bdaba7 to
d6bb2ed
Compare
d6bb2ed to
bb5a9bd
Compare
11c8ba1 to
0e4c04f
Compare
pbrubeck
commented
Nov 15, 2024
pbrubeck
commented
Nov 15, 2024
38e7f78 to
a07587e
Compare
connorjward
previously requested changes
Nov 15, 2024
Contributor
connorjward
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally this looks great. @ksagiyam can you also give this a scan to make sure it's the right thing.
pbrubeck
commented
Nov 15, 2024
2752f93 to
a674ccf
Compare
ksagiyam
requested changes
Nov 15, 2024
Contributor
ksagiyam
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Co-authored-by: ksagiyam <46749170+ksagiyam@users.noreply.github.com>
ksagiyam
previously approved these changes
Nov 15, 2024
Contributor
ksagiyam
approved these changes
Nov 15, 2024
connorjward
pushed a commit
that referenced
this pull request
Nov 25, 2024
* Get value_shape from FunctionSpace * Define FunctionSpace.block_size as the number of dofs per node * sort_domains --------- Co-authored-by: ksagiyam <k.sagiyama@imperial.ac.uk>
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
V.ufl_element().value_shapebyV.value_shape,firedrake.FunctionSpace.value_sizehas been redefined to agree withufl.FunctionSpace.value_size = numpy.prod(value_shape, int), so the old behaviour gets renamed asfiredrake.FunctionSpace.block_sizeDepends on:
firedrakeproject/ufl#52
FInAT/FInAT#118
firedrakeproject/tsfc#307