I have a 3x3 domain. I want the center of the left face to have a fixed
value boundary condition, and the remainder to have a fixed flux condition.


In fipy 1.2.1, I could just say bcs = FixedValue(mesh.getFacesLeft()[1],
value=0) and it worked.  More comprehensive implementation of lazy
evaluation to thwarts that approach in the trunk version, and instead I get
the complaint:  AttributeError: 'unOp' object has no attribute 'getMesh',
presumably because the index operator is not resolving?  Of course even if
it did resolve, it doesn't look like that would work anymore since
getFacesLeft returns boolean FaceVariable, instead of a list of faceIDs.

Help!

Best Regards,
Angus Hendrick

Reply via email to