Error is not raised if a VertexFunction, instead of FacetFunction is passed to a DirichletBC

Issue #221 resolved
Johan Hake created an issue

A DirichletBC expects a FacetFunction as the domains argument in the constructor. However if a user passes a VertexFunction, to fix dofs at vertices, an error is not raised. Some random dofs are however fixed by the DirchletBC but wrongly as it assumes a FacetFunction.

Comments (5)

  1. Log in to comment