← Back to team overview

dolfin team mailing list archive

Re: [Question #105900]: [Question #105900]: [Question #105900]: Setting 'pressure' BC in RT/P0 elements for mixed poisson

 

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

    Status: Answered => Open

Chris Richardson is still having a problem:

I still don't really understand why you need the extra qualification in these statements. Surely, the boundary
would be equally well defined without the x[1] clauses. Why do I need to put in the x[1] range so exactly?


   left = x[0] < DOLFIN_EPS and (x[1] > DOLFIN_EPS
                                      and x[1] < 1.0 - DOLFIN_EPS)
        right = abs(x[0] - 1.0) < DOLFIN_EPS and (abs(x[1] - .5) > DOLFIN_EPS
                                                  and x[1] < 2.0 - DOLFIN_EPS)
        return on_boundary and not (left or right)

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



Follow ups

References