Dear Eric,
The case “discreteNormal[0] == 2” stands for special cases like with materials like that case is 2D
1 2 2
2 2* 2
2 2 1
Here, the node 2* needs a special treatment. We used the other dimentions of “discreteNormal” to encripted other special cases like that.
Best
Mathias