Skip to content

Fix ufl cell vs basix cell#615

Merged
RemDelaporteMathurin merged 3 commits into
fenicsxfrom
fix-ufl-cell-vs-basix-cell
Oct 20, 2023
Merged

Fix ufl cell vs basix cell#615
RemDelaporteMathurin merged 3 commits into
fenicsxfrom
fix-ufl-cell-vs-basix-cell

Conversation

@RemDelaporteMathurin
Copy link
Copy Markdown
Collaborator

Proposed changes

This is a small PR to anticipate the future deprecation of ufl.FiniteElement and uses basix instead.
Also modifies the permeation test to avoid dividing by zero.

Overall reduces the number of warnings in the tests.

@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 19, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4d4a65a) 96.97% compared to head (8d621ff) 96.98%.

Additional details and impacted files
@@           Coverage Diff            @@
##           fenicsx     #615   +/-   ##
========================================
  Coverage    96.97%   96.98%           
========================================
  Files           13       13           
  Lines          397      398    +1     
========================================
+ Hits           385      386    +1     
  Misses          12       12           
Files Coverage Δ
festim/hydrogen_transport_problem.py 97.77% <100.00%> (+0.01%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@RemDelaporteMathurin RemDelaporteMathurin added the fenicsx Issue that is related to the fenicsx support label Oct 19, 2023
@jhdark
Copy link
Copy Markdown
Collaborator

jhdark commented Oct 19, 2023

Could update this in the test/benchmark.py file too

Copy link
Copy Markdown
Collaborator

@jhdark jhdark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@RemDelaporteMathurin RemDelaporteMathurin merged commit b26c407 into fenicsx Oct 20, 2023
@RemDelaporteMathurin RemDelaporteMathurin deleted the fix-ufl-cell-vs-basix-cell branch October 20, 2023 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fenicsx Issue that is related to the fenicsx support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants