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

Method dirichlet_dofs in API #2

Closed
keileg opened this issue Sep 24, 2021 · 2 comments
Closed

Method dirichlet_dofs in API #2

keileg opened this issue Sep 24, 2021 · 2 comments

Comments

@keileg
Copy link
Contributor

keileg commented Sep 24, 2021

@TheBB The method dirichlet_dofs() in the API is presumably aimed at finite element discretizations. For a cell centered finite volume discretization, where boundary conditions are discretized differently (in a certain sense) from interior dofs, it is not meaningful to ask for Dirichlet dofs. In such cases, should the method simply return an empty list?

@TheBB
Copy link
Owner

TheBB commented Sep 24, 2021

Yes, the idea is to distinguish fixed dofs, so for finite volumes presumably no dofs are fixed (and, correspondingly, all entries in the load vector are of significance), so the return value should be [].

@keileg
Copy link
Contributor Author

keileg commented Sep 27, 2021

Thanks.

@keileg keileg closed this as completed Sep 27, 2021
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

No branches or pull requests

2 participants