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.
_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dolfin
More help : https://help.launchpad.net/ListHelp