As far as I remember (it was 2 years ago), I relied on the same document and I think that I had the same issue with it.
I have attached a draft of mine that I found were you can have at least another version of the algorithm. Actually this part is based on another thesis.
You can also check...
Hi all,
I need to evaluate the following equation :
\mathbf{n} \cdot [\mathbf{\sigma} + \mathbf{a} \nabla\mathbf{\sigma}]\cdot\mathbf{n}
where \mathbf{n} is the normal vector, \mathbf{a} a vector, and \sigma the stress tensor such that :
\mathbf{\sigma} \cdot \mathbf{n} =...