Skip to content
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

Read scalar values from OF #14

Merged
merged 6 commits into from
Mar 7, 2025
Merged

Read scalar values from OF #14

merged 6 commits into from
Mar 7, 2025

Conversation

RemDelaporteMathurin
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Mar 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.53%. Comparing base (0926456) to head (dc5465c).
Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #14      +/-   ##
==========================================
+ Coverage   96.05%   97.53%   +1.47%     
==========================================
  Files           2        2              
  Lines          76       81       +5     
==========================================
+ Hits           73       79       +6     
+ Misses          3        2       -1     

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

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@RemDelaporteMathurin RemDelaporteMathurin merged commit cf41b70 into main Mar 7, 2025
5 checks passed
@RemDelaporteMathurin RemDelaporteMathurin deleted the read-scalar branch March 7, 2025 22:07
Copy link
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.

Maybe just some small bits of doc to add


# Create dolfinx Mesh
mesh_ufl = ufl.Mesh(self.mesh_element)
mesh_ufl = ufl.Mesh(self.mesh_vector_element)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could probably add a small inline comment here stating how the type of element for creating the mesh is not important

Comment on lines +138 to +141
if name == "U":
element = self.mesh_vector_element
else:
element = self.mesh_scalar_element
Copy link
Collaborator

Choose a reason for hiding this comment

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

Again could add small comment, in the case of reading for "U" a velocity field, a vector element is used etc

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.

None yet

2 participants