constraints.add_line(u_i[i]);
constraints.add_line(v_i[i]);
You can only set a constraint for one of the two. Given the next line, I think
you want to set the constraint for u_i[i], but not v_i[i].
constraints.add_entry(u_i[i],v_i[i],0.5);
constraints.set_inhomogeneity(u_i[i],-0.5);
These two lines then look correct.
Does that make sense?
Best
WB
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.colostate.edu/~bangerth/
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/b608d001-535e-42ab-d2cc-682cedcdcfc7%40colostate.edu.