Skip to content

Conversation

@mscroggs
Copy link
Member

@mscroggs mscroggs commented Jan 17, 2024

The element needed to know the geometric domain to know the physical value size. With the value size functions moved to FunctioSpace, the geometric domain can instead be obtained from the mesh/domain and the cell no longer needs a gdim.

This PR moves toward these aims that I propose that we follow:

  • Cell and FiniteElement can always be thought of as the reference cell and element defined on the reference cell
  • All information about geometric space belongs to the domain (the Mesh object)

Coupled with FEniCS/basix#772, FEniCS/ffcx#653, FEniCS/dolfinx#2996.

The draft changes in FInAT/FInAT#118 and firedrakeproject/tsfc#307 will be needed once this is merged into Firedrake's fork of UFL.

@mscroggs mscroggs marked this pull request as draft January 17, 2024 16:30
@mscroggs mscroggs marked this pull request as ready for review January 22, 2024 18:25
@mscroggs mscroggs changed the title Remove geometric dimension from cell Remove geometric dimension from cell, move value_shape to FunctionSpace Jan 29, 2024
@jorgensd jorgensd requested review from dham and garth-wells January 30, 2024 07:59
@garth-wells
Copy link
Member

@mscroggs is this ready to merge? I don't want to try ruff/black formatting before this PR is wrapped up.

@mscroggs
Copy link
Member Author

mscroggs commented Feb 9, 2024

@mscroggs is this ready to merge? I don't want to try ruff/black formatting before this PR is wrapped up.

Ran out of time to sort this today. I'll update the coupled PRs and get this merged over the weekend.

@mscroggs mscroggs added this pull request to the merge queue Feb 10, 2024
Merged via the queue into main with commit f3b9865 Feb 10, 2024
@mscroggs mscroggs deleted the mscroggs/gdim branch February 10, 2024 10:53
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.

3 participants