-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
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. 🚀 New features to boost your workflow:
|
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.
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) |
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.
Could probably add a small inline comment here stating how the type of element for creating the mesh is not important
if name == "U": | ||
element = self.mesh_vector_element | ||
else: | ||
element = self.mesh_scalar_element |
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.
Again could add small comment, in the case of reading for "U" a velocity field, a vector element is used etc
No description provided.