-
Notifications
You must be signed in to change notification settings - Fork 92
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
getcellset(::SubDofHandler) #809
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #809 +/- ##
=======================================
Coverage 92.77% 92.77%
=======================================
Files 33 33
Lines 4952 4953 +1
=======================================
+ Hits 4594 4595 +1
Misses 358 358
☔ View full report in Codecov by Sentry. |
Any particular reason why you don't want to access the field itself? Since we don't have a "subdofhandler interface" I don't really see why this is problematic. |
Documenting the field is also an option. I find that an access function for use outside |
This is a thing I would really like to discuss at FerriteCon, because not having an interface here causes some trouble downstream. |
The name suggests that a set is returned. Do we want to enforce this? I played a bit around with using ranges instead of sets in #625 which might be an efficient alternative for the case that subdofhandlers model physical subdomains. |
@fredrikekre suggested on slack that we could potentially support both
Will be new feature, so to be done after 1.0 |
Since we already have a function for getting the cellset from the grid,
I find it logical to also provide
getcellset(::SubDofHandler)
, such that usersdon't have to use direct field-access to obtain the
SubDofHandler
's cellset.