← Back to team overview

dolfin team mailing list archive

Re: [Question #155482]: defining interior boundary

 

Question #155482 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/155482

B. Emek Abali proposed the following answer:
try to use
near(x[1], 78.0) instead x[1]==78.0

or better

bc_up = compile_subdomains('x[1] == 78.0 && on_boundary')

I don't know if 
def boundary_up(x, on_boundary):
really gets to the coordinates over that definition.

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.