Hello everyone,
Currently, setting tgv=-10 when using a varf sets the line of the matrix (corresponding to the dof involved in the on() boundary condition) to 0, and the right-hand side to \pi_h g with g the function provided in the on() as rhs.
Since this value tgv=-10 is used to cancel the line, I think that the right-hand side should be also set to 0 (for the corresponding dof) instead of \pi_h g, for coherence.
Then the really desired right-hand side can be set separately, by adding another matrix and associated right-hand side, both with tgv=-1.
The same rule should be also applied for tgv=-20, tgv=-30.
At least, for me this modified behaviour would simplify the coding of boundary conditions when the system involves several matrices that have to be added.