-
Notifications
You must be signed in to change notification settings - Fork 24
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
Subdomain classes #593
Subdomain classes #593
Conversation
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## fenicsx #593 +/- ##
===========================================
+ Coverage 89.23% 91.77% +2.54%
===========================================
Files 5 7 +2
Lines 130 158 +28
===========================================
+ Hits 116 145 +29
+ Misses 14 13 -1
☔ View full report in Codecov by Sentry. |
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.
Things are starting to take shape
A few things:
- please take the habit to add docstrings to your test to detail what they do
- Please open an issue to implement check in the code to test that borders match with each other, the borders match with the start point and the end point of the mesh
Co-authored-by: Rémi Delaporte-Mathurin <40028739+RemDelaporteMathurin@users.noreply.github.com>
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.
Another round of comments
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.
A couple of tiny comments. I think we can remove the dofs attribute of Subdomain1D since we don't use it anywhere else
After addressing these comments feel free to merge
Proposed changes
Introducing subdomains, the subdomains will be used to create the meshtags and measures of the simulation. Additionally, when material classes are made, they will be an attribute of a volume subdomain class.
Types of changes
What types of changes does your code introduce to FESTIM?
Checklist
Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...