Hi there,
How to enforce DirichletBC for DG element on imported xml mesh? I imported the mesh as
mesh = Mesh('myMesh.xml')
boundaries = MeshFunction("size_t", mesh, "myMesh_facet_region.xml")
and defined the BC with the pointwise
parameter
DirichletBC(W, myExpression, boundaries, 1, "pointwise")
but it returned an error saying that
*** Error: Unable to computing Dirichlet boundary values, pointwise search.
*** Reason: A SubDomain is required for pointwise search.