dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #22725
Re: [Question #153567]: Warning: Found no facets matching domain for boundary condition
Question #153567 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/153567
Status: Open => Answered
B. Emek Abali proposed the following answer:
instead of
x[0] > (20.0 - DOLFIN_EPS)
try to use
fabs(x[0] - 20.0) < DOLFIN_EPS
or an easier one
right = compile_subdomains('x[0] == 20.0')
...
bc2 = DirichletBC(system.sub(1), zero, right)
--
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.
Follow ups