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

Supplying a mix of "on_boundary" and integer subdomain DirichletBCs #1226

Closed
andreasbock opened this issue Apr 30, 2018 · 1 comment
Closed

Comments

@andreasbock
Copy link

I have inherited DirichletBC to set certain Discontinuous Lagrange Trace variables to zero on the interior mesh according to my variational problem. In this connection I have discovered a bug in line 490 of firedrake/firedrake/functionspacedata.py. I am providing a list of DirichletBCs objects e.g.:

bcs = [DirichletBC(V, val, "on_boundary"), MyCustomDirichletBC(V, val, dummy_domain, my_custom_params)

to the solve(a == L, bcs=bcs) interface leads to a

TypeError: '<' not supported between instances of 'tuple' and 'str'.

Only the self.nodes of my MyCustomDirichletBC is actually used, not the dummy_domain.

@wence-
Copy link
Contributor

wence- commented May 30, 2019

FWIW, very late to the party, this was fixed in #1418.

@wence- wence- closed this as completed May 30, 2019
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