firedrakeproject/firedrake — pull request #172 by kynan (2014-02-17 18:18:39+00:00)
Title: Improve integrity checks when setting boundary conditions

We were previously not checking whether a DirichletBC is applied to a
Function on the same FunctionSpace. Check for that and also make sure
that setting a DirichletBC after construction is properly converted.