← Back to team overview

dolfin team mailing list archive

Re: Question about DirichletBC and subspaces

 

On 01/10/2011 12:38 PM, Joachim Berdal Haga wrote:
In the following code snipped, the bolded line (bc_p_drained) has no effect. If I change V_p to V.sub(1), it works. The line above it (bc_u_bedrock), on the other hand, works with either V_u or V.sub(0).

Is this a bug, or is only the .sub() notation correct?



The .sub() notation is the only correct one in this case.

--
Marie




References