1. The problem statement, all variables and given/known data How do I set a slope-matching condition in COMSOL? 2. Relevant equations u1x=u2x. 3. The attempt at a solution I have used the Dirichlet BC type. I have multiplied and divided by n, the number of equations, on either side of the boundary.