Skip to content

Conversation

@pbrubeck
Copy link
Contributor

@pbrubeck pbrubeck commented Nov 12, 2024

Description

  1. Replace V.ufl_element().value_shape by V.value_shape,
  2. firedrake.FunctionSpace.value_size has been redefined to agree with ufl.FunctionSpace.value_size = numpy.prod(value_shape, int), so the old behaviour gets renamed as firedrake.FunctionSpace.block_size

Depends on:
firedrakeproject/ufl#52
FInAT/FInAT#118
firedrakeproject/tsfc#307

@github-actions
Copy link

github-actions bot commented Nov 12, 2024

TestsPassed ✅Skipped ⏭️Failed ❌
Firedrake complex8081 ran6500 passed1581 skipped0 failed

@github-actions
Copy link

github-actions bot commented Nov 12, 2024

TestsPassed ✅Skipped ⏭️Failed ❌
Firedrake real8087 ran7298 passed789 skipped0 failed

@pbrubeck pbrubeck force-pushed the pbrubeck/value_shape branch 2 times, most recently from e33bd64 to 4c5f7db Compare November 12, 2024 15:39
@pbrubeck pbrubeck force-pushed the pbrubeck/value_shape branch 2 times, most recently from a2537dc to 20342a6 Compare November 13, 2024 10:26
@pbrubeck pbrubeck force-pushed the pbrubeck/value_shape branch from 20342a6 to adb93f4 Compare November 13, 2024 10:47
@dham dham marked this pull request as draft November 13, 2024 16:42
@pbrubeck pbrubeck force-pushed the pbrubeck/value_shape branch from 5ed339e to 47253ea Compare November 13, 2024 17:33
@pbrubeck pbrubeck force-pushed the pbrubeck/value_shape branch 2 times, most recently from b76ee5e to 3bdaba7 Compare November 13, 2024 22:56
@pbrubeck pbrubeck force-pushed the pbrubeck/value_shape branch from 3bdaba7 to d6bb2ed Compare November 14, 2024 00:11
@pbrubeck pbrubeck force-pushed the pbrubeck/value_shape branch from d6bb2ed to bb5a9bd Compare November 14, 2024 01:11
@pbrubeck pbrubeck force-pushed the pbrubeck/value_shape branch from 11c8ba1 to 0e4c04f Compare November 14, 2024 17:14
@pbrubeck pbrubeck force-pushed the pbrubeck/value_shape branch from 38e7f78 to a07587e Compare November 15, 2024 11:30
Copy link
Contributor

@connorjward connorjward left a 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.

@connorjward connorjward requested a review from ksagiyam November 15, 2024 12:13
@pbrubeck pbrubeck force-pushed the pbrubeck/value_shape branch from 2752f93 to a674ccf Compare November 15, 2024 12:39
Copy link
Contributor

@ksagiyam ksagiyam left a 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
ksagiyam previously approved these changes Nov 15, 2024
@pbrubeck pbrubeck marked this pull request as ready for review November 15, 2024 15:28
@ksagiyam
Copy link
Contributor

@pbrubeck pbrubeck merged commit ed826a5 into master Nov 15, 2024
12 checks passed
@pbrubeck pbrubeck deleted the pbrubeck/value_shape branch November 15, 2024 20:11
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants