Skip to content

indices of boundary dofs #2545

Discussion options

You must be logged in to vote

You can build a bc = DirichletBC(V, 0, (mesh, labels, you, want)) and then bc.nodes gives you indices into the .data array that are on the boundary.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by erexshah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants