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

Error when adding Dirichlet on nodes for MixedDofHandler #593

Closed
fredrikekre opened this issue Feb 3, 2023 · 0 comments · Fixed by #594
Closed

Error when adding Dirichlet on nodes for MixedDofHandler #593

fredrikekre opened this issue Feb 3, 2023 · 0 comments · Fixed by #594
Assignees
Labels

Comments

@fredrikekre
Copy link
Member

Error happens here:

for (cellid, _) in dbc.faces
because dbc.faces is just Set{Int} and not Set{Tuple{Int,Int}} then.

Repro:

grid = generate_grid(Line, (2,))
dh = MixedDofHandler(grid)
push!(dh, :u, 2)
close!(dh)
ch = ConstraintHandler(dh)
add!(ch, Dirichlet(:u, Set(1), x -> 0))
@KnutAM KnutAM self-assigned this Feb 3, 2023
@KnutAM KnutAM linked a pull request Feb 3, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants